Swap the order of some type variables in interpretM for consistency

This commit is contained in:
Alexis King 2018-02-20 10:45:47 -08:00
parent 99e26fae04
commit 438a5da5a3

View File

@ -333,7 +333,7 @@ translate f = reinterpret (send . f)
-- 'interpretM' f = 'interpret' ('sendM' . f)
-- @
interpretM
:: forall eff effs m
:: forall eff m effs
. (Monad m, LastMember m effs)
=> (eff ~> m) -> Eff (eff ': effs) ~> Eff effs
interpretM f = interpret (sendM . f)