Closed jcpetruzza closed 8 years ago
I attempted to implement idea (b) in my mtl-compat
package. Does this suit your needs?
Never mind, transformers-compat
now exports mtl
instances, so this issue should be fixed without needing to use another package.
This has been fixed as of transformers-compat-0.4
.
Since
mtl
depends directly ontransformers
, it is not possible afaics for a project already depending onmtl
to switch toExceptT
and remain compatible withtransformers-0.3
. The cost of the proposal would be to introduce a dependency onmtl
, but I don't see to be problematic in practice.Alternatively, one could a) make
mtl
depend ontransformers-compat
or b) put the instances in amtl-compat
package. I think a) will probably not fly since it would introduce a dependency on a non-HP package while b) would be a much worse solution due to orphan instances.