[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!?
- Impressed but confused, gluing a list together..., emacstheviking, 2013/10/01
- Re: Impressed but confused, gluing a list together..., emacstheviking, 2013/10/01
- Re: Impressed but confused, gluing a list together..., Michał Bieliński, 2013/10/01
- Re: Impressed but confused, gluing a list together..., Sean Charles, 2013/10/01
- Re: Impressed but confused, gluing a list together...,
Sean Charles <=
- Re: Impressed but confused, gluing a list together..., Michał Bieliński, 2013/10/01
- Re: Impressed but confused, gluing a list together..., Sean Charles, 2013/10/01
- Re: Impressed but confused, gluing a list together..., Sean Charles, 2013/10/01
- Re: Impressed but confused, gluing a list together..., Michał Bieliński, 2013/10/01
- Re: Impressed but confused, gluing a list together..., Sean Charles, 2013/10/01