On Tue, Sep 20, 2011 at 7:38 PM, Maciej Marcin Piechotka
<[email protected]> 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 [1] and it's on the logfloat package.
class PartialOrd a where
cmp :: a -> a -> Maybe Ordering
...
http://hackage.haskell.org/packages/archive/logfloat/0.12.1/doc/html/Data-Number-PartialOrd.html
--
Felipe.
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe