Added datalog test case, it does not work yet and needs #:separator and other options to be implemented first.
This commit is contained in:
parent
8c638c2537
commit
95ac55f300
10
test/todo-datalog.rkt.fail
Normal file
10
test/todo-datalog.rkt.fail
Normal file
|
@ -0,0 +1,10 @@
|
|||
#lang repltest datalog
|
||||
parent(amy, anabella).
|
||||
parent(john, anabella).
|
||||
parent(anabella, jack).
|
||||
parent(jack, ted).
|
||||
|
||||
grandparent(X, Z) :- parent(X, Y), parent(Y, Z).
|
||||
|
||||
> grandparent(X, ted)?
|
||||
grandparent(anabella, ted).
|
Loading…
Reference in New Issue
Block a user