Skip to content

Commit 29f6590

Browse files
authored
Fix typos/grammar in concept.rst (#491)
* Fix typo in concept.rst * Fix grammar: add missing pronoun Either or: - It allows one/us to do something - It allows doing something * Fix typo in define
1 parent 0b958c8 commit 29f6590

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/pages/concept.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ To use typeclasses you should understand these steps:
2727
F2 --> F3["Calling"]
2828

2929
Let's walk through this process step by step.
30-
The first on is "Typeclass definition", where we create a new typeclass:
30+
The first one is "Typeclass definition", where we create a new typeclass:
3131

3232
.. code:: python
3333
@@ -174,7 +174,7 @@ This registry is using ``isinstance`` function
174174
to find handler that fits the defined predicate.
175175
It has the highest priority among other dispatch methods.
176176

177-
This allows to sync both runtime and ``mypy`` behavior:
177+
This allows us to sync both runtime and ``mypy`` behavior:
178178

179179
.. code:: python
180180
@@ -361,7 +361,7 @@ Overriding and extending existing instances
361361
362362
Sometimes we really need to override how things work.
363363
With objects and classes this can be problematic,
364-
because we would need to definie a new subclass
364+
because we would need to define a new subclass
365365
and chances are that it won't be used in some situations.
366366
367367
With ``@typeclass`` overriding something is as easy.

0 commit comments

Comments
 (0)