
7 Apr
2009
7 Apr
'09
5:35 p.m.
Hello Kannan, Wednesday, April 8, 2009, 1:27:21 AM, you wrote:
if i > (toInteger maxBound)
problem here is that GHC doesn't know what maxBound you mean. is it maxBound::Int8? or maxBound::Word128? it has nothing common with the value you return later so you need to use either scoped type variables or usual asTypeOf trick. look recent cafe threads for more info -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com