Open turion opened 6 months ago
Solves part of https://github.com/haskellari/these/issues/135.
In https://github.com/haskellari/these/issues/135#issuecomment-564631426, you say:
"should" should be witnessed.
Is it sufficient to add one monomorphic test case for ReaderT
?
Since
ReaderT r m a
is isomorphic toCompose m ((->) r)) a
, it has a straightforwardAlign
instance. This PR adds it. If you want, I can add other instances for transformers that are also compositions (ExceptT
,MaybeT
, possibly others?).