Skip to main content
Module

x/fun/mod.ts>decoder.init

A collection of algebraic data types, lenses, and schemables based on a light weight higher kinded type implementation. Written for deno.
Go to Latest
function decoder.init
import { decoder } from "https://deno.land/x/fun@v2.0.0-alpha.12/mod.ts";
const { init } = decoder;

Construct an init DecodeError. This is a many that contains no errors.

Examples

Example 1

import * as D from "./decoder.ts";

const result = D.init(); // DecodeError