From 468036317006acf37364a35e27ad0c0af586dd5d Mon Sep 17 00:00:00 2001 From: jim Date: Sat, 21 Mar 2015 10:08:22 -0400 Subject: [PATCH] replace deleted line --- exercises/assignment5.mdwn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/exercises/assignment5.mdwn b/exercises/assignment5.mdwn index 73889482..a74da85a 100644 --- a/exercises/assignment5.mdwn +++ b/exercises/assignment5.mdwn @@ -329,7 +329,9 @@ any type `α`, as long as your function is of type `α -> α` and you have a bas -- Or this: let sysf_true = (\y n -> y) :: Sysf_bool a - :set -XExplicitForAll + Note that in both OCaml and Haskell code, the generalization `∀α` on the free type variable `α` is implicit. If you really want to, you can supply it explicitly in Haskell by saying: + + :set -XExplicitForAll let { sysf_true :: forall a. Sysf_bool a; ... } -- or let { sysf_true :: forall a. a -> a -> a; ... } -- 2.11.0