[Haskell-cafe] Float instance of 'read'

Dan Piponi dpiponi at gmail.com
Tue Sep 16 16:45:41 EDT 2008

Mauricio asked:

> Do you think 'read' (actually,
> 'readsPrec'?) could be made to also
> read the international convention
> (ie., read "1,5" would also work
> besides read "1.5")?

What would you hope the value of

> read "(1,2,3)"::(Float,Float)

would be?

More information about the Haskell-Cafe mailing list