We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f914b2e commit 549a45bCopy full SHA for 549a45b
1 file changed
src/Control/Monad/Eff.purs
@@ -21,12 +21,9 @@ foreign import bindE :: forall e a b. Eff e a -> (a -> Eff e b) -> Eff e b
21
-- | The `Pure` type synonym represents _pure_ computations, i.e. ones in which all effects have been handled.
22
-- |
23
-- | The `runPure` function can be used to run pure computations and obtain their result.
24
-type Pure a = forall e. Eff e a
+type Pure a = Eff () a
25
26
-- | Run a pure computation and return its result.
27
--- |
28
--- | Note: since this function has a rank-2 type, it may cause problems to apply this function using the `$` operator. The recommended approach
29
--- | is to use parentheses instead.
30
foreign import runPure :: forall a. Pure a -> a
31
32
instance functorEff :: Functor (Eff e) where
0 commit comments