UNPKG

@prelude/cmp

Version:

Cmp module.

9 lines 255 B
import { asc, eq, dsc } from './prelude.js'; /** @returns comparision function from lower-than function. */ const ofLt = (lt) => (a, b) => lt(a, b) ? asc : lt(b, a) ? dsc : eq; export default ofLt; //# sourceMappingURL=of-lt.js.map