Macro git_next_core::pike_res
source · macro_rules! pike_res { ($head:tt $(|> $funs_head:tt $(:: $funs_tail:tt)*)+) => { ... }; }
Expand description
Works similar to pike
but pike_res
exits the pipeline early if a function returns an Err()
ⓘ
let result = pike_res!("http://rust-lang.org" |> download |> parse |> get_links);