MVFM

ord/lt

Less than comparison — dispatches to the ord typeclass

const app = mvfm(prelude);
const prog = app({ x: "number", y: "number" }, ($) => {
  return $.lt($.input.x, $.input.y);
});
await fold(defaults(app), injectInput(prog, { x: 3, y: 8 }));
Ctrl+Enter