This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: colons in identifiers exported by r7rs libraries
- From: Per Bothner <per at bothner dot com>
- To: kawa at sourceware dot org
- Date: Mon, 24 Nov 2014 13:00:15 -0800
- Subject: Re: colons in identifiers exported by r7rs libraries
- Authentication-results: sourceware.org; auth=none
- References: <54733E87 dot 9020205 at hungry dot com>
On 11/24/2014 06:19 AM, Seth Alves wrote:
Kawa generally seems to tolerate colons in identifier names, but I'm getting some strange errors when those identifiers are exported from r7rs libraries.
Please try again.
There were 3 problems:
- The export syntax didn't have its name set - hence the 'null'.
That was a simple cut-and-paste error.
- The export syntax didn't handle compound names (with colons).
The fix was to call the namespaceResolve method.
- Finally, namespaceResolve didn't work if quasiquote is not in
scope, which it isn't by default in a define-library.
--
--Per Bothner
per@bothner.com http://per.bothner.com/