Say I have something like

data DT a = Foo a | Bar a | Boo a

I want something like a list of the constructors of DT, perhaps as [TypeRep].  
I'm using Data.Typeable but can't seem to find what I need in there.  
Everything there operates over constructors, not types.



      
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to