chicken-users
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
[Chicken-users] newbie question - nth-value ?
From
:
Joe Python
Subject
:
[Chicken-users] newbie question - nth-value ?
Date
:
Fri, 15 Oct 2010 21:51:48 -0400
When I try to call the builtin 'nth-value' , I was expecting a number, instead I am getting a error.
<snip>
#;1> (nth-value 2 '(2 3 4 5))
Error: (list-tail) out of range
((2 3 4 5))
</snip>
The documentation says ;
[syntax]
(nth-value N EXP)
Returns the
N
th value (counting from zero) of the values returned by _expression_
EXP
.
Did I interpret it wrong?
- Joe
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
[Chicken-users] newbie question - nth-value ?
,
Joe Python
<=
Re: [Chicken-users] newbie question - nth-value ?
,
Alonso Andres
,
2010/10/15
Prev by Date:
Re: [Chicken-users] Another DVCS to look at: fossil
Next by Date:
Re: [Chicken-users] newbie question - nth-value ?
Previous by thread:
[Chicken-users] Another DVCS to look at: fossil
Next by thread:
Re: [Chicken-users] newbie question - nth-value ?
Index(es):
Date
Thread