lundi 5 janvier 2015

`values` vs `list` for returning multiple values from Lisp form


what's the difference between using (values …) versus (list …) (or literally '(one two three …)) to return multiple values from a lambda (or other implicit progn)? does it create some special glue to multiple-value-bind? superficially, i can't see any difference and am curious whether it's merely a convention for multiple return values.





Aucun commentaire:

Enregistrer un commentaire