We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a2be0a commit 15f2165Copy full SHA for 15f2165
1 file changed
lib/elixir/lib/protocol.ex
@@ -21,7 +21,7 @@ defmodule Protocol do
21
the data structure.
22
23
Although Elixir includes specific functions such as `tuple_size`,
24
- `binary_size` and `map_size`, sometimes we want to be able to
+ `byte_size` and `map_size`, sometimes we want to be able to
25
retrieve the size of a data structure regardless of its type.
26
In Elixir we can write polymorphic code, i.e. code that works
27
with different shapes/types, by using protocols. A size protocol
0 commit comments