|
Data.Number.PartialOrd | Portability | semi-portable (overlapping instances, etc) | Stability | provisional | Maintainer | wren@community.haskell.org |
|
|
|
Description |
The Prelude's Ord class for dealing with ordered types is often
onerous to use because it requires Eq as well as a total
ordering. While such total orderings are common, partial orderings
are moreso. This module presents a class for partially ordered
types.
|
|
Synopsis |
|
|
|
Documentation |
|
class PartialOrd a where | Source |
|
This class defines a partially ordered type. The method names
were chosen so as not to conflict with Ord and Eq. We use
Maybe instead of defining new types PartialOrdering and
FuzzyBool because this way should make the class easier to
use.
Minimum complete definition: cmp
| | Methods | | | Instances | |
|
|
Produced by Haddock version 2.3.0 |