Skip to content

Commit 549cdaf

Browse files
committed
WhatTheFunctor
1 parent 8c983dc commit 549cdaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_chapters/haskell3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ map f (x:xs) = f x : map f xs
242242

243243
It’s easy to generalise this pattern to any data structure that holds one or more values: mapping a function over a data structure creates a new data structure whose elements are the result of applying the function to the elements of the original data structure. We have seen examples of generalising the idea of mapping previously, for example, mapping over a `Tree`.
244244

245-
In Haskell this pattern is captured in a type class called [`Functor`](/assets/functor.mp3), which defines a function called `fmap`.
245+
In Haskell this pattern is captured in a type class called [`Functor`](/assets/WhatTheFunctor.mp3), which defines a function called `fmap`.
246246

247247
```haskell
248248
Prelude> :i Functor

0 commit comments

Comments
 (0)