@@ -45,10 +45,10 @@ failOn op msg =
4545notReserved :: IParser a
4646notReserved =
4747 choice
48− [ failOn "=" "The = operator is reserved for defining variables. Maybe you want == instead?"
48+ [ failOn "=" "The = operator is reserved for defining variables. Maybe you want == instead? Or maybe you are defining a variable, but there is whitespace before it?"
4949 , failOn "->" "Arrows are reserved for cases and anonymous functions. Maybe you want > or >= instead?"
5050 , failOn "|" "Vertical bars are reserved for use in union type declarations. Maybe you want || instead?"
51− , failOn ":" "A singe colon is for type annotations. Maybe you want :: instead?"
51+ , failOn ":" "A singe colon is for type annotations. Maybe you want :: instead? Or maybe you are defining a type annotation, but there is whitespace before it?"
5252 ]
5353
5454