users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Impressed but confused, gluing a list together...


From: Sean Charles
Subject: Re: Impressed but confused, gluing a list together...
Date: Tue, 1 Oct 2013 22:50:16 +0100

> 
> 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!?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]