File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1348,7 +1348,7 @@ The omega combinator will not pass the occurs check.
1348
1348
1349
1349
``` haskell
1350
1350
Poly > \ x -> x x
1351
- Cannot construct the the infinite type : a = a -> b
1351
+ Cannot construct the infinite type : a = a -> b
1352
1352
```
1353
1353
1354
1354
The file `` test.ml `` provides a variety of tests of the little interpreter. For
Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ tokens :-
193
193
Happy
194
194
-----
195
195
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
197
197
for our simple untyped lambda calculus.
198
198
199
199
We start by defining a `` Syntax `` module where we define the AST we'll generate
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ instance Show TypeError where
62
62
]
63
63
show (InfiniteType (TV a) la b) =
64
64
concat [
65
- " Cannot construct the the infinite type: "
65
+ " Cannot construct the infinite type: "
66
66
, a
67
67
, " = "
68
68
, pptype b
You can’t perform that action at this time.
0 commit comments