Re: srfi-1 take and drop seriously broken

2016-11-21 Thread Panicz Maciej Godek
2016-11-21 8:34 GMT+01:00 Jan Synáček : > > Ok. Apart from the fact that it's written in srfi, I wonder what the > reasoning for such behavior is. I mean, what makes the "i" bigger than > the length of the list so illegal that you have to bail out? When is > such behavior

Re: srfi-1 take and drop seriously broken

2016-11-20 Thread Jan Synáček
On Sun, Nov 20, 2016 at 7:31 PM, wrote: > > Panicz Maciej Godek wrote: >> 2016-11-20 11:42 GMT+01:00 Jan Synáček : >> >> > >> > >> Please, tell me that this is just a mistake... This can't be true. I >> > >> still can't

Re: srfi-1 take and drop seriously broken

2016-11-20 Thread dsmich
Panicz Maciej Godek wrote: > 2016-11-20 11:42 GMT+01:00 Jan Synáček : > > > > > >> Please, tell me that this is just a mistake... This can't be true. I > > >> still can't believe it. This is from 2.0.11. Please, tell me that the > > >>

Re: srfi-1 take and drop seriously broken

2016-11-20 Thread Panicz Maciej Godek
2016-11-20 11:42 GMT+01:00 Jan Synáček : > > >> Please, tell me that this is just a mistake... This can't be true. I > >> still can't believe it. This is from 2.0.11. Please, tell me that the > >> implementation is fixed in 2.2. > >> > >> Yours truly puzzled, > > > > > > I

Re: srfi-1 take and drop seriously broken

2016-11-20 Thread Jan Synáček
On Sat, Nov 19, 2016 at 11:55 PM, Panicz Maciej Godek wrote: > > > 2016-11-19 19:34 GMT+01:00 Jan Synáček : >> >> Hi, >> >> scheme@(guile-user)> ,use (srfi srfi-1) >> scheme@(guile-user)> (take (list 1 2 3) 4) >> ERROR: In procedure list-head: >>

Re: srfi-1 take and drop seriously broken

2016-11-20 Thread Jan Synáček
On Sat, Nov 19, 2016 at 10:18 PM, Jan Nieuwenhuizen wrote: > Jan Synáček writes: > >> scheme@(guile-user)> ,use (srfi srfi-1) >> scheme@(guile-user)> (take (list 1 2 3) 4) >> ERROR: In procedure list-head: >> ERROR: In procedure list-head: Wrong type argument in position 1 >>

Re: srfi-1 take and drop seriously broken

2016-11-20 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, Nov 20, 2016 at 05:32:25AM +0200, Eli Zaretskii wrote: > > Date: Sat, 19 Nov 2016 22:52:12 +0100 > > From: > > > > On Sat, Nov 19, 2016 at 10:18:21PM +0100, Jan Nieuwenhuizen wrote: > > > Jan Synáček writes: > > > > > > >

Re: srfi-1 take and drop seriously broken

2016-11-19 Thread Eli Zaretskii
> Date: Sat, 19 Nov 2016 22:52:12 +0100 > From: > > On Sat, Nov 19, 2016 at 10:18:21PM +0100, Jan Nieuwenhuizen wrote: > > Jan Synáček writes: > > > > > scheme@(guile-user)> ,use (srfi srfi-1) > > > scheme@(guile-user)> (take (list 1 2 3) 4) > > > ERROR: In procedure

Re: srfi-1 take and drop seriously broken

2016-11-19 Thread Panicz Maciej Godek
2016-11-19 19:34 GMT+01:00 Jan Synáček : > Hi, > > scheme@(guile-user)> ,use (srfi srfi-1) > scheme@(guile-user)> (take (list 1 2 3) 4) > ERROR: In procedure list-head: > ERROR: In procedure list-head: Wrong type argument in position 1 > (expecting pair): () > >

Re: srfi-1 take and drop seriously broken

2016-11-19 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, Nov 19, 2016 at 10:18:21PM +0100, Jan Nieuwenhuizen wrote: > Jan Synáček writes: > > > scheme@(guile-user)> ,use (srfi srfi-1) > > scheme@(guile-user)> (take (list 1 2 3) 4) > > ERROR: In procedure list-head: > > ERROR: In procedure

Re: srfi-1 take and drop seriously broken

2016-11-19 Thread Jan Nieuwenhuizen
Jan Synáček writes: > scheme@(guile-user)> ,use (srfi srfi-1) > scheme@(guile-user)> (take (list 1 2 3) 4) > ERROR: In procedure list-head: > ERROR: In procedure list-head: Wrong type argument in position 1 > (expecting pair): () That's expected. > scheme@(guile-user) [1]> (drop (list 1 2 3) 4)

srfi-1 take and drop seriously broken

2016-11-19 Thread Jan Synáček
Hi, scheme@(guile-user)> ,use (srfi srfi-1) scheme@(guile-user)> (take (list 1 2 3) 4) ERROR: In procedure list-head: ERROR: In procedure list-head: Wrong type argument in position 1 (expecting pair): () scheme@(guile-user) [1]> (drop (list 1 2 3) 4) ERROR: In procedure list-tail: ERROR: In