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: Mikael Djurfeldt <mdj at mdj dot nada dot kth dot se>
- Date: 10 Sep 2000 22:27:52 +0200
- Cc: guile-user at gnu dot org
- Cc: djurfeldt at nada dot kth dot se
- List-Id: <guile-user.gnu.org>
- References: <m28zt2gv80.fsf@mail.dotcom.fr>
- Reply-To: djurfeldt at nada dot kth dot se
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! :-(
>
> (define-class my-class ()
> (slot1 #:accessor slot1 <-- !!
> ...))
>
Agreed.
You can fix this by setting
(read-set! keywords 'prefix)
However, we've planned to make this setting the default as soon as
we've made it possible to have local read-settings in different files.
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user