This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Keyword syntax
- From: Per Bothner <per at bothner dot com>
- To: kawa at sourceware dot org
- Date: Sun, 15 Feb 2015 13:22:43 -0800
- Subject: Re: Keyword syntax
- Authentication-results: sourceware.org; auth=none
- References: <m23866ao7b dot fsf at gmail dot com>
On 02/15/2015 12:56 PM, Helmut Eller wrote:
Keywords can be written as foo: or as #:foo. The former is the
"official" syntax but it is incompatible with R7RS. The latter is not
even documented in the manual.
It's documented in the SVN manual source, in both the Keywords
and Hash-prefixed-form sections.
I'm puzzled why the web-site shows different. Perhaps some problem
updating the web-site. Hm. I'll look into it.
I need to use keywords in r7rs mode for
define-simple-class, so I was wondering if the latter syntax is in
danger of being deprecated?
I intend to keep the #:foo syntax - it's used by both Guile and Racket.
--
--Per Bothner
per@bothner.com http://per.bothner.com/