chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Sandbox egg


From: Thomas Chust
Subject: [Chicken-users] Sandbox egg
Date: Fri, 06 Aug 2004 12:55:49 +0200
User-agent: Mozilla Thunderbird 0.5 (X11/20040306)

Hello,

I played around with the sandbox egg yesterday -- it's really cool stuff. But I think I found something that should be changed in the source: The definition of safe-eval reads like this (safe-eval.scm:917): (define (safe-eval exp #!key (environment (current-safe-environment)) fuel allocation-limit)

I would rather suggest this, though:
(define (safe-eval exp #!key (environment (current-safe-environment)) (fuel (current-fuel)) (allocation-limit (current-allocation-limit)))

So the default parameters are actually used, if set!

cu,
Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]