This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: interface reductions


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]