--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-core+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/6d0ba9d2-e23c-4325-b37d-d678fc5a5dd0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
There is also the question of, even if we can detect that you have subset, what does it mean? Does it mean you accept only the subset? If so, should we just ignore the other entries? Or do you want to accept the superset?
@callback ..spec..@callback hello(atom()):: any()@callback hello(:world):: any()defmodule A do
def hello(:world), ...
def hello(:josé)
def hello(a)
endthe following module would satisfy either individually, and as a result both together.
the following module would satisfy either individually, and as a result both together.So the subset callback exists only for documentation purposes right? Because anything else will be matched against the superset, correct?