map -base -containers -bytestring
O(n) map f t is the Text obtained by applying f to each element of t. Subject to fusion. Performs replacement on invalid scalar values.
O(n) Like a combination of map and foldl'. Applies a function to each element of a Text, passing an accumulating parameter from left to right, and returns a final Text. Performs replacement on invalid scalar values.
The mapAccumR function behaves like a combination of map and a strict foldr; it applies a function to each element of a Text, passing an accumulating parameter from right to left, and returning a final value of this accumulator together with the new Text. Performs replacement on invalid scalar values.
Constructs a new array derived from the original array by applying a function to each of the elements.
Apply a function to transform the result of a continuation-passing computation.
* (mapCont f m) = f . runCont
Apply a function to transform the result of a continuation-passing computation.
* (mapContT f m) = f . runContT
Map the unwrapped computation using the given function.
* (mapErrorT f m) = f (runErrorT
>
Lift a unary operation to the new monad.
Show more results