I am trying to get HaRe set up in emacs and when I try to rename a local variable it asks what new name I want to use, then prints something like this in the minibuffer:
[1 of 5]
RefSet
I tried running ghc-hare --version as the README suggets, and I get an error, but it does also show the version:
% ghc-hare --version
unrecognized option `--version'
ghc-hare version 0.8.2.1
Usage:
ghc-hare demote [-g GHC_opt1 -g GHC_opt2 ...] filename line col
ghc-hare dupdef [-g GHC_opt1 -g GHC_opt2 ...] filename newname line col
ghc-hare iftocase [-g GHC_opt1 -g GHC_opt2 ...] filename startline startcol endline endcol
ghc-hare liftOneLevel [-g GHC_opt1 -g GHC_opt2 ...] filename line col
ghc-hare liftToTopLevel [-g GHC_opt1 -g GHC_opt2 ...] filename line col
ghc-hare rename [-g GHC_opt1 -g GHC_opt2 ...] filename newname line col
ghc-hare help
-v --verbose debug logging on
So I tried manually running it on a file and I get:
I am trying to get HaRe set up in emacs and when I try to rename a local variable it asks what new name I want to use, then prints something like this in the minibuffer:
I tried running
ghc-hare --version
as the README suggets, and I get an error, but it does also show the version:So I tried manually running it on a file and I get:
I searched for occurences of
SafeList
in the HaRe source but came up empty handed so I'm a bit stumped as to how to proceed.Any guidance would be appreciated, as HaRe looks awesome!