max
import { max } from "https://raw.githubusercontent.com/baetheus/fun/main/sortable.ts";
Construct a maximum function over A from Sortable.
@example
import * as O from "./sortable.ts";
import { SortableNumber } from "./number.ts";
import { pipe } from "./fn.ts";
const max = O.max(SortableNumber);
const result1 = pipe(1, max(2)); // 2
const result2 = pipe(2, max(1)); // 2
const result3 = pipe(1, max(1)); // 1