guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Keyword syntax


From: Marius Vollmer
Subject: Re: Keyword syntax
Date: 10 Sep 2000 22:10:26 +0200
User-agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7

Frederic Brunel <address@hidden> 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).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]