🤩 Understand Functor and Monad at a glance ~ Preview of UNIT3 THEORY’s overview
- Ordinary function
- Monad function (Kleisli arrow)
- (Endo)Functor and Monad are two sides of the same mathematical structure
- The relationship between $id$ and $ID$ of (Endo)Functor and Monad
- Pipelined functions can be linked (function composition)
In (Endo)Functor, functions are linked and composed in the pipeline for both the contents and the shell of the container
In Monad, link for Monad function is Kleisli composition
- In (Endo)Functor, functions are linked and composed in the pipeline for both the contents and the shell of the container
- In Monad, link for Monad function is Kleisli composition
Top comments (0)