-
Notifications
You must be signed in to change notification settings - Fork 347
[Discussion] Separation of concerns #836
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
Comments
I'm not sure that's such a great idea, as some of the interactive logic (e.g. the new haskell-interactive stuff Chris Done added) seems to be relatively integrated together, so I'm not sure how well it would work split up into various packages. That said, I just use haskell-mode and don't contribute to it much :) |
I've added a 'discussion' label here so that we know this 'issue' is a forum thread to discuss possible ways forward. We have done splitting of It was easy to split as the internal dependencies were not tight. I would say that we need to do a lot of internal cleanup and untangling so that we are able to split when we need. I would love if contributors concentrated more on font-lock and indentation. Historically though most contributions come to interactive parts of haskell-mode. |
I'd really like to be able to tell new Haskellers (who use emacs) that there's one package to install, which has most of the useful features and acceptable defaults. I worry that if I think splitting things up would make it harder to communicate what to install, and harder to make things just work, especially since so many people run HEAD via Melpa. I think there's still lots of low-hanging fruit to simplify |
I heartily agree with splitting things out and simplifying haskell-mode. As someone who's still rather quite inexperienced with elisp, customizing and contributing to haskell-mode is daunting due to its size. As @bergey points out, having multiple ways to achieve similar results is also something that contributes to this. One issue is whether this'd be done in a way that doesn't break people's configurations. What if the syntax highlighting and indentation machinery got turned into This way, there'd be a smaller and more easily understood elisp package for haskell, |
We are working on removing redundancy and all the more convoluted components. HIE should take quite some complexity away. Hackability comes from a comprehensive test suite and we are in the process of creating one. There are already 232 tests, the functionality that is covered can be easy to hack even by relativelly inexperienced person. |
Great, thanks for your efforts, @gracjan ! |
Seems like the discussion dried out. Lets agree on the following:
|
Hi everybody!
Should we simplify
haskell-mode
to just syntax highlight and indentation machinery (with some auto completion tweaks), and move all heavy interactive logic to another one package, including error highlighting (since it is related on compilation too), REPL completions, type information, etc.?What do you think?
The text was updated successfully, but these errors were encountered: