Defdelegate different arity?

No, that cannot be done.

Just write it as def small(text, _, _), do: String.downcase(text), it is the same AFAIK.

Edit: looks like defdelegate pulls the docs too. More info: Is defdelegate necessary?

2 Likes