[plt-scheme] keywords (a backward-incompatible change)
At Sat, 01 Oct 2005 14:30:38 -0400, Dave Herman wrote:
>
> I just thought of one small point worth considering in the
> suffix-vs-prefix decision. With suffix-keywords, what would happen to
> the common pattern of writing
>
> (require (prefix foo: "foo.ss"))
Yes, the module system would have to check for this and convert the
keyword, but at least it wouldn't affect any user code (Common-Scheme
makes this check on prefix-imported modules).
Prefix vs. Suffix is of course a trade-off as to where your problems
occur, but colon-prefixes seem to be traditionally used for a wider
variety of purposes not related to keywords. Another example is Olin
Shiver's :optional syntax used in many SRFI's.
--
Alex