Re: why does this not work
Roelof Wobben <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <[email protected]> |
> Date: Wed, 26 Mar 2014 12:38:24 +0100 > From: [email protected] > To: [email protected] > Subject: Re: [SWIPL] why does this not work > > I think the error is here: > > On 25-03-14 16:18, Roelof Wobben wrote: > > display_the_siblings([H|T]) :- > > XYs0=[H,T], > > It looks like you assume [H|T] and [H,T] are the same thing. They're not. I use H and T as Head and Tail from a list. So maybe I have wrongly assumed that there are the same thing. Roelof -------------- next part -------------- HTML attachment scrubbed and removed