neovimhaskell / nvim-hs

Neovim API for Haskell plugins as well as the plugin provider
Other
267 stars 18 forks source link

NeovimT transformer #41

Closed saep closed 7 years ago

saep commented 8 years ago

I'm currently exploring the possibility of defining the Neovim context as a monad transformer. Apart from being slightly more complicated to initialize, this approach seems to be way more flexible than the current one. I found it quite hard to start a ghc-mod context with the current model and therefore I am exploring this design space before commiting to a (somewhat) final API design for version 0.1.

saep commented 8 years ago

It turns out to be a lot of work and with the rise of the haskell-ide-engine, it might not be worth the effort. If somebody wants to take a stab at this, I would implement it roughly in these steps:

saep commented 7 years ago

A simple HasNvim typeclass is probably better.