[Lvlug] Re: Lisp (was Re: [Nj-linux-consultants] Musings)

The Artist Formerly Known as Fingolfin fingolfin at thelinuxlink.net
Fri Jun 18 18:59:49 EDT 2004


On Fri, 18 Jun 2004, Ricardo SIGNES wrote:

> * The Artist Formerly Known as Fingolfin <fingolfin at thelinuxlink.net> [2004-06-18T11:12:30]
> > On Wed, 16 Jun 2004, Ricardo SIGNES wrote:
> >
> > > Here's an explanation in a few words that will be more than you need for
> > > ages:
> > >   A typeglob is a container that holds one of every other variable type.
> > >   It's a box with multiple compartments, one of which fits a scalar, one
> > >   an array, one a hash, and so on.  Typeglobs are used by the symbol
> > >   table to associate names with variables.
> >
> > Sort of like a union holding every basic C type??
>
> No.  A union uses the same data to populate every value.  A typeglob has
> distinct values for each type.
>
> If I had to put it in C terms, I'd say it's a struct with one member of
> each type.  But I wouldn't. :)

Wassamatta with C?? I like its clean simplicity.

-- 
"...Jews everywhere were showing signs of disturbance, were gathering
together, and giving evidence of great hostility to the Romans, partly
by secret and partly by overt acts."

  -- Cassius Dio, Roman History 69.12.1-14.3


More information about the Lvlug mailing list