[plt-scheme] cost of closure?

From: Robby Findler (robby at cs.uchicago.edu)
Date: Fri Jun 1 16:14:06 EDT 2007

Where did you get the word "tuple" from? It doesn't seem to be
ML-style tuples (which is where I am used to word from).

Robby

On 6/1/07, YC <yinso.chen at gmail.com> wrote:
> IMO, Tuple is dissimilar from hash in that the fields are both named and
> ordered (like a struct - that's why I call it an anonymous struct), where as
> hashes have no guarantee on the order of the fields...  in a way tuple is
> similar to alist.
>
> CTOR and dtor are needed for properly acquire and release external resources
> - but this might not be the scheme way... I don't know for sure yet.
>
> yinso
>
> On 5/31/07, Carl Eastlund <cce at ccs.neu.edu> wrote:
> > On 6/1/07, YC <yinso.chen at gmail.com> wrote:
> > > Tuples differ from vectors that they are indexed both by name & numbers,
> but
> > > if struct is a named vector, in that sense it won't really be different,
> > > except struct is opaque and hence better for building AST than vector
> IMHO.
> >
> > Ok, you want tuples with labelled fields.  Now they sound more like
> > hash tables on symbols or strings.  Are they anything beyond that?
> >
> > --
> > Carl Eastlund
> >
>
>
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
>


Posted on the users mailing list.