import { state } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { flatmap } = state;
Pass the A value in a State<S, A> into a function (a: A) => State<S, I>. This results in a new State<S, I>.
import { state } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { flatmap } = state;
Pass the A value in a State<S, A> into a function (a: A) => State<S, I>. This results in a new State<S, I>.