Skip to content

Commit 031c0f9

Browse files
authored
Merge branch 'learnyouahaskell:main' into main
2 parents 40282fa + 023c463 commit 031c0f9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
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>

docs/starting-out.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ <h1 style="margin-left:-3px">Starting Out</h1>
102102
What about doing <span class="fixed">5 + "llama"</span> or <span class="fixed">5 == True</span>? Well, if we try the first snippet, we get a big scary error message!
103103
</p>
104104
<pre name="code" class="haskell: ghci">
105-
• No instance for (Num [Char]) arising from a use of ‘+’
105+
• No instance for (Num String) arising from a use of ‘+’
106106
• In the expression: 5 + "llama"
107107
In an equation for ‘it’: it = 5 + "llama"
108108
</pre>

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)