import { type Decoder } from "https://deno.land/x/fun@v2.0.0/decoder.ts";
The Decoder<D, A> type represents a function that parses some input D into a value A or a DecodeError. This isn't true parsing of a grammar but instead a combination of refinement and error tracking.
definition: FnEither<D, DecodeError, A>