Definition 5.5 (Kleisli category). Let 𝕋 be a monad on C. The Kleisli category C𝕋 is defined by ob⁡C𝕋=ob⁡C, morphsims A→fB in C𝕋 are morphisms A→fTB in C. The identity A→A is A→ηATA, and the composite of A→fB→gC is A→fTB→TgTTC→μCTC.

For the unit and associative laws, consider the diagrams

  A       TB        TT B


fT1μηTBBB                 TB
  A         T A


  T B       T TB


μfTη1μAfTTBBB         T B
  A       TB        TTC        TT TD      T TD


fTTμTμμTμgTCμTDhDhDD                 TC         TT D       T D