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

Norman Ramsey nr at cs.tufts.edu
Mon Jan 24 21:46:31 UTC 2022


 > > I'm trying to use the retrie refactoring tool..
 > >
 > For what it's worth, Norman has reported this issue upstream as
 > https://github.com/facebookincubator/retrie/issues/41

Turns out the tool wants `=` in the rule, not `==`.

And if you have a ' in your function name, the tool barfs because it
launches a `grep` command without escaping the ' properly to the
shell.  I have pushed a fix at
https://github.com/facebookincubator/retrie/pull/43.


Norman



More information about the ghc-devs mailing list