From 0bdad6f127ab5d7eb357a9ca3fcca2f1dd45caf8 Mon Sep 17 00:00:00 2001 From: Thth Date: Mon, 19 Oct 2020 00:50:00 -0700 Subject: [PATCH] fix typo in chapter 3 (#230) --- src/Chapter3.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Chapter3.hs b/src/Chapter3.hs index 57110bfe..1f65e16c 100644 --- a/src/Chapter3.hs +++ b/src/Chapter3.hs @@ -835,7 +835,7 @@ instance ArchEnemy Double where And then you can write polymorphic functions and not worry about which specific type is underhood until it has the instance of the desired typeclass. For that -we are using __constrains__ in Haskell. It is the identification of affiliation +we are using __constraints__ in Haskell. It is the identification of affiliation to the typeclass. The constraints should go after the "::" sign in the function type declaration. You can specify one or many constraints. If more than one they should be in parenthesis and comma-separated. The end of constraints is