Skip to content

Commit 8e452fc

Browse files
committed
Correct two typos
1 parent 112ca0c commit 8e452fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/covariance-contravariance.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ before, which hopefully isn't too surprising.
214214

215215
Let's say we want to print out all of the numbers from 1 to 10, where the
216216
English word for that number is more than three characters long. Using a simple
217-
helper function `english :: Int -> String` and `filter, this is pretty simple:
217+
helper function `english :: Int -> String` and `filter`, this is pretty simple:
218218

219219
```
220220
greaterThanThree :: Int -> Bool
@@ -379,7 +379,7 @@ set of terms.
379379
Let's look at some basic covariant and contravariant data types:
380380

381381
```haskell
382-
data WithInt a = UsesInt (Int -> a)
382+
data WithInt a = WithInt (Int -> a)
383383
data MakeInt a = MakeInt (a -> Int)
384384
```
385385

0 commit comments

Comments
 (0)