
14 Mar
2007
14 Mar
'07
7:33 p.m.
On Mar 14, 2007, at 19:30 , Sergey Perminov wrote:
So, the question is: Is it possible somehow to convert any Num (or at least Integral) to Int. Please, tell me if I don't get smth in Haskell type system.
fromIntegral. Try http://haskell.org/hoogle for searching for useful functions like this. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH