chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] bug in default `match'


From: Alex Shinn
Subject: [Chicken-users] bug in default `match'
Date: Sun, 10 Aug 2008 00:44:58 +0900
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (darwin)

The following bit me today:

------------
$ csi
...
#;1> (match '(a . b) ((x) 1) ((x ...) 2) (x 3))
2
------------

This is wrong because '(a . b) is an improper list and
shouldn't match (x ...).

The solution of course is to just (use matchable).

-- 
Alex




reply via email to

[Prev in Thread] Current Thread [Next in Thread]