Skip to content

Commit 047eb55

Browse files
committed
Fix effect typo
1 parent 59fd52d commit 047eb55

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ liftEff $ log "Hello world!"
120120
This lets you write your whole program in `Aff`, and still call out to
121121
synchronous code.
122122

123-
If your `Eff` code throws exceptions (`err :: Exception`), you can remove the
124-
exception label using `liftEff'`. Exceptions are part of `Aff`s built-in
125-
semantics, so they will always be caught and propagated anyway.
123+
If your `Eff` code throws exceptions (`exception :: EXCEPTION`), you can
124+
remove the exception label using `liftEff'`. Exceptions are part of `Aff`s
125+
built-in semantics, so they will always be caught and propagated anyway.
126126

127127
## Dealing with Failure
128128

0 commit comments

Comments
 (0)