[plt-scheme] still stuck with typed scheme problem: "Expected Attribute, but got Attribute"

From: keydana at gmx.de (keydana at gmx.de)
Date: Thu Apr 29 15:45:39 EDT 2010

Hi Sam,

> If your type is defined using `define-struct:', you can use `match'
> with it as well.

That's nice, thanks for the information! 

>> 2) type variants defined with Dave's define-datatype using (match x ((struct
>> y (z)) ...
> I think `define-datatype' defines predicates (such as `y?') as well.

No, or at least it doesn't work for me (perhaps if Dave reads that, he can correct me :-) )


Posted on the users mailing list.