Skip to content

Commit 74ff540

Browse files
author
Arnaud ESTEVE
committed
Fix typos
1 parent 6b7e497 commit 74ff540

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/contextual/typeclasses-new.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ assert(3 == List(1, 2).combineAll)
7979

8080
### Functors:
8181

82-
A `Functor` represents the ability for a type containing zero or more elements, and that can be "mapped over": applying a function to every of its elements.
82+
A `Functor` represents the ability for a type containing zero or more elements to be "mapped over", i.e. apply a function to every of its elements.
8383
Let's name our "type containing zero or more elements" `F`. It's a [higher-kinded type](http://guillaume.martres.me/publications/dotty-hk.pdf), since it contains elements of an other type.
8484
Therefore we'll write it `F[_]` since we don't really care about the type of the elements it contains.
8585
The definition of the `Functor` ability would thus be written as:

0 commit comments

Comments
 (0)