Expand description
§pipe_macros
A small macro library that allows you to pipe functions similar to the pipe operator in Elixir and F# (|>)
Macros§
- __
internal_ pike_ fun - Internal
- pike
- The pipe operator |> allows you to establish “pipelines” of functions in a flexible manner.
- pike_
opt - Works similar to
pikebutpike_optkeeps going as long as the proceding functions retunsNone. Returns the firstSomevalue. - pike_
res - Works similar to
pikebutpike_resexits the pipeline early if a function returns an Err()