This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: interface reductions
- To: Dirk Herrmann <dirk at ida dot ing dot tu-bs dot de>
- Subject: Re: interface reductions
- From: Mikael Djurfeldt <mdj at mdj dot nada dot kth dot se>
- Date: 24 May 2000 17:36:41 +0200
- Cc: Guile Mailing List <guile at sourceware dot cygnus dot com>, djurfeldt at nada dot kth dot se
- Cc: djurfeldt at nada dot kth dot se
- References: <Pine.LNX.4.21.0005241722020.2822-100000@marvin.ida.ing.tu-bs.de>
Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:
> guile> (define a 'a)
> guile> a
> a
Here you set up a special case where a evaluates to itself, but note
that this requires you to create a binding for a.
With a keyword you can do
guile> #:a
#:a
> guile> b
> #:b
> guile> (b)
> --> error
While a keyword is self-evaluating, it is not applicable.