[Haskell-cafe] Set of reals...?

Ben Rudiak-Gould Benjamin.Rudiak-Gould at cl.cam.ac.uk
Fri Oct 29 08:21:17 EDT 2004

Keith Wansbrough wrote:

 >Which brings me to a question: is there a better way to write -inf and
 >+inf in Haskell than "-1/0" and "1/0"?

Shouldn't (minBound :: Double) and (maxBound :: Double) work? They 
don't, but shouldn't they?

-- Ben

More information about the Haskell-Cafe mailing list