File tree Expand file tree Collapse file tree 2 files changed +3
-39
lines changed Expand file tree Collapse file tree 2 files changed +3
-39
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -35,13 +35,13 @@ And we can see how this state is evolving during the execution.
35
35
Working with containers
36
36
-----------------------
37
37
38
- We use two methods to create new containers from the previous one.
38
+ We use two methods to create a new container from the previous one.
39
39
``bind `` and ``map ``.
40
40
41
41
The difference is simple:
42
42
43
- - ``map `` works with functions that return regular values
44
- - ``bind `` works with functions that return other containers of the same type
43
+ - ``map `` works with functions that return regular value
44
+ - ``bind `` works with functions that return new container of the same type
45
45
46
46
:func: `.bind <returns.primitives.container.Container.bind> `
47
47
is used to literally bind two different containers together.
You can’t perform that action at this time.
0 commit comments