> 
> I added a cut to avoid the solution with trailing glue.
> join([X], _, [X]) :- !.

I am confused at the cut.. I have not yet experienced trailing glue, that was 
the point of the second rule!?



_______________________________________________
Users-prolog mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/users-prolog

Reply via email to