Skip to content

Commit d22a042

Browse files
authored
fix type signature
1 parent 207ab77 commit d22a042

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

learn/eff/index.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ Note the type we give to `incrCounter`: we use a polymorphic type to make sure t
230230
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:
231231

232232
```purescript
233-
foreign import unsafeRunCounter :: forall e. Eff (counter :: COUNTER | e) a -> Eff e a
233+
foreign import unsafeRunCounter :: forall e a. Eff (counter :: COUNTER | e) a -> Eff e a
234234
```
235235

236236
And in JavaScript:

0 commit comments

Comments
 (0)