This is the mail archive of the guile@sources.redhat.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: Keyword syntax


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

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