From e5005373cfe19fcf29f9a9a488d3457b6c337b0c Mon Sep 17 00:00:00 2001 From: Keisuke Nishida Date: Sun, 25 Feb 2001 18:24:41 +0000 Subject: [PATCH] News for (ice-9 match). --- NEWS | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/NEWS b/NEWS index 9c8f90848..8e87f1ef3 100644 --- a/NEWS +++ b/NEWS @@ -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 -- 2.20.1