RefactoringTools / HaRe

The Haskell Refactoring Tool
http://www.cs.kent.ac.uk/projects/refactor-fp/
Other
139 stars 32 forks source link

Package HaRe elisp on MELPA #2

Open alanz opened 8 years ago

alanz commented 8 years ago

Originally https://github.com/alanz/HaRe/issues/12

alanz commented 8 years ago

Comment on original by @purcell

Yep. Here's what you'll need to do to prepare the code itself:

Regarding the way the code works, the hare-init code is a bit hacky, since it directly modifies haskell-mode-map. What you want instead is to define a minor mode hare-mode, and add the keybindings to the resulting hare-mode-map. Then users can just enable hare-mode in their haskell-mode-hook.

Hope that helps.

-Steve