UNPKG

@effect-ts/system

Version:

Effect-TS is a zero dependency set of libraries to write highly productive, purely functional TypeScript at scale.

12 lines (9 loc) 245 B
// ets_tracing: off import type { Ordering } from "../Ordering/index.js" /** * `Ord[A]` provides implicit evidence that values of type `A` have a total * ordering. */ export interface Ord<A> { readonly compare: (x: A, y: A) => Ordering }