2 ms·
Yes, but there are often FP tricks and conveniences that make this unnecessary. Like chaining or composing function calls. result = x |> foo |> bar |> baz (->
by jimbokun 1y ago
Yes, but there are often FP tricks and conveniences that make this unnecessary.
Like chaining or composing function calls.
result = x |> foo |> bar |> baz
(-> x foo bar baz)
Or map and reduce for iterating over collections.
Etc.
- nixpulvis 1y agoYea, very true. Not every language makes this nice though.