Algae v0.12.2 API Reference
Modules
Builder DSL to handle common ADT definition use cases
Represent branching conditions. These could be different return types, error vs nominal value, and so on
A “free” structure, similar to lists
The simplest ADT: a simple wrapper for some data
The sum of Algae.Maybe.Just
and Algae.Maybe.Nothing
.
Maybe represents the presence or absence of something
Represent a binary tree. Nodes may be empty, a leaf, or a branch (recursive subtree)
A tree with any number of nodes at each level