alanz / ghc-exactprint

GHC version of haskell-src-exts exactPrint
BSD 3-Clause "New" or "Revised" License
70 stars 32 forks source link

Generalized the HasTransform instance to TransformT m #55

Closed ClathomasPrime closed 6 months ago

ClathomasPrime commented 7 years ago

With the old version, you were kinda forced to always use fully concrete monads and write your own instance of HasTransform. This version would allow you to use Monad m => TransformT (ComplicatedMonadStack m).

Does this seem like a good idea?

alanz commented 7 years ago

Generalizing sounds like a good idea.

I just want to check that it works fine with HaRe and apply-refact before merging though.

alanz commented 6 months ago

Stale, and removing the need for TransformT, see https://github.com/alanz/ghc-exactprint/pull/137