It looks to me like match doesn't work nicely with #:super structs.  For 
instance, this program:

#lang racket

(struct a (f1 f2))
(struct b (f3) #:super struct:a)

(match 'whocares
  [(struct b (f1 f2 f3)) 13])


signals the error:

match: wrong number for fields for structure b: expected 1 but got 3 in: (f1 f2 
f3)


It's easy to work around this, but it would be nice if it worked.  Am I missing 
something obvious?

John 


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to