[Haskell-cafe] String to Double conversion in Haskell
dons at galois.com
Tue Aug 26 13:32:16 EDT 2008
> I am initializing a list from a file. I am reading the lines from the
> file, splitting them into bytestring and then converting them to float.
> Should I be using String -> Float or ByteString -> Float?
I'd try reading the file entirely as a bytestring,
then splitting out the Doubles, using ByteString -> Float.
More information about the Haskell-Cafe