Adjunctionからのmonad
Associated monad with an adjunction
Adjunction :
- left adjoint
- right adjoint
- counit
- unit
について、
とすると、
- endofunctor
- unit
- multiplication *1
はmonadになる。
State monads from currying
特に、
のとき、adjunction:
命題
- category
について、
とすると、上記の方法による関数:
は、surjectiveであるが、injectiveではない。
参考文献
- Categories for the Working Mathematician (Graduate Texts in Mathematics)
- Monad (functional programming) - Wikipedia, the free encyclopedia
*1:godement product