We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c7fb0d commit d4efc7bCopy full SHA for d4efc7b
lib/elixir/lib/dict.ex
@@ -258,6 +258,9 @@ defmodule Dict do
258
already exists in `dict`, the `dict` value is replaced by the `enum`
259
value.
260
261
+ The `enum` must yield tuples with two elements on enumeration,
262
+ where the first element represents the key and the second the value.
263
+
264
## Examples
265
266
iex> d1 = dict_impl.new([a: 1, b: 2])
@@ -277,6 +280,9 @@ defmodule Dict do
277
280
already exists in `dict`, the given function is invoked to resolve
278
281
the conflict.
279
282
283
284
285
286
287
288
0 commit comments