[plt-scheme] How do I convert (values ...) to something I can do something with?

From: Noel Welsh (noelwelsh at gmail.com)
Date: Wed Mar 10 07:09:34 EST 2010

On Wed, Mar 10, 2010 at 5:27 AM, Jay McCarthy <jay.mccarthy at gmail.com> wrote:
> I try to never overload lists or pairs and instead always make
> structs. I try to limit myself to structs that "make sense" in the
> wild as opposed to ones that will only be produced/consumed by a
> single function; I find that in those cases I really want multiple
> values.
>
> However, multiple values have a problem that when you get more than a
> few it is complicated to remember which is which because all you have
> is positions. At least with function calls you can have keyword args.
> In those cases, I let myself use a struct, but I feel bad about it.
>
> My two gil,

I add 2p to this advice.

N.


Posted on the users mailing list.