Re: Adding to the end of a list
- From: Bill Spight <bspight@xxxxxxxxxxxx>
- Date: Sat, 14 May 2005 16:17:30 GMT
Dear Brian,
Brian Hulley wrote:
>
> Anders Lindén wrote:
> > (Just like you add to a list in the beginning with [A|List]?
>
> No - [A|List] is a new list whose head is A and whose tail is List
> (nothing is added to List)
That depends upon your definition of 'add'. E. g., if you add 1 to 2 you
get 3. However, 2 remains the same, it does not become 3 when you add 1
to it. Similarly, when you add Head to Tail to get [Head | Tail], Tail
remains the same.
Best regards,
Bill
.
- Follow-Ups:
- Re: Adding to the end of a list
- From: Brian Hulley
- Re: Adding to the end of a list
- References:
- Adding to the end of a list
- From: Anders Lindén
- Re: Adding to the end of a list
- From: Brian Hulley
- Adding to the end of a list
- Prev by Date: Re: f(a:-b,c) or f((a:-b),c) - How should compound args be parsed?
- Next by Date: Re: Adding to the end of a list
- Previous by thread: Re: Adding to the end of a list
- Next by thread: Re: Adding to the end of a list
- Index(es):
Relevant Pages
|
|