Skip to content

Commit c15cd63

Browse files
aestevebishabosha
andauthored
remove the "we don't care" part
Co-Authored-By: Jamie Thompson <[email protected]>
1 parent 716ae0c commit c15cd63

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
@@ -81,7 +81,7 @@ assert(3 == List(1, 2).combineAll)
8181

8282
A `Functor` for a type provides the ability for its values to be "mapped over", i.e. apply a function that transforms inside a value while remembering its shape. For example, to modify every element of a collection without dropping or adding elements.
8383
Let's name our "type containing zero or more elements" `F`. It's a type constructor: the type of its values becomes concrete when provided a type argument.
84-
Therefore we'll write it `F[_]` since we don't really care about the type of the elements it contains.
84+
Therefore we write it `F[_]`, hinting that it is a type with internal details we can inspect.
8585
The definition of a generic `Functor` would thus be written as:
8686

8787
```scala

0 commit comments

Comments
 (0)