[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can array-ref return (values ...) ?

Brad Lucier writes:

> Yes, it returns the contents of a single element, but what are the
> contents of a single element?  (I find it interesting that you used
> the word "contents" rather than "content".  Either would be correct,
> of course.)  Can it be (values a b)?  If not, why not?  And if not,
> perhaps it should be documented to be not possible.

I see. It is unambiguously a single value on the grounds that I am
following the language of R5RS, and there a single location can only
ever contain a single value.