This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: null-environment
- From: Per Bothner <per at bothner dot com>
- To: "Dr. M. Luedde" <Mirko dot Luedde at Computer dot Org>
- Cc: kawa at sources dot redhat dot com
- Date: Fri, 17 May 2002 22:58:21 -0700
- Subject: Re: null-environment
- References: <15588.48509.682000.463162@gargle.gargle.HOWL>
Dr. M. Luedde wrote:
> the following behavior doesn't seem R5RS compliant.
>
>>#|kawa:1|# (null-environment 5)
>
> gnu.mapping.WrongArguments: call to 'null-environment' has too many arguments (1; must be 0)
Ooops - you're right. (I'm wondering if perhaps I based the
implementgation of an old draft specification.) I've attached
a patch. Thanks!
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/
Index: misc.scm
===================================================================
RCS file: /cvs/kawa/kawa/kawa/lib/misc.scm,v
retrieving revision 1.19
diff -u -r1.19 misc.scm
--- misc.scm 6 Nov 2001 01:00:23 -0000 1.19
+++ misc.scm 18 May 2002 05:50:29 -0000
@@ -31,7 +31,7 @@
env sym)
#!null)))
-(define (null-environment)
+(define (null-environment #!optional version)
(static-field <kawa.standard.Scheme> 'nullEnvironment))
(define (interaction-environment)