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
pike
butpike_opt
keeps going as long as the proceding functions retunsNone
. Returns the firstSome
value. - pike_
res - Works similar to
pike
butpike_res
exits the pipeline early if a function returns an Err()