Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


I have not yet seen such long chains in Elixir. Could you show me a project where it is used?

"map(a => aidup)" caught me by surprise, too. Would Elixir do such a thing?


Thanks. I don’t know elixir.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: