import public Control.HigherOrder
import public Control.Effect.Misc
interface Algebra : ((Type -> Type) -> Type -> Type) -> (Type -> Type) -> Type
Structure that dispatches an effect.
alg : Algebra sig m => Functor ctx => ctx () -> Handler ctx n m -> sig n a -> m (ctx a)
send : Inj eff sig => Algebra sig m => eff m a -> m a
Apply an effect within a monadic context that supports it.