
24 Sep
2014
24 Sep
'14
10:28 a.m.
On 09/24/2014 04:14 AM, Dominic Steinitz wrote:
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.
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
The following works just fine. I think this is correct behavior. read "1%1" :: Rational -- Jonathan Paugh jpaugh@gmx.us