Data instances for MTL types
ross at soi.city.ac.uk
Thu Jan 15 16:55:48 EST 2009
On Thu, Jan 15, 2009 at 10:46:46PM +0100, Henning Thielemann wrote:
> When trying to perform some tests with StrictCheck, I found that the
> monads from the 'transformers' package don't have Data instances. Can
> they be provided while keeping 'transformers' Haskell 98 and avoiding
> orphan instances?
They could be provided for GHC only using ifdef'd deriving clauses.
More information about the Libraries