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

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

This page is part of the web mail archives of SRFI 25 from before July 7th, 2015. The new archives for SRFI 25 contain all messages, not just those from before July 7th, 2015.

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.