(rontolisp) docs
← Macros

nth-value

(nth-value n values-form)

Returns the n-th (0-based) value of values-form, or nil when there is no such value. n is evaluated before the form. Expands to nth over multiple-value-list, so the producer is recognized like in multiple-value-bind, including a user function whose result is a (values ...) call.