lispdoc - results for nth-value |
(nth-value n form) | Function: Evaluate FORM and return the Nth value (zero based). This involves no consing when N is a trivial constant integer.
|
Example:(defun ajax-function-name (fn) (or (sb-kernel:%fun-name fn) (string (nth-value 2 (function-lambda-expression fn))))) | Mentioned in: CLtL2 - 7.10.1. Constructs for Handling Multiple Values HyperSpec - Macro NTH-VALUE |
(alexandria.0.dev:nth-value-or nth-value &body forms) | Function: Evaluates FORM arguments one at a time, until the NTH-VALUE returned by one of the forms is true. It then returns all the values returned by evaluating that form. If none of the forms return a true nth value, this form returns NIL.
|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| By Bill Moorier |