Tag: multiple-value-bind

Lisp: Returning Multiple Values From A Function

Written by on January 6, 2016 in LISP, Programming with 0 Comments

One of the interesting features of Lisp is its support for returning multiple values from a function, without bundling the values in a special container. Languages such as Python and Ruby support multi-value return (although there are subtle differences from Lisp). In C++11, we can use std::make_tuple() and std::tie(). To take an example, in Lisp, […]

Continue Reading