Module

Data.Ord.Partial

Package
purescript-partial-order
Repository
colehaus/purescript-partial-order

#PartialOrd Source

class (Eq a) <= PartialOrd a  where

Members

Instances

#lessThan Source

lessThan :: forall a. PartialOrd a => a -> a -> Boolean

#greaterThan Source

greaterThan :: forall a. PartialOrd a => a -> a -> Boolean

#lessThanOrEq Source

lessThanOrEq :: forall a. PartialOrd a => a -> a -> Boolean

#greaterThanOrEq Source

greaterThanOrEq :: forall a. PartialOrd a => a -> a -> Boolean

#(<) Source

Operator alias for Data.Ord.Partial.lessThan (left-associative / precedence 4)

#(<=) Source

Operator alias for Data.Ord.Partial.lessThanOrEq (left-associative / precedence 4)

#(>) Source

Operator alias for Data.Ord.Partial.greaterThan (left-associative / precedence 4)

#(>=) Source

Operator alias for Data.Ord.Partial.greaterThanOrEq (left-associative / precedence 4)

#comparing Source

comparing :: forall a b. PartialOrd b => (a -> b) -> (a -> a -> Maybe Ordering)

#min Source

min :: forall a. PartialOrd a => a -> a -> Maybe a

#max Source

max :: forall a. PartialOrd a => a -> a -> Maybe a

#clamp Source

clamp :: forall a. PartialOrd a => a -> a -> a -> Maybe a

#between Source

between :: forall a. PartialOrd a => a -> a -> a -> Boolean