[Haskell-cafe] Numerals in input vs numerals in source

Dominic Steinitz dominic at steinitz.org
Wed Sep 24 09:14:54 UTC 2014


I am not sure this is an answer but languages like Python and R are
much less fussy and if you want to use data that they parse quite
happily then you have to do something like

 newtype LaxDouble = LaxDouble { laxDouble :: Double }

and write your own Read instance.



More information about the Haskell-Cafe mailing list