[racket-dev] struct + match not interacting via a macro

From: Sam Tobin-Hochstadt (samth at ccs.neu.edu)
Date: Sun Oct 9 20:39:23 EDT 2011

On Sun, Oct 9, 2011 at 8:31 PM, Shriram Krishnamurthi <sk at cs.brown.edu> wrote:
> What exactly does the struct form of match (in the ASL language) use
> to identify the structure?  The following works fine:

I'm not sure if ASL's match is the same as the one in `racket/match',
but almost certainly it's using the static struct info bound by to
`foo' by `define-struct'.  You can see the documentation about that
here:
   http://docs.racket-lang.org/reference/structinfo.html

-- 
sam th
samth at ccs.neu.edu



Posted on the dev mailing list.