|
Subject: Re: scheme/dsssl question From: Henry Thompson <ht@xxxxxxxxxxxxxxx> Date: 02 Jan 1998 12:10:48 +0000 |
[Chris tries again to get strings/symbols evaluated]
> (define (bar thunk)
> (if (string? thunk)
> ((string->symbol thunk))
> (thunk)))
Nope, same problem as before with the first clause -- string->symbol
will return a symbol, but what lexical environment should THAT symbol
be evaluated in?
If it's really strings/symbols -> values that you want, Dave's
solution using a-lists is the only portable way.
ht
--
Henry S. Thompson, Human Communication Research Centre, University of Edinburgh
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht@xxxxxxxxxxxxxxx
URL: http://www.cogsci.ed.ac.uk/~ht/
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Thread | Re: Howto change appearance with mo, Sebastian Rahtz | |
| Date | Re: Howto change appearance with mo, Sebastian Rahtz | |
| Month |