[Haskell-cafe] Re: Float instance of 'read'
briqueabraque at yahoo.com
Wed Sep 17 10:54:12 EDT 2008
As of today, show ((1,2)::(Float,Float))
would not produce that kind of output.
Dan Piponi a écrit :
> 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