From Dave at haskell.org Fri Dec 8 21:38:47 2006 From: Dave at haskell.org (Dave@haskell.org) Date: Fri Dec 8 21:36:36 2006 Subject: Prelude.hs? Message-ID: <20061209023634.F0FEF324194@www.haskell.org> I have just built and installed Hugs 6.6 on AMD 64-bit OpenBSD 3.9. It seems to work ok, but I just discovered that the function primMinInt mentioned on page 13 of _The Haskell Road to Logic, Maths and Programming_ is not recognized. I also do not get 'Prelude>' as the prompt when I invoke hugs. I get 'Hugs>' instead. How do I get primMinInt to work? Thanks, Dave Feustel From dons at cse.unsw.edu.au Fri Dec 8 21:48:43 2006 From: dons at cse.unsw.edu.au (Donald Bruce Stewart) Date: Fri Dec 8 22:24:10 2006 Subject: Prelude.hs? In-Reply-To: <20061209023634.F0FEF324194@www.haskell.org> References: <20061209023634.F0FEF324194@www.haskell.org> Message-ID: <20061209024843.GA18806@cse.unsw.EDU.AU> Dave: > I have just built and installed Hugs 6.6 on AMD 64-bit OpenBSD 3.9. > It seems to work ok, but I just discovered that the function > primMinInt mentioned on page 13 of _The Haskell Road to Logic, Maths > and Programming_ is not recognized. I also do not get 'Prelude>' > as the prompt when I invoke hugs. I get 'Hugs>' instead. How do I > get primMinInt to work? Hmm, there's a few weird things in that bug report: Hugs 6.6? Do you mean GHC 6.6 or Hugs Sep2006? Anyway, primMinInt is just: instance Bounded Int where minBound = primMinInt maxBound = primMaxInt So you can get it as: Hugs.Base> minBound :: Int -2147483648 -- Don