diff options
author | Andy Wingo <wingo@pobox.com> | 2010-05-16 12:21:27 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2010-05-16 12:24:08 +0200 |
commit | 311fbeb7c3d13e863936eb9cdfbc5e6278e832e3 (patch) | |
tree | f33b2eb238a3604150fa8576ad862ae437e25361 /libguile/memoize.h | |
parent | 12922f0dd1e327e6f0c5693619e1e6d600e6a866 (diff) | |
download | guile-311fbeb7c3d13e863936eb9cdfbc5e6278e832e3.tar.gz |
scm_memoize_lambda update
* libguile/memoize.h:
* libguile/memoize.c (scm_memoize_lambda): Update to memoize
"full-arity" lambdas.
Diffstat (limited to 'libguile/memoize.h')
-rw-r--r-- | libguile/memoize.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libguile/memoize.h b/libguile/memoize.h index c04031e22..a3c8b2bc9 100644 --- a/libguile/memoize.h +++ b/libguile/memoize.h @@ -109,7 +109,8 @@ SCM_INTERNAL SCM scm_memoizer (SCM obj); SCM_INTERNAL SCM scm_memoize_begin (SCM exps); SCM_INTERNAL SCM scm_memoize_if (SCM test, SCM then, SCM else_); -SCM_INTERNAL SCM scm_memoize_lambda (SCM nreq, SCM rest, SCM body); +SCM_INTERNAL SCM scm_memoize_lambda (SCM body, SCM nreq, SCM rest, SCM nopt, + SCM kw, SCM inits, SCM alt); SCM_INTERNAL SCM scm_memoize_let (SCM inits, SCM body); SCM_INTERNAL SCM scm_memoize_quote (SCM exp); SCM_INTERNAL SCM scm_memoize_define (SCM var, SCM val); |