[plt-scheme] match and xml structures

From: David Van Horn (dvanhorn at cs.uvm.edu)
Date: Sun Jul 13 12:19:58 EDT 2003

There seems to be a bug with match and xml structures (these same errors occur
with html structs).

> mzscheme -l match.ss -L xml.ss xml
Welcome to MzScheme version 204.8, Copyright (c) 1995-2003 PLT
> (match (make-comment "test")
    (($ comment text) text)
    (_ #f))
STDIN::34: match: not enough fields for structure in pattern in: (struct
comment (text))
> (procedure-arity make-comment)

This is with the latest CVS sources.


Posted on the users mailing list.