Module tanya.typecons
Type constructors.
This module contains templates that allow to build new types from the available ones.
Functions
| Name | Description |
|---|---|
option(value)
|
Creates a new Option. |
Structs
| Name | Description |
|---|---|
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
| Name | Description |
|---|---|
tuple
|
Creates a new Tuple. |