blob: 507587d072de6c83ecc60cac2a06c6334ba1a7f1 (
plain)
1
2
3
4
5
6
7
|
tcfail152.hs:10:14:
No instance for (Integral a) arising from a use of ‛toInteger’
Possible fix:
add (Integral a) to the context of the data constructor ‛C’
In the expression: toInteger x
In an equation for ‛test’: test (C x) = toInteger x
|