Realm v0.1.0 Realm.Functor.Algebra View Source

Link to this section Summary

Functions

Replace all inner elements with a constant value

Link to this section Functions

Replace all inner elements with a constant value

Examples

iex> import Realm.Functor.Algebra
...> replace([1, 2, 3], "hi")
["hi", "hi", "hi"]