3 ms·
That sort of chaining seems a bit like the method chains you have in some languages, like Java streams, C# LINQ and Rust iterators. That sort of "functional con
by LinAGKar 5y ago
That sort of chaining seems a bit like the method chains you have in some languages, like Java streams, C# LINQ and Rust iterators. That sort of "functional constructs when it fits" is getting popular, even if pure functional isn't gaining much popularity.
- scns 5y agoIn D, Flix [0] and Nim you can use UFCS [1] to chain functions. [0] https://flix.dev/principles/ https://flix.dev/principles/ [1] https://en.wikipedia.org/wiki/Uniform_Function_Call_Syntax?wprov=sfla1 https://en.wikipedia.org/wiki/Uniform_Function_Call_Syntax?w...