Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
(comment thread) The adjunction that induces the Reader monad #19
There are several ways to turn a given monad into an adjunction, which give different adjunctions. One of them is rather trivial: if you go to the Kleisli category (whose arrows
I believe that neither of those two constructions coincide with the one given in the StackOverflow answer, which is in a sense "more interesting". I don't know where it comes from, but I would bet it is from a non-trivial reflection on this particular monad, rather than by mechanically applying a technique that would work for any monad (like the Kleisli and Eilenberg-Moore constructions).
Yeah, we had considered the Kleisli and Eilenberg-Moore constructions, but since that works in every case it's not very interesting and it seemed dissatisfying that