What are the adjoint functor pairs corresponding to common monads in Haskell?
What you’re looking for is Kleisli category. It was originally developed to show that every monad can be constructed from two adjoint functors. The problem is that Haskell Functor is not a generic functor, it’s an endo-functor in the Haskell category. So we need something different (AFAIK) to represent functors between other categories: {-# LANGUAGE … Read more