[Haskell-cafe] Haskell Quiry

ashutosh dimri adimri.iitkgp at gmail.com
Fri Jun 1 01:48:32 EDT 2007

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:.\-as.hs:5 - Unresolved top-level overloading
*** Binding             : main
*** Outstanding context : (Read c, Read b, Show c, Show b)

More information about the Haskell-Cafe mailing list