Witchcraft v0.5.0 Witchcraft.Monad.Protocol protocol

The bases for Witchcraft.Monad

Summary

Functions

join takes a recursively nested data structure, and joins the two outermost levels together to result in one level. This may be seen as a “flattening” operation for most datatypes

Types

t :: term

Functions

join(deep)

Specs

join(any) :: any

join takes a recursively nested data structure, and joins the two outermost levels together to result in one level. This may be seen as a “flattening” operation for most datatypes.

Examples

iex>  join [[[1,2,3]]]
[[1,2,3]]