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.
Loading
Please register or sign in to comment