Elixir catch of the day: parentheses

Published on 21 December 2015

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

write_line(socket)

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