ProMode (pro_mode v0.1.4)

Brevity is bliss.

      - APLJKQ

Provides shortcuts for common Elixir functions.

Link to this section Summary

Functions

Enum.at

Enum.all?

Enum.any?

Enum.concat

Decrement argument by one

Enum.each

elem

Enum.filter

Enum.reject

Enum.find

Enum.find_index

IO.ANSI.format

Increment argument by one

Enum.join

Map.keys

Keyword.get

Keyword.put

length

List.first

List.last

Enum.map

Enum.max

Map.get

Enum.min

Map.put

Map with previous element

IO.puts

Enum.reduce

Enum.reduce

Enum.reverse

String.length

String.split

Enum.sort_by

Enum.sort_by

then

Matrix transpose

String.trim

Enum.unzip

Map.values

Enum.with_index

Enum.zip

Link to this section Functions

Enum.at

Enum.all?

Enum.any?

Enum.concat

Decrement argument by one

examples

Examples

iex> ProMode.dec(1) 0

Enum.each

elem

Enum.filter

Enum.reject

Enum.find

Enum.find_index

IO.ANSI.format

Increment argument by one

examples

Examples

iex> ProMode.inc(1) 2

Enum.join

Map.keys

Keyword.get

Keyword.put

length

List.first

List.last

Enum.map

Enum.max

Map.get

Enum.min

Map.put

Map with previous element

examples

Examples

Calculates deltas

iex> ProMode.mwp([1, 2, 3, 4], &-/2) [-1, -1, -1]

IO.puts

Enum.reduce

Enum.reduce

Enum.reverse

String.length

String.split

Enum.sort_by

Enum.sort_by

then

Matrix transpose

examples

Examples

iex> ProMode.tpose([[1, 2], [3, 4]]) [[1, 3], [2, 4]]

String.trim

Enum.unzip

Map.values

Enum.with_index

Enum.zip