-tcfail002.hs:4: Cannot construct the infinite type (occur check)
- `take' = `[take]'
- Expected: `[take]'
- Inferred: `take'
- In an equation for function `c': `c z = z'
+tcfail002.hs:4:
+ Occurs check: cannot construct the infinite type: t = [t]
+ Expected type: t
+ Inferred type: [t]
+ In the right-hand side of an equation for `c': z
Compilation had errors
+