ob-haskell-ng

I've recently pointed my org-mode babel haskell at haskell-ng and written a minimal library: https://github.com/tonyday567/ob-haskell-ng.

Would you be interested in a PR merging this? It makes sense for me - the code will evolve lock step with haskell-ng-mode as and when it develops. Totally understand if this is outside your scope, of course.

In coding this up:

  • there were just two points of contact needed: haskell-ng-repl-buffer-name & haskell-ng-repl-run
  • I tried to work out a way to defalias haskell ==> haskell-ng in the org-mode babel context but failed. Since ob-haskell.el has a haskell-mode dependency and is part of core emacs it feels like it will be hard-coded that way forever and the better approach is to start again, with a new ob-haskell-ng.
  • A hard-coded single repl buffer and process makes everything very easy.

Thanks for getting this library going! It was very enjoyable working with a simple design in comparison to the old haskell-mode.