any luck using "retrie" refactoring tool on GHC sources?

Norman Ramsey nr at
Sun Jan 23 15:00:52 UTC 2022

I'm trying to use the retrie refactoring tool, but I'm getting a
mysterious error message: 

    nr at homedog ~/a/g/compiler [1]> retrie --adhoc "forall x . not (backendNeedn'tLink x) == backendNeedsLink x"

    parseAdhocs:1:80: error: parse error on input ‘#-}’
    retrie: user error (parse failed)

The Tool was installed using cabal install; its github page is  

Has anybody had any success using this tool on the GHC sources?
I'd love a workaround, or just advice.


More information about the ghc-devs mailing list