Since 0.10.3 you need to put the partial application between parentheses preceded by the & operator.
You won’t have any trouble with this version:
iex> square = &(&1 * &1)
iex> square.(5)
25
iex> cube = &(&1 * &1 * &1)
iex> cube.(5)
125
Since 0.10.3 you need to put the partial application between parentheses preceded by the & operator.
You won’t have any trouble with this version:
iex> square = &(&1 * &1)
iex> square.(5)
25
iex> cube = &(&1 * &1 * &1)
iex> cube.(5)
125