[Bese-devel] Re: the limitations of the code within actions

Marco Baringer mb at bese.it
Sat Feb 11 16:59:13 UTC 2006


Matthew Danish wrote:
> On Fri, Feb 03, 2006 at 10:52:40AM +0100, Marco Baringer wrote:
>> Matthew Danish wrote:
>>> Well this is basically what I did, but it did bring up another problem:
>>>
>>> I used MULTIPLE-VALUE-CALL to invoke an outside normal function which
>>> handled the errors and returned values indicating what happened.  What
>>> it returned, however, was not what I expected:
>>>
>>>                 (multiple-value-call
>>> 		      (lambda (cc result msg)
>>>
>>> What I found was that the first value returned was some kind of Arnesi
>>> data structure named CLOSURE, rather than my result.  I inserted the
>>> extra parameter cc into the function and now it works fine, but this
>>> makes me wonder if there is something better I can do here.

this was a bug in the interpreter's handling of multiple-value-call. it
should be fixed now (it passes all the tests i could think of).

-- 
-Marco
Ring the bells that still can ring.
Forget the perfect offering.
There is a crack in everything.
That's how the light gets in.
	-Leonard Cohen




More information about the bese-devel mailing list