IO Operators
This commit is contained in:
parent
b9f419a59d
commit
82a8fccf87
22 changed files with 450 additions and 199 deletions
|
@ -4,9 +4,4 @@ female(mary).
|
|||
parent(john, jimmy).
|
||||
parent(mary, jimmy).
|
||||
father(X, Y) :- parent(X, Y), male(X).
|
||||
mother(X, Y) :- parent(X, Y), female(X).
|
||||
|
||||
:- write(hello),
|
||||
nl.
|
||||
|
||||
:- write(hello2).
|
||||
mother(X, Y) :- parent(X, Y), female(X).
|
Reference in a new issue