[Haskell-cafe] How to convert number types.

L.Guo leaveye.guo at gmail.com
Mon Dec 31 12:50:49 EST 2007


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



More information about the Haskell-Cafe mailing list