We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent defad93 commit 37e5539Copy full SHA for 37e5539
lib/elixir/lib/protocol.ex
@@ -222,7 +222,8 @@ defmodule Protocol do
222
are known up-front, typically after all Elixir code in a project is compiled,
223
Elixir provides a feature called *protocol consolidation*. Consolidation directly
224
links protocols to their implementations in a way that invoking a function from a
225
- consolidated protocol is equivalent to invoking two remote functions.
+ consolidated protocol is equivalent to invoking two remote functions - one to
226
+ identify the correct implementation, and another to call the implementation.
227
228
Protocol consolidation is applied by default to all Mix projects during compilation.
229
This may be an issue during test. For instance, if you want to implement a protocol
0 commit comments