File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -326,7 +326,7 @@ defmodule MapSet do
326
326
end
327
327
328
328
@ doc """
329
- Filters the set by returning only the elements from `set ` for which invoking
329
+ Filters the set by returning only the elements from `map_set ` for which invoking
330
330
`fun` returns a truthy value.
331
331
332
332
Also see `reject/2` which discards all elements where the function returns
@@ -356,7 +356,7 @@ defmodule MapSet do
356
356
end
357
357
358
358
@ doc """
359
- Returns a set by excluding the elements from `set ` for which invoking `fun`
359
+ Returns a set by excluding the elements from `map_set ` for which invoking `fun`
360
360
returns a truthy value.
361
361
362
362
See also `filter/2`.
@@ -378,10 +378,10 @@ defmodule MapSet do
378
378
end
379
379
380
380
@ doc """
381
- Splits the `MapSet ` into two `MapSet`s according to the given function `fun`.
381
+ Splits the `map_set ` into two `MapSet`s according to the given function `fun`.
382
382
383
- `fun` receives each element in the `MapSet ` as its only argument. Returns
384
- a tuple with the first `MapSet` containing all the elements in `MapSet ` for which
383
+ `fun` receives each element in the `map_set ` as its only argument. Returns
384
+ a tuple with the first `MapSet` containing all the elements in `map_set ` for which
385
385
applying `fun` returned a truthy value, and a second `MapSet` with all the elements
386
386
for which applying `fun` returned a falsy value (`false` or `nil`).
387
387
You can’t perform that action at this time.
0 commit comments