summaryrefslogtreecommitdiff
path: root/libguile/boolean.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2009-10-26 21:20:23 +0100
committerAndy Wingo <wingo@pobox.com>2009-10-26 21:20:35 +0100
commit24bf130fd15afbc8b3a2ccdc50a027f9b6c9e623 (patch)
treeb8d3d73715fcc7d809caa72c11b60e2b5eda1ba6 /libguile/boolean.c
parentb1f6293e98768f1efedde848520812fc97dea294 (diff)
downloadguile-24bf130fd15afbc8b3a2ccdc50a027f9b6c9e623.tar.gz
implement #:predicate
will be useful for making e.g. typecase-lambda. Tough to tell though. * module/ice-9/psyntax.scm (lambda-formals, lambda*-formals): Parse out a #:predicate, which goes right before the rest args. The vanilla lambda doesn't parse it out of course, but it does return another value. (chi-lambda-case, lambda*, lambda): Expand and pass the predicate on to build-lambda-case. * module/ice-9/psyntax-pp.scm: Regenerate. * module/language/tree-il/compile-glil.scm (flatten): Compile a failing predicate without an else clause into a call to `error'. Also, fix something the compile warnings caught.
Diffstat (limited to 'libguile/boolean.c')
0 files changed, 0 insertions, 0 deletions