This is the mail archive of the guile@cygnus.com mailing list for the Guile project.


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

Re: corrupt environment?



>>>>> "Radey" == Radey Shouman <Radey_Shouman@splashtech.com> writes:

    Radey> I strongly suspect, based on experience with SCM, that
    Radey> Guile does not correctly interpret all internal defines.
    Radey> Here are two that have been incorporated into Jaffer's
    Radey> r4rstest.scm:

      (letrec ((foo (lambda (arg)
		      (or arg (and (procedure? foo)
				   (foo 99)))))) 
	(define bar (foo #f))
	(foo #f))
	==> 99

      (letrec ((foo 77)
	       (bar #f)
	       (retfoo (lambda () foo)))
	(define baz (retfoo))
	(retfoo))
	==> 77

    Radey> Unfortunately, I don't have Guile built here at work, but
    Radey> will check later.

Both Guile 1.2 and a recent (June 11, 1999) CVS version yield #f for
both forms.

HTH,
Roland

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