3 ms·
Some languages like OCaml have “pipeline” operator like `|>`, others like D allow you to chain function application `f.g.h()` instead of `h(g(f()))` [0] https:
by chromatin 5y ago
Some languages like OCaml have “pipeline” operator like `|>`, others like D allow you to chain function application `f.g.h()` instead of `h(g(f()))`
[0] https://www.cs.cornell.edu/courses/cs3110/2019sp/textbook/hop/pipelining.html https://www.cs.cornell.edu/courses/cs3110/2019sp/textbook/ho...
[1] https://tour.dlang.org/tour/en/gems/uniform-function-call-syntax-ufcs https://tour.dlang.org/tour/en/gems/uniform-function-call-sy...