Ashutosh,
> ERROR file:.\-as.hs:5 - Unresolved top-level overloading
> *** Binding : main
> *** Outstanding context : (Read c, Read b, Show c, Show b)
Add an type annotation:
main = do
j <- readFile "sig1.key"
let (x,y) = (read j) :: (Int, Int) -- <-----
putStrLn ("value=" ++ (show (x,y)))
Cheers,
Stefan