Module tanya.typecons

Type constructors.

This module contains templates that allow to build new types from the available ones.

Functions

NameDescription
option(value) Creates a new Option.

Structs

NameDescription
Option Option is a type that contains an optional value.
Tuple Tuple can store two or more heterogeneous objects.
Variant Type that can hold one of the types listed as its template parameters.

Templates

NameDescription
tuple Creates a new Tuple.