I am unfamiliar with haskell and just started learning it. I need to run a program developed by my master for real number calculation some years ago. First attemp to run it by hugs gives me this error message: ERROR "RN_Comp.hugs":258 - Undefined variable "%" I tryed to import Ratio, which solved the problem but after that it gives me this error message: ERROR "RN_Comp.hugs":18 - Type error in application *** Expression : fromInteger . fromEnum *** Term : fromInteger *** Type : Integer -> a *** Does not match : Int -> a which is for this function: {--------------------------------------------} {- moving to traditional signed-digit -} {--------------------------------------------} fromDigit :: Digit -> Integer fromDigit =(\n -> n - 1).fromInteger.fromEnum Coudl anyone help me please fix this problem? -- from debian manifesto: Debian Linux is a brand-new kind of Linux distribution. Rather than being developed by one isolated individua l or group, as other distributions of Linux have been developed in the past, Debian is being developed openly in the spirit of Linux and GNU.