mirror of
https://github.com/bitemyapp/learnhaskell.git
synced 2024-11-17 15:25:45 +00:00
spelling error, thanks @mwotton
This commit is contained in:
parent
83c67c707c
commit
178e62dd3a
@ -753,7 +753,7 @@ Arrows. Really quickly, here’s Yoneda and Coyoneda (the “two” free
|
||||
functors)
|
||||
|
||||
```haskell
|
||||
newtype Yoneda f a = Yoenda { runYoneda :: forall b . (a -> b) -> f b }
|
||||
newtype Yoneda f a = Yoneda { runYoneda :: forall b . (a -> b) -> f b }
|
||||
data Coyoneda f b where Coyoneda :: f a -> (a -> b) -> Coyoneda f b
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user