X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=blobdiff_plain;f=topics%2Fweek7_introducing_monads.mdwn;h=5bc139f5a3f7ae558f18208e20e1e6219d54089b;hp=60a36aaded782146433a0564da73dc66467942d1;hb=a7d60f895476d232e9b811e87b29036a1232745a;hpb=c8fd5635d402bd3ae8073725257bef20e161256e
diff --git a/topics/week7_introducing_monads.mdwn b/topics/week7_introducing_monads.mdwn
index 60a36aad..5bc139f5 100644
--- a/topics/week7_introducing_monads.mdwn
+++ b/topics/week7_introducing_monads.mdwn
@@ -84,7 +84,7 @@ For instance, the following are Kleisli arrows:
In the first, `P` has become `int` and `Q` has become `bool`. (The boxed type Q
is bool
).
Note that the left-hand schema `P` is permitted to itself be a boxed
-type. That is, if `α list` is our box type, and `P` is to boxed type
+type. That is, if `α list` is our box type, and `P` is the boxed type
`int list`, we can write the boxed type that has `P` as its left-hand
side as
@@ -93,7 +93,7 @@ side as
If it's clear that we're uniformly talking about the same box type (in
this example, `α list`), we can equivalently write
-int -> int
+int -> int
Here are some examples of values of these Kleisli arrow types, where the box type is `α list`, and the Kleisli arrow types are int -> int
(that is, `int -> int list`) or int -> bool
: