diff options
author | Andy Wingo <wingo@pobox.com> | 2013-10-26 13:10:43 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2013-10-26 13:10:43 +0200 |
commit | 27ecfd3649dc6fbc5f512d3e95a8b8ac2139e2b9 (patch) | |
tree | 6b1e8d894f2b656842912e15bf614ba3ab525a1f /libguile/procprop.c | |
parent | cfc28c808e44582e9751b54713c58fd91ab53f16 (diff) | |
download | guile-27ecfd3649dc6fbc5f512d3e95a8b8ac2139e2b9.tar.gz |
Evaluator sets same procedure properties as compiler
* libguile/memoize.c (MAKMEMO_LAMBDA, memoize): Instead of passing the
docstring in the memoized lambda, pass the meta as-is. That way we
get all procedure properties, including "name".
* module/ice-9/eval.scm (primitive-eval): Set procedure properties when
making lambdas. Don't set the name when defining toplevel variables
-- before we did so only if the procedure didn't have a name
property, but I would like to avoid calls to procedure-property in
eval, because getting the name for an RTL function requires loading up
other modules.
Diffstat (limited to 'libguile/procprop.c')
0 files changed, 0 insertions, 0 deletions