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) > ERROR: In procedure list-tail: > ERROR: In procedure list-tail: Wrong type argument in position 1 > (expecting pair): () That too. > Please, tell me that this is just a mistake... It's 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. You'd have to give me more clues about what it is that puzzles you and why. > Yours truly puzzled, Do you possibbly mean something like --8<---------------cut here---------------start------------->8--- scheme@(guile-user)> (use-modules (srfi srfi-1)) scheme@(guile-user)> (take '(list 1 2 3) 4) $1 = (list 1 2 3) scheme@(guile-user)> (drop '(list 1 2 3) 4) $2 = () --8<---------------cut here---------------end--------------->8--- Greetings, Jan -- Jan Nieuwenhuizen <jann...@gnu.org> | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.nl