category-theory-presentation/categories/30_How/200_Monads/070_Fix_Composition_1_2.md
2013-02-28 16:49:12 +01:00

289 B

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 xf x :: F b
  • Then how to apply g properly to an element of type F b?