• baseless_discourse@mander.xyz
    link
    fedilink
    arrow-up
    42
    ·
    1 year ago

    Every monad is a monoid in the category of endofunctors, it is literally the definition of monad. But what do you expect from clippy…

    • umbraroze@kbin.socialOP
      link
      fedilink
      arrow-up
      24
      ·
      1 year ago

      Yeah, the thing is, “a monad is a monoid in the category of endofunctors” is kind of a meme among non-Haskell developers. Personally, I think Haskell is a very interesting language. The mathematical jargon, however, is impenetrable, and this particular expression is kind of the poster child. I’mma go look at Erlang if I want my functional language fix without making my head hurt, thank ye very much.

  • cabhan@discuss.tchncs.de
    link
    fedilink
    arrow-up
    24
    ·
    1 year ago

    I wish this was exaggerated, but it isn’t at all. Every time I try to learn Haskell, I end up in some tutorial: “You know how you sometimes need to represent eigenvectors in an n-dimensional plane with isotonically theoretical pulsarfunctions? Haskell types make that easy!”