Skip to content
This repository was archived by the owner on Jan 17, 2020. It is now read-only.

Commit bb69b01

Browse files
committed
typos
1 parent 9566a22 commit bb69b01

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ overlapping effects.
1313

1414
While the effect system is undoubtedly useful, there are cases where it's more
1515
of a hindrance — where it doesn't make reasoning about code easier, but instead,
16-
merely adds a ton of boilerplate and semantically meaningless labels get
17-
threaded through endless stacks of functions.
16+
merely adds a ton of boilerplate, as semantically meaningless or overlapping
17+
labels get threaded through endless stacks of functions.
1818

1919
In those cases, `IO` is here to the rescue!
2020

@@ -30,13 +30,13 @@ no runtime overhead or performance penalty for `IO`.
3030
`IO` only has one function, which should only be used in your `main`:
3131

3232
```haskell
33-
runIO :: forall a. IO a -> AffIO a
33+
runIO :: forall a. IO a -> Aff (infinity :: INFINITY) a
3434
```
3535

3636
This converts an `IO` into an `Aff`, which you can then "convert" into a
3737
runnable `Eff` using `launchAff` or `runAff`.
3838

39-
The effect row is closed, which is intentionally because `INFINITY` represents
39+
The effect row is closed, which is intentional because `INFINITY` represents
4040
all possible effects. This will help ensure you only call `runIO` at the top
4141
level of your program.
4242

0 commit comments

Comments
 (0)