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 &quot;RN_Comp.hugs&quot;:258 - Undefined variable &quot;%&quot;<br><br>I tryed to import Ratio, which solved the problem but after that it gives me this error message:<br><br>ERROR &quot;RN_Comp.hugs&quot;:18 - Type error in application
<br>*** Expression&nbsp;&nbsp;&nbsp;&nbsp; : fromInteger . fromEnum<br>*** Term&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : fromInteger<br>*** Type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Integer -&gt; a<br>*** Does not match : Int -&gt; a<br><br>which is for this function:<br><br>{--------------------------------------------}
<br>{- moving to traditional signed-digit&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -}<br>{--------------------------------------------}<br>fromDigit :: Digit -&gt; Integer<br>fromDigit =(\n -&gt; 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.