Dextrin.Tuple (Dextrin v0.1.0)

Copy Markdown View Source

DXN tuple ({ ... }) — ordered, heterogeneous, arbitrary length. Wraps a list, not an Elixir tuple: DXN tuples have no fixed arity in the type system the way Elixir's do, and Dextrin.Array already claims the Elixir tuple for the one DXN type that actually is fixed-size/indexed.

Summary

Types

t()

@type t() :: %Dextrin.Tuple{items: [term()]}

Functions

new(items)

@spec new([term()]) :: t()