[plt-scheme] define-match-expander broken...

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Fri Mar 14 12:57:37 EDT 2008

At Fri, 14 Mar 2008 11:35:08 -0400 (EDT), Dimitris Vyzovitis wrote:
> when using with expression match form:
> Welcome to MzScheme v3.99.0.18 [3m], Copyright (c) 2004-2008 PLT Scheme
> Inc.
> > (require scheme/match)
> > (define-match-expander foobar (lambda () #f) (lambda () #f))
> reference to undefined identifier: no-old-match-form
> 
> Which is interesting, given that no-old-match-form does exist in
> scheme/match.ss. [using mzlib/plt-match directly works of course]
> svn updated late last night.

But it's at the wrong phase. The `define-syntax' should have been
`define-for-syntax' --- now fixed in SVN.

Matthew



Posted on the users mailing list.