blob: b94266978d7a378a957fc8d7110b0b3f68bbcc1b (
plain)
1
2
3
4
5
6
7
8
|
tcfail143.hs:29:6: error:
• Couldn't match type ‘S Z’ with ‘Z’
arising from a functional dependency between:
constraint ‘MinMax (S Z) Z Z Z’ arising from a use of ‘extend’
instance ‘MinMax a Z Z a’ at tcfail143.hs:11:10-23
• In the expression: n1 `extend` n0
In an equation for ‘t2’: t2 = n1 `extend` n0
|