Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Hare context #141

Merged
merged 2 commits into from
Dec 18, 2015
Merged

Hare context #141

merged 2 commits into from
Dec 18, 2015

Conversation

JPMoresmau
Copy link
Contributor

As discussed via IRC, hare needs to be in the right folder. With this change, running a refactor command from Leksah generates a right answer (a diff). Progress!

-> String -- ^ command name for log
-> (RefactSettings -> GM.Options -> FilePath -> IO [FilePath])
-> IdeM (IdeResponse RefactorResult)
runHareCommand fp name cmd = do
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we shouldn't pull this into PluginUtils or MonadFunctions, to run a GhcModT action in an appropriate directory.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I've started putting stuff in there (fileInfo, catchException).

alanz added a commit that referenced this pull request Dec 18, 2015
@alanz alanz merged commit 299ac8b into haskell:master Dec 18, 2015
@alanz alanz added this to the prehistory milestone Feb 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants