[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
srfi-1 take and drop seriously broken
From: |
Jan Synáček |
Subject: |
srfi-1 take and drop seriously broken |
Date: |
Sat, 19 Nov 2016 19:34:04 +0100 |
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 procedure list-tail: Wrong type argument in position 1
(expecting pair): ()
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,
--
Jan Synáček