then/2
then(value, fun)Pipes the first argument, value, into the function fun, and returns its result.
This is most commonly used in pipelines, using the |>/2 operator, allowing you to pipe a value to a function outside of its first argument.
then(value, fun)Pipes the first argument, value, into the function fun, and returns its result.
This is most commonly used in pipelines, using the |>/2 operator, allowing you to pipe a value to a function outside of its first argument.