[Haskell-cafe] instance Enum Double considered not entirely great?
Felipe Almeida Lessa
felipe.lessa at gmail.com
Wed Sep 21 03:59:25 CEST 2011
On Tue, Sep 20, 2011 at 7:38 PM, Maciej Marcin Piechotka
<uzytkownik2 at gmail.com> wrote:
> +1 for:
> class Eq a => IEEEEq a where
> (<.) :: a -> a -> Bool
> (>.) :: a -> a -> Bool
We already have this but it is hidden inside a library. It's called
PartialOrd  and it's on the logfloat package.
class PartialOrd a where
cmp :: a -> a -> Maybe Ordering
More information about the Haskell-Cafe