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.<br>First attemp to run it by hugs gives me this error message:<br><br clear="all">
ERROR "RN_Comp.hugs":258 - Undefined variable "%"<br><br>I tryed to import Ratio, which solved the problem but after that it gives me this error message:<br><br>ERROR "RN_Comp.hugs":18 - Type error in application
<br>*** Expression : fromInteger . fromEnum<br>*** Term : fromInteger<br>*** Type : Integer -> a<br>*** Does not match : Int -> a<br><br>which is for this function:<br><br>{--------------------------------------------}
<br>{- moving to traditional signed-digit -}<br>{--------------------------------------------}<br>fromDigit :: Digit -> Integer<br>fromDigit =(\n -> n - 1).fromInteger.fromEnum<br><br>Coudl anyone help me please fix this problem?
<br>-- <br>from debian manifesto:<br>Debian Linux is a brand-new kind of Linux distribution.<br> Rather than being developed by one isolated individua<br>l or group, as other distributions of Linux have been developed in the
<br> past, Debian is being developed openly in the spirit of Linux and GNU.