You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have readInt and readInteger but no readDouble. Of course, the implementation will be more complex compared to readInt, but I would like to see it unless there is some good reason to not have it.
The text was updated successfully, but these errors were encountered:
Checking it out, Data.ByteString.Lex.Fractional provides no way to parse "NaN" and "Infinity", which are supported by read. It also appears to sacrifice precision (for speed?) but makes no mention of it in the docs.
Sorry for the slow response. I would be happy to add these functions with correct rounding behavior. I'm not too fussed about matching read's behavior in other respects.
We have
readInt
andreadInteger
but noreadDouble
. Of course, the implementation will be more complex compared toreadInt
, but I would like to see it unless there is some good reason to not have it.The text was updated successfully, but these errors were encountered: