Skip to main content
Module

x/fun/state.ts>State

A collection of algebraic data types, lenses, and schemables based on a light weight higher kinded type implementation. Written for deno.
Latest
type alias State
import { type State } from "https://deno.land/x/fun@v2.0.0/state.ts";

The State<E, A> type represents the core State structure. The input/output variable E is invariant, and the output variable A is covariant.

definition: (e: E) => [A, E]