Ordering overview

Added in v2.0.0


Table of contents


Ordering (type alias)

Signature

export type Ordering = -1 | 0 | 1

Added in v2.0.0

eqOrdering

Signature

export const eqOrdering: Eq<Ordering> = ...

Added in v2.0.0

invert

Signature

export function invert(O: Ordering): Ordering { ... }

Added in v2.0.0

monoidOrdering

Signature

export const monoidOrdering: Monoid<Ordering> = ...

Added in v2.4.0

sign

Signature

export function sign(n: number): Ordering { ... }

Added in v2.0.0

semigroupOrdering

Use monoidOrdering instead

Signature

export const semigroupOrdering: Semigroup<Ordering> = ...

Added in v2.0.0