[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

*To*: address@hidden*Subject*: Re: Vectors as functions*From*: Michael Vanier <address@hidden>*Date*: Fri, 15 Aug 2003 09:58:12 -0700*Cc*: address@hidden*In-reply-to*: <y9lfzk2lwm7.fsf@informatik.uni-tuebingen.de> (message fromMichael Sperber on Fri, 15 Aug 2003 18:21:52 +0200)*References*: <20030814170153.80D4B6BEDE@laime.cs.uchicago.edu><AA236D25-CEA2-11D7-B 291-0003938EB888@web.de><16188.3934.267729.188080@cs.brown.edu><32783.141.154.13.159.1060907724.squirrel@stuff.hrnoc.net><200308150336.h7F3aErQ208596@pimout5-ext.prodigy.net><200308150440.h7F4eEW32071@orchestra.cs.caltech.edu> <y9lfzk2lwm7.fsf@informatik.uni-tuebingen.de>*Sender*: address@hidden

So why not have first-class names? I'm thinking of situations where you might have a list of symbols representing names (or first-class names) and you might want to set their values to a given value, like mapping set! over the list of names. Not having names as first-class entities makes that unduly hard. Mike > From: Michael Sperber <sperber@informatik.uni-tuebingen.de> > Date: Fri, 15 Aug 2003 18:21:52 +0200 > > >>>>> "Michael" == Michael Vanier <mvanier@cs.caltech.edu> writes: > > Michael> [Aside: I still don't understand why scheme has set! as a primitive > Michael> special form instead of as a function whose first argument is a symbol. > Michael> Ideally you'd have both, of course, but the latter seems more primitive > Michael> to me. IIRC the very first version of scheme had "set" as a function.] > > I guess the explanation for Lisp hackers would be: in Scheme, symbols > aren't names. > > -- > Cheers =8-} Mike > Friede, Völkerverständigung und überhaupt blabla >

**Follow-Ups**:**Re: Vectors as functions***From:*Michael Sperber <sperber@informatik.uni-tuebingen.de>

**Re: Vectors as functions***From:*Bruce Lewis <brlewis@alum.mit.edu>

**References**:**Re:***From:*Robby Findler <robby@cs.uchicago.edu>

**Vectors as functions***From:*Shriram Krishnamurthi <sk@cs.brown.edu>

**Re: Vectors as functions***From:*mike@newhall.net

**Re: Vectors as functions***From:*Robby Findler <robby@cs.uchicago.edu>

**Re: Vectors as functions***From:*Michael Vanier <mvanier@cs.caltech.edu>

**Re: Vectors as functions***From:*Michael Sperber <sperber@informatik.uni-tuebingen.de>

- Prev by Date:
**Re: Vectors as functions** - Next by Date:
**Re: Vectors as functions** - Previous by thread:
**Re: Vectors as functions** - Next by thread:
**Re: Vectors as functions** - Index(es):