newtype and rules

John Meacham john at
Thu Feb 9 20:20:35 EST 2006

I am curious if rules pragmas are applied before or after newtype
desugaring? basically what I want to know is if I have a newtype of an
Int say, and make a rule acting on the newtype, will it be applied to
any Int as well?


John Meacham - ⑆⑆john⑈

More information about the Glasgow-haskell-users mailing list