[Haskell-cafe] Haskell Quiry

2007-05-31 Thread ashutosh dimri
I want to read some data from a file "Signature.ken" , for that I have written a program but its showing some errors (the file "signature.ken" contains data of the type = (122,152) ) main = do j <- readFile "sig1.key" let (x,y) = (read j) putStrLn ("value=" ++ (show (x,y))) ERROR file:.

[Haskell-cafe] quiry

2007-05-16 Thread ashutosh dimri
how to convert a hexadecimal into base 10 integer using haskell . I have written a code but its not working for large values , please help ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] haskell quiry

2007-05-17 Thread ashutosh dimri
I have written a code to convert hexadecimal numbers into base 10 number but its working only for 32 bits and I need it to work upto 160 bits , code is given below. please help. --its a program to convert hexadecimal numbers into base 10 numbers import Char -- the function "func" takes a list

[Haskell-cafe] haskell quiry

2007-05-17 Thread ashutosh dimri
Thanks a lot Mr. jules now the code is working perfectly for higher values , the problem was with ord . ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe