Helper.DeepMerge (helper v1.0.1) View Source

Deep merge an enumerable into another.

This is a skin over an existing library deep_merge in github. Many thanks to @danielsdeleo for making this library available.

This module exposes one function, viz: merge/2, that can deep merge two lists or two maps or a list and a map in any order.

Link to this section Summary

Types

t()

Enumerator types for merge

Functions

Deep merge a keyword list or a map

Link to this section Types

Specs

t() :: keyword() | map()

Enumerator types for merge

Link to this section Functions

Specs

merge(t1, t2) :: t1 when t1: t(), t2: t()

Deep merge a keyword list or a map