* srfi-14 with -r7rs flag
@ 2014-12-28 22:30 Seth Alves
2014-12-28 22:32 ` Seth Alves
0 siblings, 1 reply; 3+ messages in thread
From: Seth Alves @ 2014-12-28 22:30 UTC (permalink / raw)
To: kawa
[-- Attachment #1: Type: text/plain, Size: 513 bytes --]
If kawa is started with the -r7rs flag, srfi-14's standard character
sets aren't available. They seem okay without the -r7rs flag.
-seth
$ ./kawa-r7rs-srfi-14.scm
./kawa-r7rs-srfi-14.scm:8:1: warning - no declaration seen for
char-set:digit
./kawa-r7rs-srfi-14.scm:8:1: unbound location: char-set:digit
at gnu.mapping.SharedLocation.get(SharedLocation.java:22)
at gnu.mapping.DynamicLocation.get(DynamicLocation.java:28)
at kawa$Mnr7rs$Mnsrfi$Mn14.run(kawa-r7rs-srfi-14.scm:8)
...
[-- Attachment #2: kawa-r7rs-srfi-14.scm --]
[-- Type: text/x-scheme, Size: 128 bytes --]
#! /bin/sh
#| -*- scheme -*-
exec /usr/local/bin/kawa -r7rs $0 "$@"
|#
(import (scheme base)
(srfi 14))
char-set:digit
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: srfi-14 with -r7rs flag
2014-12-28 22:30 srfi-14 with -r7rs flag Seth Alves
@ 2014-12-28 22:32 ` Seth Alves
2014-12-28 22:42 ` Per Bothner
0 siblings, 1 reply; 3+ messages in thread
From: Seth Alves @ 2014-12-28 22:32 UTC (permalink / raw)
To: kawa
Weird... do both -r7rs and --r7rs work?
-seth
On 12/28/2014 02:30 PM, Seth Alves wrote:
> If kawa is started with the -r7rs flag, srfi-14's standard character
> sets aren't available. They seem okay without the -r7rs flag.
>
> -seth
>
> $ ./kawa-r7rs-srfi-14.scm
> ./kawa-r7rs-srfi-14.scm:8:1: warning - no declaration seen for
> char-set:digit
> ./kawa-r7rs-srfi-14.scm:8:1: unbound location: char-set:digit
> at gnu.mapping.SharedLocation.get(SharedLocation.java:22)
> at gnu.mapping.DynamicLocation.get(DynamicLocation.java:28)
> at kawa$Mnr7rs$Mnsrfi$Mn14.run(kawa-r7rs-srfi-14.scm:8)
> ...
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: srfi-14 with -r7rs flag
2014-12-28 22:32 ` Seth Alves
@ 2014-12-28 22:42 ` Per Bothner
0 siblings, 0 replies; 3+ messages in thread
From: Per Bothner @ 2014-12-28 22:42 UTC (permalink / raw)
To: kawa
On 12/28/2014 02:32 PM, Seth Alves wrote:
> Weird... do both -r7rs and --r7rs work?
Yes, it appears -OPTION is the same as --OPTION.
I had forgotten that.
I'm not sure if it's a feature or a bug :-)
I document and recommend the --OPTION forms.
--
--Per Bothner
per@bothner.com http://per.bothner.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-12-28 22:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-28 22:30 srfi-14 with -r7rs flag Seth Alves
2014-12-28 22:32 ` Seth Alves
2014-12-28 22:42 ` Per Bothner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).