[Haskell-cafe] bug in number reading?
Jason Dusek
jason.dusek at gmail.com
Sun Sep 28 18:42:22 EDT 2008
Maybe I'm missing something, but this doesn't seem right...
--
_jsn
:; ghc -e '10e4'
<interactive>:1:0:
Warning: Defaulting the following constraint(s) to type `Double'
`Fractional a' arising from a use of `it' at <interactive>:1:0-3
In the first argument of `print', namely `it'
In the expression: print it
In a stmt of a 'do' expression: print it
100000.0
it :: forall t. (Fractional t) => t
More information about the Haskell-Cafe
mailing list