"use strict"
Object.defineProperty(exports, "__esModule", { value: true })
exports.string = exports.date = exports.number = exports.boolean = void 0
const operations_1 = require("./operations")
const compare = (x, y) => {
  return x < y ? -1 : x > y ? 1 : 0
}
exports.boolean = (0, operations_1.makeOrd)(compare)
exports.number = (0, operations_1.makeOrd)(compare)
exports.date = (0, operations_1.contramap_)(exports.number, (date) => date.valueOf())
exports.string = (0, operations_1.makeOrd)(compare)
//# sourceMappingURL=common.js.map
