LPN: reorg, split notes from exocortex page.
The exocortex page was getting unwieldy, this makes more sense.
This commit is contained in:
8
lpn/ch03/eating.pl
Normal file
8
lpn/ch03/eating.pl
Normal file
@@ -0,0 +1,8 @@
|
||||
is_digesting(X,Y) :- just_ate(X,Y).
|
||||
is_digesting(X,Y) :-
|
||||
just_ate(X,Z),
|
||||
is_digesting(Z,Y).
|
||||
|
||||
just_ate(mosquito,blood(john)).
|
||||
just_ate(frog,mosquito).
|
||||
just_ate(stork,frog).
|
||||
Reference in New Issue
Block a user