[Haskell-cafe] Float instance of 'read'
noteventime at gmail.com
Tue Sep 16 16:19:31 EDT 2008
Wouldn't that make it hard to parse lists of floats?
On Tue, 2008-09-16 at 09:29 -0300, Mauricio wrote:
> A small annoyance some users outside
> english speaking countries usually
> experiment when learning programming
> languages is that real numbers use
> a '.' instead of ','. Of course, that
> is not such a problem except for the
> inconsistence between computer and
> free hand notation.
> 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")? I'm happy to
> finaly use a language where I can
> use words of my language to name
> variables, so I wonder if we could
> also make that step.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20080916/8e7301da/attachment.bin
More information about the Haskell-Cafe