I learned today - Elixir - Pipe operator - Calling a function with more than 1 parameter
In elixir the pipe operator |> allows you to pass the result of an expression as the first parameter of another expression.
For example:
list |> reverse
Where reverse is a function
However if the function takes more than 1 parameter, it is recommended to use parentheses to pass the second argument when using the pipe operator.
For example:
list |> take(5)
Where take is a function that takes 2 parameters
For more information about this you can go to Pipe Operator - Elixir School
https://elixirschool.com/en/lessons/basics/pipe-operator/