Crate pike

Source
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 but pike_opt keeps going as long as the proceding functions retuns None. Returns the first Some value.
pike_res
Works similar to pike but pike_res exits the pipeline early if a function returns an Err()