Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move interactive-haskell functions from haskell.el #734

Open
gracjan opened this issue Jun 19, 2015 · 3 comments
Open

Move interactive-haskell functions from haskell.el #734

gracjan opened this issue Jun 19, 2015 · 3 comments

Comments

@gracjan
Copy link
Contributor

gracjan commented Jun 19, 2015

Move interactive-haskell related functions from haskell.el to haskell-interactive-mode.el.

@bergey
Copy link
Contributor

bergey commented Feb 7, 2016

This is not quite straightforward. There are 5 other modules between haskell and haskell-interactive-mode in the dependency tree, and the functions that should move depend on 4 of them.
I can think of a few options (below). Would one of these satisfy?

  • make a new module, haskell-interactive-commands, sitting above haskell-repl and friends, below haskell.el, with these functions (easy)
  • move functions as far down the tree as possible, without new modules or changing the dependencies between them (merely tedious)
  • document the purpose of each module, refactor code to match (much more work)

@gracjan
Copy link
Contributor Author

gracjan commented Feb 7, 2016

Lets do option 1 haskell-interactive-commands as you described. If there is an easy and obvious way to move some functions down the hierarchy then occasionally do option 2.

Option 3 is too much work and in the light of coming Haskell IDE Engine it does not make much sense right now.

@gracjan
Copy link
Contributor Author

gracjan commented Mar 9, 2016

@bergey, were you able to push this forward?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants