transmute v0.1.0 Transmute.Logic

Link to this section Summary

Functions

Merges two keyword lists together. Works on quoted expressions.

Link to this section Functions

Link to this macro

is_keyword(x) (macro)

Merges two keyword lists together. Works on quoted expressions.

iex> merge([a: 1], [b: 2])
[a: 1, b: 2]

iex> merge([a: 1], [a: 2])
[a: 2]

iex> merge([a: 1], quote(do: [a: 2]))
[a: 2]