remove equality to make the program easier to read
(in consultation with Jay)
This commit is contained in:
parent
eb2db158a8
commit
6f7a633f8b
|
@ -251,7 +251,7 @@
|
|||
@code{#lang datalog
|
||||
ancestor(A, B) :- parent(A, B).
|
||||
ancestor(A, B) :-
|
||||
parent(A, C), D = C, ancestor(D, B).
|
||||
parent(A, C), ancestor(C, B).
|
||||
parent(john, douglas).
|
||||
parent(bob, john).
|
||||
ancestor(A, B)?}
|
||||
|
|
Loading…
Reference in New Issue
Block a user