From 8e452fcbb26dab4484f3602a3e9e2b51d8371a3b Mon Sep 17 00:00:00 2001 From: Arthur Clune Date: Wed, 21 Oct 2015 12:19:32 +0100 Subject: [PATCH] Correct two typos --- content/covariance-contravariance.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/covariance-contravariance.md b/content/covariance-contravariance.md index b1f0f5b..61a9943 100644 --- a/content/covariance-contravariance.md +++ b/content/covariance-contravariance.md @@ -214,7 +214,7 @@ before, which hopefully isn't too surprising. Let's say we want to print out all of the numbers from 1 to 10, where the English word for that number is more than three characters long. Using a simple -helper function `english :: Int -> String` and `filter, this is pretty simple: +helper function `english :: Int -> String` and `filter`, this is pretty simple: ``` greaterThanThree :: Int -> Bool @@ -379,7 +379,7 @@ set of terms. Let's look at some basic covariant and contravariant data types: ```haskell -data WithInt a = UsesInt (Int -> a) +data WithInt a = WithInt (Int -> a) data MakeInt a = MakeInt (a -> Int) ```