read expects strings to be quoted:
Prelude> read "\"1234\"" :: String
"1234"
Prelude> read "1234" :: Int1234Prelude> read "1234" :: String"*** Exception: Prelude.read: no parseWhy?Michael
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe