Re: Rethinking sample unpack behavior Amirouche Boubekki 21 Nov 2020 13:07 UTC
Le sam. 21 nov. 2020 à 13:51, Vasilij Schneidermann <email@example.com> 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
> 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.