As an example trying to port rackets contract you have functions that take a function and return a new function with checks according to a contract added. the functionality is the same but input and output is checked. Now to use this, information about the
keywords are needed in order to do some sanity checks that can be done at construction time. But if we eval a lambda and use that, we saw above that the information is not added. and the nice idea with contracts is broken.
Solution idea:
mod eval.scm and as described in session.scm make sure to add a 'arglist procedure-property to the newly constructed lambda with the appropriate information added.
Regards Stefan
[Prev in Thread]
Current Thread
[Next in Thread]
bug#10922: procedure-argumets does not work with advanced evaled lambdas,
Stefan Israelsson Tampe<=