The Haskell Refactorer (HaRe) makes use of ghc-mod to provide the low-level interface to the Haskell source code being refactored. This has a number of advantages it isolates HaRe from having to have a lot of fiddly code to deal with the mechanics of having an environment to load a project ghc-mod is a widely used tool, and so is kept up to date with all the changes in the surrounding ecosystem. F