Re: What happend to "fromInt" ?

1999-11-22 Thread George Russell
Andreas Marth wrote: > > I just tried the ghc-4.045 for Win32-sytems and got the error "Variable not in > scope: 'fromInt' ". Someone correct me if I'm wrong, but I think the all-purpose function you are supposed to use to turn an integer into some other sort of number is called "fromIntegral".

What happend to "fromInt" ?

1999-11-22 Thread Andreas Marth
I just tried the ghc-4.045 for Win32-sytems and got the error "Variable not in scope: 'fromInt' ". The code is something like: >import System > >main = do args <- getArgs > let arg = case args of > [] -> error "No argument!" > [h] -> h > _ -> error "More then 1argument!" > putStr (show (