You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
There is a specific haskell-ide-plugin-api package for the Dispatcher type, and IdeM is defined
in the main haskell-ide-egine package.
There are a number of options for this.
Leave things as they are. But then the GhcModT is not available to a plugin action.
Make Dispatcher have the signature IdeRequest -> IdeM IdeResponse
This means the IdeM type has to be in haskell-ide-plugin-api, and the various instances
required become orphans, or need to be in haskell-ide-plugin-api.
Include GhcModT in the constraints on the Dispatcher
Another consideration is that the haskell-ide-engine looks like it may be a
general IDE backend, usable for other languages e.g. PureScript, Idris, et al.
In this case having anything GHC related is unneccessary. In this case,
perhaps the type should be simply
At the moment the plugin callback function for a particular command is defined as
The monad used inside
HIE
is defined asThere is a specific
haskell-ide-plugin-api
package for theDispatcher
type, andIdeM
is definedin the main
haskell-ide-egine
package.There are a number of options for this.
Dispatcher
have the signatureIdeRequest -> IdeM IdeResponse
This means the
IdeM
type has to be inhaskell-ide-plugin-api
, and the various instancesrequired become orphans, or need to be in
haskell-ide-plugin-api
.GhcModT
in the constraints on theDispatcher
Another consideration is that the
haskell-ide-engine
looks like it may be ageneral IDE backend, usable for other languages e.g. PureScript, Idris, et al.
In this case having anything GHC related is unneccessary. In this case,
perhaps the type should be simply
The text was updated successfully, but these errors were encountered: