Skip to content

Commit 023c463

Browse files
authored
Typo and clarity in for-a-few-monads-more (learnyouahaskell#45)
"If you don't understand"
1 parent 114e104 commit 023c463

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/for-a-few-monads-more.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1071,7 +1071,7 @@ <h2>Reader? Ugh, not this joke again.</h2>
10711071
</p>
10721072

10731073
<p>
1074-
If don't get how <span class="fixed">&gt;&gt;=</span> works at this point, don't
1074+
If you don't understand how <span class="fixed">&gt;&gt;=</span> works at this point, don't
10751075
worry, because with examples we'll see how this is a really simple monad. Here's
10761076
a <span class="fixed">do</span> expression that utilizes this monad:
10771077
</p>

markdown/source_md/for-a-few-monads-more.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ The same thing happens here.
676676
To get the result from a function, we have to apply it to something, which is why we do `(h w)` here to get the result from the function and then we apply `f` to that.
677677
`f` returns a monadic value, which is a function in our case, so we apply it to `w` as well.
678678

679-
If don't get how `>>=` works at this point, don't worry, because with examples we'll see how this is a really simple monad.
679+
If you don't understand how `>>=` works at this point, don't worry, because with examples we'll see how this is a really simple monad.
680680
Here's a `do` expression that utilizes this monad:
681681

682682
```{.haskell:hs}

0 commit comments

Comments
 (0)