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 (dim1 arg)
>
>dim ((u,_),(o,_)) = fromInt (o-u+1)

Reply via email to