-
+
tcfail014.hs:5:
- Occurs check: cannot construct the infinite type: aN3 = aN3 -> aN5
- Expected: aN3
- Inferred: aN3 -> aN5
+ Occurs check: cannot construct the infinite type: t = t -> t1
+ Expected type: t
+ Inferred type: t -> t1
In the first argument of `z', namely `z'
- In an equation for function `h': h z = z z
-
-
-Compilation had errors
+ in the definition of function `h': z z