Re: Returning records instead of multiple values Artyom Bologov 21 Sep 2026 17:46 UTC

Peter,

> I wasn't thinking of a vector of records, but it makes sense for
> case-lambda, because each case of a case-lambda is really a different
> procedure that is selected from the argument list. However, given that
> an implementation might do things differently here (for example,
> general pattern matching against clauses), it might be better to have
> a record that contains vectors.

Can you please explain the possible design of such a record? I can’t
wrap my head around why a single record will suffice.

Thanks,
--
Artyom Bologov
https://aartaka.me