blob: a186fb13100e21dcdc804379777e0b1936352ca9 (
plain)
1
2
3
4
5
6
7
8
9
|
tcfail014.hs:5:33: error:
• Occurs check: cannot construct the infinite type: t7 ~ t7 -> t8
• In the first argument of ‘z’, namely ‘z’
In the expression: z z
In an equation for ‘h’: h z = z z
• Relevant bindings include
z :: t7 -> t8 (bound at tcfail014.hs:5:27)
h :: (t7 -> t8) -> t8 (bound at tcfail014.hs:5:25)
|