You can replace
def mul(l), do: reduce(l, 1, &(&1 * &2))
with
def mul(l), do: reduce(l, &*/2)
shorter and easier to read ![]()
You can replace
def mul(l), do: reduce(l, 1, &(&1 * &2))
with
def mul(l), do: reduce(l, &*/2)
shorter and easier to read ![]()