Subject: Re: set! From: Frank Wegmann <wegmann@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 5 Jan 1999 13:44:13 +0100 |
> I'm looking for a way to *change* the value of a variable. Some years ago I > learned Scheme based on the book "Structure and interpretation of computer > programs" by Abelson/Sussman/Sussman. The Scheme version described in that > book contains a function called set!. Does the expression language of DSSSL > contain such a feature? > > On page 30 of the DSSSL spec one can read: "The expression language uses only > the functional, side-effect free subset of Scheme. [...]" > > I guess that set! or any equivalent feature was removed because of it's > side-effects. Is that correct? This is correct as far as the standard is concerned. But some features of R4RS are present in the current version of Jade, declared as "Experimental DSSSL extensions". set! is included with some restrictions. You can invoke these extensions by using the jade command line option -2. For further information, see the online documentation jadedoc/dsssl2.htm. Frank -- Frank Wegmann voice: +49 234 700 7677 / +49 234 700 2461 Sprachwiss. Institut fax : +49 234 7094 137 Ruhr-Universitaet Bochum email: wegmann@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, 44780 Bochum wegmann@xxxxxxx (NeXTmail, MIME welcome) Germany WWW : http://www.linguistics.ruhr-uni-bochum.de DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|