[plt-scheme] The role of proper and improper lists?

From: Noel Welsh (noelwelsh at gmail.com)
Date: Fri Jan 25 14:18:40 EST 2008

On Jan 25, 2008 6:34 PM, Bill Wood <william.wood3 at comcast.net> wrote:
> I rather like having a tuple type (fixed-length heterogeneous sequence
> ala SML or Python) distinct from proper lists.  When programming in lisp
> or Scheme I sometimes use improper lists for tuples -- the difference in
> structure acts as a reminder that the type is conceptually different.

I tend to use vectors in this case.  Now pattern-matching is more
easily available (it's in 3.99's scheme language) vectors are less
onerous to use.


Posted on the users mailing list.