File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ List of supported containers:
16
16
- :class: `RequiresContext <returns.context.requires_context.RequiresContext> `
17
17
to pass context to your functions (DI and similar)
18
18
19
- There are also some combintations like
19
+ There are also some combinations like
20
20
:class: `IOResult <returns.io.IOResult> `,
21
21
:class: `FutureResult <returns.future.FutureResult> `,
22
22
:class: `RequiresContextResult <.RequiresContextResult> `,
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ check_all_laws
72
72
--------------
73
73
74
74
We also provide a very powerful mechanism of checking defined container laws.
75
- It works in a combitation with "Laws as Values" feature we provide in the core.
75
+ It works in a combination with "Laws as Values" feature we provide in the core.
76
76
77
77
.. code :: python
78
78
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ Async containers
88
88
We also support async containers like ``Future `` and ``FutureResult ``.
89
89
It works in a similar way as regular sync containers.
90
90
But, they require ``async for `` expressions instead of regular ``for `` ones.
91
- And because of that - they cannot be used outsided of ``async def `` context.
91
+ And because of that - they cannot be used outside of ``async def `` context.
92
92
93
93
Usage example:
94
94
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ The last criteria we have to decided on naming is
76
76
That's why we have ``ResultLikeN `` and ``ResultBasedN `` interfaces.
77
77
Because ``ResultBasedN `` has two extra methods compared to ``ResultLikeN ``.
78
78
We use ``Like `` suffix for interfaces that describes some similar types.
79
- We use ``Based `` suffix for interfaces that descire almost concrete types.
79
+ We use ``Based `` suffix for interfaces that describe almost concrete types.
80
80
81
81
Laws
82
82
~~~~
Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ You might want to sometimes use ``unify`` :ref:`pointfree` functions
174
174
instead of ``.bind `` to compose error types together.
175
175
While ``.bind `` enforces error type to stay the same,
176
176
``unify `` is designed
177
- to return a ``Union `` of a revious error type and a new one.
177
+ to return a ``Union `` of a previous error type and a new one.
178
178
179
179
It gives an extra flexibility, but also provokes more thinking
180
180
and can be problematic in some cases.
You can’t perform that action at this time.
0 commit comments