• Liam Healy's avatar
    Introduce values-unless-singleton for return values in defmfun expansion · 6010bde3
    Liam Healy authored
    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.
body-expand.lisp 7.45 KB