diff options
Diffstat (limited to 'example.pl')
-rw-r--r-- | example.pl | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -11,4 +11,9 @@ likes(sam, ice). could_be_friends(Person1, Person2) :- likes(Person1, Thing1), likes(Person2, Thing2), - Thing1 = Thing2.
\ No newline at end of file + Thing1 = Thing2. + +list1(A) :- A = [1,2,3,4]. +list2(A) :- A = [a,b|c]. + +curly(A) :- A = {one,two,three}.
\ No newline at end of file |