This is an interpreter for a dialect of the programming language λ-Prolog.
\ x -> x
or f x y
.all
and
the infix operator ==>
.% x -> f x
instead of all (\ x -> f x)
.add_rule
to add a rule.more.
to see if there are more solutions
to the query you entered.Copy the example queries into the input field one by one.
add_rule (%xs-> append nil xs xs).
add_rule (%x xs ys zs->append xs ys zs==>append (cons x xs) ys (cons x zs)).
append Xs Ys (cons 0 (cons 1 nil)).