MVFM

str

String manipulation operations. Provides typeclass instances for equality and display of strings.

Included on the default interpreter.

const app = mvfm(prelude);

const prog = app({ first: "string", last: "string" }, ($) =>
  $.upper($.concat($.input.first, " ", $.input.last))
);

await fold(
  defaults(app),
  injectInput(prog, { first: "Jane", last: "Doe" })
);
Ctrl+Enter