module

Immutable

Constants

VERSION = "0.1.24"

Class methods

from(object)

Recursively traverses the given object and turns hashes into Immutable::Map and arrays into Immutable::Vector

Source
map(keyvals : Hash(K, V)) forall K, V

Construct an Immutable::Map of the given key-values

Source
vector(elements : Array(T)) forall T

Construct an Immutable::Vector of the given elements

Source

Nested types