Not signed in (Sign In)

Not signed in

Want to take part in these discussions? Sign in if you have an account, or apply for one below

  • Sign in using OpenID

Site Tag Cloud

2-category 2-category-theory abelian-categories adjoint algebra algebraic algebraic-geometry algebraic-topology analysis analytic-geometry arithmetic arithmetic-geometry book bundles calculus categorical categories category category-theory chern-weil-theory cohesion cohesive-homotopy-type-theory cohomology colimits combinatorics comma complex complex-geometry computable-mathematics computer-science constructive cosmology deformation-theory descent diagrams differential differential-cohomology differential-equations differential-geometry digraphs duality elliptic-cohomology enriched fibration finite foundation foundations functional-analysis functor gauge-theory gebra geometric-quantization geometry graph graphs gravity grothendieck group group-theory harmonic-analysis higher higher-algebra higher-category-theory higher-differential-geometry higher-geometry higher-lie-theory higher-topos-theory homological homological-algebra homotopy homotopy-theory homotopy-type-theory index-theory integration integration-theory k-theory lie-theory limits linear linear-algebra locale localization logic mathematics measure-theory modal modal-logic model model-category-theory monad monads monoidal monoidal-category-theory morphism motives motivic-cohomology nlab noncommutative noncommutative-geometry number-theory of operads operator operator-algebra order-theory pages pasting philosophy physics pro-object probability probability-theory quantization quantum quantum-field quantum-field-theory quantum-mechanics quantum-physics quantum-theory question representation representation-theory riemannian-geometry scheme schemes set set-theory sheaf simplicial space spin-geometry stable-homotopy-theory stack string string-theory superalgebra supergeometry svg symplectic-geometry synthetic-differential-geometry terminology theory topology topos topos-theory tqft type type-theory universal variational-calculus

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

Welcome to nForum
If you want to take part in these discussions either sign in now (if you have an account), apply for one now (if you don't).
    • CommentRowNumber1.
    • CommentAuthorUrs
    • CommentTimeMay 19th 2021
    • (edited May 19th 2021)

    I have added (here) pointer to:

    (This edit prompted by discussion in another thread of the same name: here)

    diff, v6, current

    • CommentRowNumber2.
    • CommentAuthorUrs
    • CommentTimeSep 16th 2023
    • (edited Sep 16th 2023)

    This entry deserves a more contentful statement of what “monad transformers” are meant to be.

    I guess people really mean something close to: pointed endofunctors on the category MndMnd of monads, hence:

    For each monad \mathcal{E}

    • a new monad \mathcal{E}'

    • equipped with a monad morphism t :t_{\mathcal{E}} \colon \mathcal{E} \to \mathcal{E}'

    (that’s what the Haskell pages seem to define)

    and (do people consider this?)

    • the condition that the transformations t t_{\mathcal{E}} are natural.

    [edit: Only now following the links in the above thread, I am reminded that Sergei Winitzki said just that here. So I’ll go ahead and finally make the edit here…]

    diff, v7, current

    • CommentRowNumber3.
    • CommentAuthorUrs
    • CommentTimeSep 16th 2023

    I have re-written the Idea-section and mentioned the conceptualization of monad ransformers as pointed endofunctors on MndMnd.

    diff, v7, current

    • CommentRowNumber4.
    • CommentAuthorUrs
    • CommentTimeSep 17th 2023

    added pointer to what I gather are the original articles:

    diff, v10, current

    • CommentRowNumber5.
    • CommentAuthorUrs
    • CommentTimeSep 23rd 2023

    added a section (here)

    making explicit the definition of monad transformers by Liang, Hudak & Jones 1995

    and then proving that it is equivalent to monad morphisms in the sense of Maranda 1966.

    That is, disregarding the naturality issue which Liang et al. seem to rather gloss over. What I am proving is that a natural transformation between monads satisfies their respect for the bind- operation iff it respects the join in the sense of Maranda.

    (The statement/proof is evident/immediate, but I haven’t seen it mentioned anywhere before.)

    diff, v12, current

    • CommentRowNumber6.
    • CommentAuthorUrs
    • CommentTimeSep 23rd 2023

    Oh, I see now: Naturality of the transformation is already implied by its respect for return and bind. Will edit…

    • CommentRowNumber7.
    • CommentAuthorUrs
    • CommentTimeSep 23rd 2023

    expanded the proof (here) to derive the naturality clause

    diff, v13, current

    • CommentRowNumber8.
    • CommentAuthorUrs
    • CommentTimeSep 23rd 2023

    added pointer to:

    • Tom Schrijvers, Maciej Piróg, Nicolas Wu, Mauro Jaskelioff Monad transformers and modular algebraic effects: what binds them together, in: Haskell 2019: Proceedings of the 12th ACM SIGPLAN International Symposium on Haskell (2019) 98–113 [doi:10.1145/3331545.3342595]

    who cite Liang et al. broadly but then state the compatibility condition in terms of the join.

    diff, v14, current

    • CommentRowNumber9.
    • CommentAuthorUrs
    • CommentTimeOct 9th 2023

    added a remark (here) that the previous discussion establishes a covariant functor from monads to their Kleisli categories.

    This deserves to be expanded on further, but I have to run now to attend a seminar…

    diff, v18, current