mirror of
https://github.com/hablapps/DontFearTheProfunctorOptics.git
synced 2024-09-11 17:15:28 +03:00
Update Profunctors.md
`fmap` for `((->) r)` is `(.)`, not `flip (.)`
This commit is contained in:
parent
8ad20e680f
commit
a601e49109
@ -26,7 +26,7 @@ result type:
|
||||
|
||||
```haskell
|
||||
instance Functor ((->) r) where
|
||||
fmap f g = g . f
|
||||
fmap f g = f . g
|
||||
```
|
||||
|
||||
Contravariant functors are pretty much like functors, but they require a
|
||||
|
Loading…
Reference in New Issue
Block a user