Pipe into operators
Since Elixir operators are macros defined on Kernel or in a submodule of Kernel, we can pipe into them when we call the function on Kernel:
true |> || false # this raises a syntax error
true |> Kernel.||(false) # valid Elixir
Real world example from the Phoenix source: https://github.com/phoenixframework/phoenix/blob/master/lib/phoenix/router/helpers.ex#L31-L36
Tweet