category-theory-presentation/categories/30_How/200_Monads/070_Fix_Composition_1_2.md

10 lines
289 B
Markdown
Raw Normal View History

Fix Composition (1/2)
--------------------------------------------
Goal, find: `◎ :: (b -> F c) -> (a -> F b) -> (a -> F c)`
`f :: a -> F b`, `g :: b -> F c`:
- `(g ◎ f) x` ???
- First apply `f` to `x``f x :: F b`
- Then how to apply `g` properly to an element of type `F b`?