1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-03 13:20:26 +02:00

News for (ice-9 match).

This commit is contained in:
Keisuke Nishida 2001-02-25 18:24:41 +00:00
parent c8762438f5
commit e5005373cf

14
NEWS
View file

@ -95,6 +95,20 @@ future.
Alternatively, if guile-scsh is installed, the (scsh rdelim) module
can be used for similar functionality.
** New module (ice-9 match)
This module includes Andrew K. Wright's pattern matcher:
(use-modules (ice-9 match))
(match '(+ 1 2)
(('+ x) x)
(('+ x y) `(add ,x ,y))
(('- x y) `(sub ,x ,y))) => (add 1 2)
See ice-9/match.scm for brief description or
http://www.star-lab.com/wright/code.html for complete documentation.
* Changes to the stand-alone interpreter
** It's now possible to create modules with controlled environments