September Morn Update
This commit is contained in:
parent
4e2d22a71d
commit
aac6731f2c
6856 changed files with 141342 additions and 21127 deletions
7
Task/Inverted-syntax/Prolog/inverted-syntax.pro
Normal file
7
Task/Inverted-syntax/Prolog/inverted-syntax.pro
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
% Dracula is a vampire.
|
||||
% Also, you become a vampire if someone who is a vampire bites you.
|
||||
vampire(dracula).
|
||||
vampire(You) :- bites(Someone, You), vampire(Someone).
|
||||
|
||||
% Oh no! Dracula just bit Bob...
|
||||
bites(dracula, bob).
|
||||
Loading…
Add table
Add a link
Reference in a new issue