fix: a grammatically incorrect sentence in monads/intro.md
This commit is contained in:
parent
a74892a36b
commit
278c9bb0e4
1 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ of [Category Theory](https://en.wikipedia.org/wiki/Monad_%28category_theory%29).
|
|||
|
||||
Monads in Lean are so similar to Haskell that this introduction to monads is heavily based on the
|
||||
similar chapter of the [Monday Morning Haskell](https://mmhaskell.com/monads/). Many thanks to
|
||||
the authors of that material for allowing it to reused it here.
|
||||
the authors of that material for allowing us to reuse it here.
|
||||
|
||||
Monads build on the following fundamental type classes which you will need to understand
|
||||
first before fully understanding monads. Shown in light blue are some concrete functors
|
||||
|
|
@ -60,4 +60,4 @@ This section examines what makes a monad a legal monad. You could just implement
|
|||
classes any way you want and write "monad" instances, but starting back with functors and
|
||||
applicative functors, you'll learn that all these structures have "laws" that they are expected to
|
||||
obey with respect to their behavior. You can make instances that don't follow these laws. But you do
|
||||
so at your peril, as other programmers will be very confused when they try to use them.
|
||||
so at your peril, as other programmers will be very confused when they try to use them.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue