This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: null-environment


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)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]