Since ActionCtxT is just a newtype around ErrorT and RWST, it should be relatively easy to add instances for MonadTransControl and MonadBaseControl.
It looks like Spock-core doesn't already have a dependency on monad-control (but Spock does), so this would require adding monad-control as a dependency to Spock-core
If you don't want to do that, would you consider exporting the constructor for ActionCtxT (possibly in an Internal module) so that users could write orphan instances for MonadTransControl and MonadBaseControl?
Would you consider adding instances of
MonadTransControl
andMonadBaseControl
forActionCtxT
?Since
ActionCtxT
is just a newtype around ErrorT and RWST, it should be relatively easy to add instances forMonadTransControl
andMonadBaseControl
.It looks like
Spock-core
doesn't already have a dependency on monad-control (but Spock does), so this would require addingmonad-control
as a dependency to Spock-coreIf you don't want to do that, would you consider exporting the constructor for ActionCtxT (possibly in an
Internal
module) so that users could write orphan instances forMonadTransControl
andMonadBaseControl
?Let me know how you feel and I'll send a PR.