<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks! That still doesn't work for color:<div><br></div><div> match: color does not refer to a structure definition</div><div><br></div><div>although it does work with my own custom color struct:</div><div><br></div><div><div><font class="Apple-style-span" face="'Courier New'">(define-struct clr (r g b))</font></div><div><font class="Apple-style-span" face="'Courier New'">(match (make-clr 1 2 3)</font></div><div><font class="Apple-style-span" face="'Courier New'"> [(struct clr (r g b)) (* r g b)])</font></div><div><br></div><div> - Adam</div><div><br></div><div><div>On Oct 31, 2011, at 9:26 PM, Jay McCarthy wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>One of the branches of the pattern language is<br><br>|<span class="Apple-tab-span" style="white-space:pre">        </span> <span class="Apple-tab-span" style="white-space:pre">        </span>(struct id (pattern ...))<br><br>Your pattern should be<br><br>(struct color (r g b))<br></div></blockquote></div><br></div></body></html>