Thanks Alex, it worked exactly
On Tue, Jul 10, 2018, 00:46 Alexander Burger wrote:
> Hi Bruno,
>
> > there is this rule in prolog:
> > p :- p.
> > That is infinitely recursive. If you query the database for
> > ...
> > How can you write p :- p. in pilog, so t
Hi Bruno,
> there is this rule in prolog:
> p :- p.
> That is infinitely recursive. If you query the database for
> ...
> How can you write p :- p. in pilog, so that it does the infinite loop that
: (be p () (p))
: (? (p))
—Alex
--
UNSUBSCRIBE: mailto:picolisp@software
there is this rule in prolog:
p :- p.
That is infinitely recursive. If you query the database for
?- p.
It gets thrown into an infinite loop.
I've tried to recreate that in pilog, with no success.
: (be p (() p))
How can you write p :- p. in pilog, so that it does the infinite loop that
I expect?