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:
1616- :class: `RequiresContext <returns.context.requires_context.RequiresContext> `
1717 to pass context to your functions (DI and similar)
1818
19- There are also some combintations like
19+ There are also some combinations like
2020:class: `IOResult <returns.io.IOResult> `,
2121:class: `FutureResult <returns.future.FutureResult> `,
2222:class: `RequiresContextResult <.RequiresContextResult> `,
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ check_all_laws
7272--------------
7373
7474We 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.
7676
7777.. code :: python
7878
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ Async containers
8888We also support async containers like ``Future `` and ``FutureResult ``.
8989It works in a similar way as regular sync containers.
9090But, 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.
9292
9393Usage example:
9494
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ The last criteria we have to decided on naming is
7676That's why we have ``ResultLikeN `` and ``ResultBasedN `` interfaces.
7777Because ``ResultBasedN `` has two extra methods compared to ``ResultLikeN ``.
7878We 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.
8080
8181Laws
8282~~~~
Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ You might want to sometimes use ``unify`` :ref:`pointfree` functions
174174instead of ``.bind `` to compose error types together.
175175While ``.bind `` enforces error type to stay the same,
176176``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.
178178
179179It gives an extra flexibility, but also provokes more thinking
180180and can be problematic in some cases.
You can’t perform that action at this time.
0 commit comments