Remix.run Logo
dev_l1x_be 8 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#.

simonask 7 days ago | parent | next [-]

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.

realharo 7 days ago | parent | prev [-]

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