Update (ice-9 match) from Chibi-Scheme.
authorLudovic Courtès <ludo@gnu.org>
Sat, 3 Sep 2011 19:39:51 +0000 (21:39 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 3 Sep 2011 20:18:02 +0000 (22:18 +0200)
commit5fcb7b3cc58464b8895b09d0927e9364c079fe41
tree7279a8c3cb0cea7e24c75d277d91408b1f3f1353
parentd9241a37e8184ac18e5836ff739212139aca91e3
Update (ice-9 match) from Chibi-Scheme.

* module/ice-9/match.scm (slot-ref, slot-set!, is-a?): New macros.

* module/ice-9/match.upstream.scm: Update from Chibi-Scheme.

* test-suite/Makefile.am (SCM_TESTS): Add `tests/match.test.upstream'.

* test-suite/tests/match.test (rtd-2-slots, rtd-3-slots): New record
  types.
  ("matches")["records"]: New test prefix.
  ("doesn't match")["records"]: New test prefix.
  Include `match.test.upstream'.

* test-suite/vm/t-match.scm (matches?): Fix `$' example.
module/ice-9/match.scm
module/ice-9/match.upstream.scm
test-suite/Makefile.am
test-suite/tests/match.test
test-suite/tests/match.test.upstream [new file with mode: 0644]
test-suite/vm/t-match.scm