Skip to content

Commit 759db92

Browse files
committedFeb 11, 2017
Spotted a couple of typos
1 parent 903371f commit 759db92

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
 

‎006_hindley_milner.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1348,7 +1348,7 @@ The omega combinator will not pass the occurs check.
13481348

13491349
```haskell
13501350
Poly> \x -> x x
1351-
Cannot construct the the infinite type: a = a -> b
1351+
Cannot construct the infinite type: a = a -> b
13521352
```
13531353

13541354
The file ``test.ml`` provides a variety of tests of the little interpreter. For

‎008_extended_parser.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ tokens :-
193193
Happy
194194
-----
195195

196-
Using Happy and our previosly defind lexer we'll write down the production rules
196+
Using Happy and our previously defined lexer we'll write down the production rules
197197
for our simple untyped lambda calculus.
198198

199199
We start by defining a ``Syntax`` module where we define the AST we'll generate

‎chapter9/provenance/Pretty.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ instance Show TypeError where
6262
]
6363
show (InfiniteType (TV a) la b) =
6464
concat [
65-
"Cannot construct the the infinite type: "
65+
"Cannot construct the infinite type: "
6666
, a
6767
, " = "
6868
, pptype b

0 commit comments

Comments
 (0)
Please sign in to comment.