RE: Stricness of floor etc

2003-03-18 Thread Simon Marlow
Looking at ghc --show-iface .../ghc/lib/ghc-5.05/imports/base/GHC/Float.hi I see floor1 :: forall b. (GHC.Real.Integral b) = Double - b __S L properFraction2 :: forall b. (GHC.Real.Integral b) = Double - (b, Double) __S L

Re: Stricness of floor etc

2003-03-18 Thread Ian Lynagh
On Tue, Mar 18, 2003 at 10:22:52AM -, Simon Marlow wrote: floor1 :: forall b. (GHC.Real.Integral b) = Double - b __S L This floor is the dictionary selector, and for various (complicated looking) reasons it is lazy in its dictionary argument. Aha! Thanks.