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
Link to this function
replace(functor, value)
View Sourcereplace(Realm.Functor.t(), any()) :: Realm.Functor.t()
Replace all inner elements with a constant value
Examples
iex> import Realm.Functor.Algebra
...> replace([1, 2, 3], "hi")
["hi", "hi", "hi"]