Hello Deniz,
Wednesday, October 7, 2009, 5:03:59 PM, you wrote:
it depends. what i see with ghc 6.6.1:
C:\!\Haskellrunghc test.hs
test.hs:1:6:
Ambiguous type variable `a' in the constraint:
`Enum a' arising from use of `fromEnum' at test.hs:1:6-13
Possible cause: the monomorphism
2009/10/7 Bulat Ziganshin bulat.zigans...@gmail.com:
Hello Deniz,
Wednesday, October 7, 2009, 5:03:59 PM, you wrote:
it depends. what i see with ghc 6.6.1:
[snip]
Possible cause: the monomorphism restriction applied to the following:
ord :: a - Int (bound at test.hs:1:0)