[Haskell-cafe] Float instance of 'read'

Albert Y. C. Lai trebla at vex.net
Tue Sep 16 17:08:53 EDT 2008


Mauricio wrote:
> Do you think 'read' (actually,
> 'readsPrec'?) could be made to also
> read the international convention

No. read and show are meant to be KISS, suitable for toy programs and 
casual debugging messages. Real applications should use or invent a 
sophisticated, general library.

(The same way real user interfaces do not use getLine.)


More information about the Haskell-Cafe mailing list