Hi,<div><br></div><div>is it possible to use patterns like (struct struct-id (pats)) to match structures which are defined with make-struct-type?</div><div><br></div><div>Example:</div><div><br></div><div><div>(define-values (s:tuple make-tuple tuple? tuple-ref tuple-set!)</div>
<div> (make-struct-type 'tuple #f 1 0 #f))</div><div>(match (make-tuple (vector 'a))</div><div> [(struct tuple (a)) a])</div></div><div><br></div><div>gives the error "match: tuple does not refer to a structure definition in: tuple"</div>
<div><br></div><div>Thanks,</div><div>Marco</div><div><br></div>