Copyright | (c) Henning Thielemann 2007 |
---|---|

Maintainer | numericprelude@henning-thielemann.de |

Stability | provisional |

Portability | portable |

Safe Haskell | Safe |

Language | Haskell98 |

# Documentation

class Eq a => C a where Source #

Definition of an alternative ordering of objects independent from a notion of magnitude. For an application see MathObj.PartialFraction.

ordCompare :: Ord a => a -> a -> Ordering Source #

liftCompare :: C b => (a -> b) -> a -> a -> Ordering Source #

Lift `compare`

implementation from a wrapped object.