Hacker News new | ask | show | jobs
by dev_l1x_be 317 days ago
Rust is next? Jokes aside, pipe operators in programming languages have a interesting side effect of enabling railway oriented programming that I miss the most when not working in F#.
2 comments

The way function/trait resolution works in Rust, it's actually already quite idiomatic to code in this style (just using the dot operator). The standard library Iterator is a great example of this. :-)

I don't think there's any significant push for an even terser syntax at the moment.

There is the `tap` crate (https://crates.io/crates/tap) which adds `tap`, `pipe` and their variants to everything.