View source

abstract thx.Ord<A>(A -> A -> Ordering) from A -> A -> Ordering to A -> A -> Ordering

Available on all platforms

Class Fields

function fromCompare<A>(f:A -> A -> Int):Ord<A>

function fromIntComparison<A>(f:A -> A -> Int):Ord<A>

Instance Fields

function contramap<B>(f:B -> A):Ord<B>

function inverse():Ord<A>

inline function order(a0:A, a1:A):Ordering