RList.Support (REnum v0.8.0)
Summarized other useful functions related to Lit.
Defines all of here functions when use RList.Support
.
Link to this section Summary
Link to this section Types
Link to this type
type_enumerable()
Specs
type_enumerable() :: Enumerable.t()
Link to this section Functions
Link to this function
new(el)
Specs
Equal to [el]
.
Examples
iex> 1
iex> |> RList.new()
[1]
Link to this function
new(el, amount)
Specs
new(any(), non_neg_integer()) :: list()
Make a list of size amount.
Examples
iex> 1
iex> |> RList.new(3)
[1, 1, 1]