This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: interface reductions
- To: Michael Livshin <mlivshin at bigfoot dot com>
- Subject: Re: interface reductions
- From: Dirk Herrmann <dirk at ida dot ing dot tu-bs dot de>
- Date: Wed, 24 May 2000 18:13:44 +0200 (MEST)
- cc: Guile Mailing List <guile at sourceware dot cygnus dot com>, djurfeldt at nada dot kth dot se
On 24 May 2000, Michael Livshin wrote:
> > And what does it mean that a keyword is self-evaluating?
>
> guile> #:b
> #:b
> guile> '#:b
> #:b
Aha. So the great thing about keywords is that you spare a "'" for the
cost of "#:" :-) The way they steal one single quote is also strange:
guile> ''#:b
(quote #:b)
Maybe the good thing about keywords is, that you have a type distinct from
the symbol type with its own read syntax and still most of the properties
of symbols. But, up to now I fail to see any additional benefit. In a
similar way you could easily add a 'slot-name' type or an 'option-name'
type and so on, each for some special use.
Nevertheless, thanks for your explanations. At least I got the point with
the self-evaluation :-)
Dirk