[plt-scheme] Where can I find documentation or example on pattern-matching with plt-match.ss

From: Anton van Straaten (anton at appsolutions.com)
Date: Thu Dec 8 23:16:37 EST 2005

Andre Mayers wrote:
> For example, the following code works with "match.ss" but not with
> "plt-match.ss"
> 
> (require (lib "plt-match.ss"))
> (define x (list 1 (list 23)))
> (match x [(_ ((set! setit))) (setit 4)])

With plt-match, I think that last line should be something like:

(match x [(list _ (list (set! setit))) (setit 4)])

Anton


Posted on the users mailing list.