:- 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. :- phrase(list(Es), Es,Xs), Es = Xs. list([]) --> []. list([E|Es]) --> [E], list(Es). --**- 18.Bsp. n599 ------------------------