Using defdelegate
, is possible to alias a function with a different arity? For example I have function small/3
which is needing String.downcase
defdelegate small(text, _, _), to: String, as: :downcase
but this is not working. I only wish to call String.downcase
with the first arg to small/3
.