Skip to content
Snippets Groups Projects
Commit 6010bde3 authored by Liam Healy's avatar Liam Healy
Browse files

Introduce values-unless-singleton for return values in defmfun expansion

New function values-unless-singleton will wrap the forms in 'values if
there are more than one, otherwise it just returns the form.  This is
used in the return value(s) in the defmfun expansion (by way of
body-expand) so that if the returned form returns multiple values,
they all come back from the defmfunned function (note that (values
(values ...)) removes only returns the first value.
parent 75ca6f4e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment