1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-28 16:00:22 +02:00
guile/module/system
Mark H Weaver e7cf0457d7 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'.
2012-02-08 16:27:48 -05:00
..
base Support => within case, and improve error messages for cond and case 2012-02-08 16:27:48 -05:00
repl Update user-visible copyright dates in manual and REPL to 2012 2012-01-30 00:33:31 -05:00
vm more define-syntax-rule usage 2011-09-02 11:36:14 +02:00
foreign.scm add pointer->scm, scm->pointer 2011-03-17 10:39:02 +01:00
xref.scm system xref maintains source mapping for nested procedures too 2010-09-24 13:24:48 +02:00