From 023c463b80c5b61b6a32a612b9a4715aad22c3e3 Mon Sep 17 00:00:00 2001 From: samtygier Date: Sun, 12 Feb 2023 18:46:08 +0000 Subject: [PATCH] Typo and clarity in for-a-few-monads-more (#45) "If you don't understand" --- docs/for-a-few-monads-more.html | 2 +- markdown/source_md/for-a-few-monads-more.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/for-a-few-monads-more.html b/docs/for-a-few-monads-more.html index e346bdb..f97a83a 100644 --- a/docs/for-a-few-monads-more.html +++ b/docs/for-a-few-monads-more.html @@ -1071,7 +1071,7 @@

Reader? Ugh, not this joke again.

-If don't get how >>= works at this point, don't +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. Here's a do expression that utilizes this monad:

diff --git a/markdown/source_md/for-a-few-monads-more.md b/markdown/source_md/for-a-few-monads-more.md index 91e0074..3bfc175 100644 --- a/markdown/source_md/for-a-few-monads-more.md +++ b/markdown/source_md/for-a-few-monads-more.md @@ -676,7 +676,7 @@ The same thing happens here. 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. `f` returns a monadic value, which is a function in our case, so we apply it to `w` as well. -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. +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. Here's a `do` expression that utilizes this monad: ```{.haskell:hs}