Hi,All!
 I find out that diff between GHC and Hugs:
GHC:

*Prelude> sqrt 3+4+9
14.732050807568877
Prelude> sqrt 16
4.0
Prelude> sqrt $3+4+9
14.732050807568877*

Hugs:*Hugs> sqrt $ 3+4+9*
*4.0*
*Hugs> sqrt 3+4+9*
*14.7320508075689*

Which one is right?
Thanks.


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

Reply via email to