interlude.ds

..
zippers
Array1

An array that is guaranteed to have at least one element

AsyncState

A type of function that takes an initial state X, and asynchronously produces an output value A and a new state

EitherTools

Extension methods for haxe's built-in Either type

Iterable1

An Iterable that is guaranteed to have at least one element

KeyValuePair

Lazy

Delays evaluation of a value until access to it is needed

MapTools

Extension methods for Map-like structures

NullTools

OptionTools

Extension methods for haxe's built-in Option type

Outcome

The result of an operation that can succeed or fail.
A Success holds the output of the operation, and a Failure holds the reason the operation failed.

OutcomeTools

Pair

A type that holds two values; essentially a 2-Tuple. Can be used with structure syntax.

Set

SetTools

State

A type of function that takes an initial state X, and produces an output value A and a new state

These

TheseTools

Trio

A type that holds three values; essentially a 3-Tuple. Can be used with structure syntax.

Unit

A type with only one possible value

Weighted

Represents a weighted probability distribution. Supports a tree-structure for weights with Weighted<Weighted<A>>