Ah, thanks, it is my fault, for mis-understanding the hint from GHC.

And what is the difference between fromIntegral and fromInteger ?

------------------                               
L.Guo
2008-01-01

-------------------------------------------------------------
From: Mark T.B. Carroll
At: 2008-01-01 01:42:37
Subject: Re: [Haskell-cafe] How to convert number types.

Perhaps fromIntegral does what you want?

Mark

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to