Match coding style of runNat with the rest of the codebase

This is really minor but the next commit adds a `runNatS` function that
would require a 5-var forall and that's starting to be really confusing,
making people think why it's there.
This commit is contained in:
Tomas Janousek 2017-01-16 20:19:17 +01:00
parent 8060429c52
commit 84022b9103

View File

@ -36,7 +36,6 @@ import Control.Applicative (pure)
import Control.Monad.Freer.Internal
runNat
:: forall m r e w.
(Member m r)
:: Member m r
=> (forall a. e a -> m a) -> Eff (e ': r) w -> Eff r w
runNat f = handleRelay pure (\v -> (send (f v) >>=))