:- phrase(list(Es), Xs0,Xs). :- phrase(list(Es), Es,Es). < @@ % Es = []. < @@ ! Ausführung dauert zu lang, Antwort unvollständig < Why the loop here? *> Compare this goal to the goal :- phrase(list(Es), Es,Xs), Es = Xs. list([]) --> []. list([E|Es]) --> [E], list(Es). ----- n599 ------------------------Answers first appear like so:
*>
Longer answers
(which are frequently of general interest) make a reference to a newly
created hint.
Add this new goal.