read_doc v0.1.0 ReadDoc.Enum
Link to this section Summary
Functions
Does pretty much what it has to do, given it’s name
Link to this section Functions
Link to this function
map_reverse(coll, fun)
map_reverse([inp_t], (inp_t -> outp_t)) :: [outp_t] when inp_t: any(), outp_t: any()
Does pretty much what it has to do, given it’s name
iex> map_reverse([], fn x -> x end)
[]
iex> map_reverse([1], &(&1 + 1))
[2]
iex> map_reverse([1, 2], &(&1 * 2))
[4, 2]
iex> map_reverse(1..3, &(&1 - 1))
[2, 1, 0]