From d22a04298eb05ac43303a6492e1535a4feaf37e6 Mon Sep 17 00:00:00 2001 From: Laszlo Korte Date: Thu, 28 Jul 2016 17:03:00 +0200 Subject: [PATCH] fix type signature --- learn/eff/index.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/learn/eff/index.markdown b/learn/eff/index.markdown index 501a458..e8d94cd 100644 --- a/learn/eff/index.markdown +++ b/learn/eff/index.markdown @@ -230,7 +230,7 @@ Note the type we give to `incrCounter`: we use a polymorphic type to make sure t Usually, we wouldn't write a handler for the `Counter` effect, since we have no way to guarantee that the `globalCounter` hasn't been modified. However, if we wanted to provide an unsafe "escape hatch" for `Counter`, we might do so as follows: ```purescript -foreign import unsafeRunCounter :: forall e. Eff (counter :: COUNTER | e) a -> Eff e a +foreign import unsafeRunCounter :: forall e a. Eff (counter :: COUNTER | e) a -> Eff e a ``` And in JavaScript: