import * as fun from "https://deno.land/x/fun@v2.0.0/nil.ts";
This file contains the Nil algebraic data type. Nil is a native form of the
Option algebraic data type. Instead of encapsulating a value in a tagged
union it uses the native undefined
and null
types built in to javascript.
Unfortunately, this makes its algebraic structure implementations unsound in
some cases, specifically when one wants to use undefined or null as
significant values (meaning they have some meaning beyond empty).