defmodule SomeBehaviour do
@callback x(a, b) :: boolean
@callback c(a, b) :: binary
@optional_callbacks x: 2, c: 2
enddefmodule SomeBehaviour do
@callback x(a, b) :: boolean
@callback c(a, b) :: binary
@optional_callbacks SomeBehaviour
end
--
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-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/9150632a-e2a1-46c8-b885-b3fd297a2cf4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.