<p dir="ltr">I thought about providing package ghc-transformers-instances, that will provide instances for transformers's type classes for user. So ghc-tf-instances will depend on current ghc, and current transformers that could be provided by user environment. </p>
<div class="gmail_quote">On Jan 21, 2015 7:15 PM, "Herbert Valerio Riedel" <<a href="mailto:hvriedel@gmail.com">hvriedel@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2015-01-21 at 16:51:55 +0100, Alexander V Vershilov wrote:<br>
<br>
[...]<br>
<br>
> As transformers usage are quite limited in ghc, and it's really relevant<br>
> in ghc-bin, it's possible to duplicate the code, and provide required<br>
> fixes in ghc-bin.cabal. As a result ghc uses it's own MonadIO, MonadControl<br>
> and Strict State, and ghc-bin.cabal (ghc/*) uses ones from<br>
> transformers.<br>
<br>
...but doesn't this effectively mean that the instances provided by the<br>
`ghc` package are of little use or rather can't be easily combined with<br>
code that builds on top of the original `transformers` classes everyone<br>
else uses?<br>
<br>
Cheers,<br>
  hvr<br>
</blockquote></div>