guile-gtk-general
[Top][All Lists]
Advanced

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

Re: Why (read-set! keywords 'prefix)


From: Marius Vollmer
Subject: Re: Why (read-set! keywords 'prefix)
Date: Wed, 29 Oct 2003 12:44:10 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Andreas Rottmann <address@hidden> writes:

> I wonder why you use said syntax; I'd prefer to use the R5RS symbols
> '#:token', also for specifying module options e.g.:
>
> (define-module (foo bar)
>   #:use-module (xy))
> ...
>
> The reason I prefer it this way is (a) according to [0] ':token'
> symbols are nonstandard, and (b) '#:token' symbols are used throughout
> the Guile manual.
>
> Opions?

I like the shorter ':token' syntax a lot and I think it is the natural
way to write keywords.  Common Lisp uses it, too.  The only reason to
use '#:token' in my opinion is that ':token' does not conform to R5RS.

Since ':token' is only available as an option, I see no harm in
providing it.




reply via email to

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