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.
_______________________________________________ Hugs-Users mailing list Hugs-Users@haskell.org http://www.haskell.org/mailman/listinfo/hugs-users