On 2008 Sep 28, at 18:42, Jason Dusek wrote:
 Maybe I'm missing something, but this doesn't seem right...

:; 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) =>

Looks right to me.  Remember that the translation of that is 10 * 10^4.

--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [EMAIL PROTECTED]
system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED]
electrical and computer engineering, carnegie mellon university    KF8NH


_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to