Elixir catch of the day: parentheses

In general parentheses can be omitted in Elixir function calls. so the call


is identical to

write_line socket

However, if you are using the pipe operator |> this is not the case. The parentheses are mandatory on usage of the pipeline operator.

Source: Elixir Getting started, in the block quote