summaryrefslogtreecommitdiff
path: root/libguile/boolean.c
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2012-02-07 19:40:29 -0500
committerMark H Weaver <mhw@netris.org>2012-02-08 16:27:48 -0500
commite7cf0457d7c71acd2c597d1644328960f136e4bc (patch)
tree6dd6ad6f659bc1900189a79e8601c9e231da1479 /libguile/boolean.c
parentb131b233ff9530546ca7afbb4daa682b65015e8b (diff)
downloadguile-e7cf0457d7c71acd2c597d1644328960f136e4bc.tar.gz
Support => within case, and improve error messages for cond and case
* module/ice-9/boot-9.scm (cond, case): Reimplement using syntax-case, with improved error messages and support for '=>' within 'case' as mandated by the R7RS. Add warnings for duplicate case datums and case datums that cannot be meaningfully compared using 'eqv?'. * module/system/base/message.scm (%warning-types): Add 'bad-case-datum' and 'duplicate-case-datum' warning types. * test-suite/tests/syntax.test (cond, case): Update tests to reflect improved error reporting. Add tests for '=>' within 'case'. * test-suite/tests/tree-il.test (partial evaluation): Update tests to reflect changes in how 'case' is expanded. * doc/ref/api-control.texi (Conditionals): Document '=>' within 'case'.
Diffstat (limited to 'libguile/boolean.c')
0 files changed, 0 insertions, 0 deletions