take! 0==1?

2013-07-12 Thread Jan Nieuwenhuizen
Hi, Reading the documentation of take! -- Scheme Procedure: take lst i -- Scheme Procedure: take! lst i Return a list containing the first I elements of LST. `take!' may modify the structure of the argument list LST in order to produce the result. its behaviour s

Re: take! 0==1?

2013-07-12 Thread William ML Leslie
On 12 July 2013 17:14, Jan Nieuwenhuizen wrote: > Hi, > > Reading the documentation of take! > > -- Scheme Procedure: take lst i > -- Scheme Procedure: take! lst i > Return a list containing the first I elements of LST. > > `take!' may modify the structure of the argument l

Re: take! 0==1?

2013-07-12 Thread William ML Leslie
On 12 July 2013 17:14, Jan Nieuwenhuizen wrote: > Hi, > > Reading the documentation of take! > > -- Scheme Procedure: take lst i > -- Scheme Procedure: take! lst i > Return a list containing the first I elements of LST. > > `take!' may modify the structure of the argument l

Resolved: ! often means may, not will [WAS: Re: take! 0==1?]

2013-07-12 Thread Jan Nieuwenhuizen
William ML Leslie writes: > Actually, I should clarify a few things, but this discussion probably > belongs on guile-user. I realise that now, reading below... > Whenever the documentation says 'may', it really means it. You > absolutely cannot rely on the side-effecting behaviour, because an >