From b62ac01d65f8ce6042f9de5cfb96ab77d7189e54 Mon Sep 17 00:00:00 2001 From: Konstantine Rybnikov Date: Mon, 12 Jan 2015 22:37:44 +0200 Subject: [PATCH] Small syntax error --- chapters/language/typeclasses.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chapters/language/typeclasses.md b/chapters/language/typeclasses.md index 3e022b4..2472ed2 100644 --- a/chapters/language/typeclasses.md +++ b/chapters/language/typeclasses.md @@ -77,7 +77,8 @@ main = do print $ length $ unpack foo ``` - Unfortunately, when we try to compile this, we get a confusing error message: +Unfortunately, when we try to compile this, we get a confusing error message: + test.hs:15:22: No instance for (Unpack T.Text a0) arising from a use of `unpack'