Well I'm following a tutorial of miniKanren
in scheme
using FsLogic
, but I just got stuck in this example
(run 1 (q)
(== '(lambda (x) x) '(lambda (x) x)))
And I'm writing it in f#
like this:
run 1 (fun q ->
(fun x -> x) *=* (fun x -> x)
)
But it fails (doesn't compile) :(
Reading the tests I tried to use project
but it doesn't work either (I'm not really sure what project does yet).....
I'm following this "uncourses" from the minikanren
homepage