This is the mail archive of the
guile@sources.redhat.com
mailing list for the Guile project.
Re: Keyword syntax
- To: Frederic Brunel <brunel at mail dot dotcom dot fr>
- Subject: Re: Keyword syntax
- From: Marius Vollmer <mvo at zagadka dot ping dot de>
- Date: 10 Sep 2000 22:10:26 +0200
- Cc: guile at sources dot redhat dot com
- List-Id: <guile-user.gnu.org>
- References: <m28zt2gv80.fsf@mail.dotcom.fr>
Frederic Brunel <brunel@mail.dotcom.fr> writes:
> I think I'm coming a bit too late to debate on language syntax but
> why keywords must be prefixed by a #?? It's a annoying in comparison
> with the Common Lisp syntax... In class definition its ugly! :-(
You can use
(read-set! keywords 'prefix)
and after that, you can just write `:keyword' instead of `#:keyword'.
The alternate syntax using `#:' is there to be able to write keywords
in otherwise R5RS conformant code (which might use `:' in normal
symbols).
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user