Rethinking sample unpack behavior Vasilij Schneidermann (20 Nov 2020 12:11 UTC)
Re: Rethinking sample unpack behavior Amirouche Boubekki (20 Nov 2020 16:19 UTC)
Re: Rethinking sample unpack behavior Vasilij Schneidermann (20 Nov 2020 16:42 UTC)
Re: Rethinking sample unpack behavior Amirouche Boubekki (20 Nov 2020 17:44 UTC)
Re: Rethinking sample unpack behavior Vasilij Schneidermann (21 Nov 2020 12:51 UTC)
Re: Rethinking sample unpack behavior Amirouche Boubekki (21 Nov 2020 13:07 UTC)

Re: Rethinking sample unpack behavior Amirouche Boubekki 21 Nov 2020 13:07 UTC

Le sam. 21 nov. 2020 à 13:51, Vasilij Schneidermann <xxxxxx@vasilij.de> a écrit :
>
> > Yes lists are more prevalent in Scheme code. But vectors allow us to
> > reference an item that is beyond car and cadr. Also, how would you
> > represent vectors and pairs?
>
> Note that I've specifically said lists (as in, a proper list terminated
> with the empty list, allowing it to be traversed fully using for-each
> and alike), not pairs. Handling constructs such as alists is out of
> scope.
>
> I've thought about supporting vectors using a similar construction to
> the nested code, but given how little they are used it doesn't seem
> worth the effort to prove that construction to be correct.

Ok!