instance (Eq a) => {EqClass (EqTree a)} where
[]
eqc x = 'a'
-default (Rational, Integer)
+default (Integer, Rational)
Occurs check: cannot construct the infinite type: t = (t, [a], t1)
Expected type: (t, [a], t1)
Inferred type: t
- In the right-hand side of a pattern binding: a
+ in a pattern binding: a
read007.hs:6:
`+' is not a data constructor
In the pattern: 2 + 2
- In a do statement: (2 + 2) <- 2
+ in a `do' expression pattern binding: (2 + 2) <- 2
-
-read009.hs:5:
- `do' statements must end in expression: do let foo = True
+read009.hs:12: parse error (possibly incorrect indentation)
-
-==================== Parser ====================
-module ShouldFail where
-h x = x
-foo = do let foo = True
-
-
read015.hs:6: parse error (possibly incorrect indentation)
-
-Compilation had errors
-