▲ | johnisgood a day ago | |||||||||||||
Is it a fair comparison? Would it work in Elixir? I have not seen it in Elixir projects as such. | ||||||||||||||
▲ | Jtsummers a day ago | parent [-] | |||||||||||||
Adjusting for the actual Elixir functions, yes that would work. That's how Elixir's |> works, it takes the value from the left and passes it as the first argument to function on the right. Which is what the chain of calls in D is doing. | ||||||||||||||
|