evaluate
import { evaluate } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/state.ts";Extract the result value A by executing State<S, A> with an S value.
@example
import * as S from "./state.ts";
import { pipe } from "./fn.ts";
const result = pipe(
S.id<number>(),
S.map(n => n + 1),
S.evaluate(10),
); // 11