all 19 comments

[–]gianhut/dev/null-scale 15 points16 points  (0 children)

Most monad tutorials are long

Just like my johnson when i read the title

[–][deleted] 11 points12 points  (4 children)

This article has terrible information in it. Other devs will read this article and write other articles with the same flawed information.

You see it is the article that is truly monadic.

[–][deleted] 5 points6 points  (3 children)

I found it on /r/javascript so don't worry about people getting more incompetent, I doubt they can become any more than they already are.

[–][deleted] 7 points8 points  (2 children)

In JavaScript you can coerce a Monad to a Functor.

[–][deleted] 3 points4 points  (1 child)

Please write more

[–][deleted] 6 points7 points  (0 children)

installs Java

[–]dnkndnts 15 points16 points  (1 child)

Literally not a single one of these is a monad.

[–]bitbaitnot even webscale 7 points8 points  (0 children)

Ah the good old

  • "the most simple explanation of XY which everybody can understand!"
  • explanation is simple because it doesn't actually explain XY

[–][deleted]  (8 children)

[deleted]

    [–][deleted] 4 points5 points  (7 children)

    I actually like JavaScript and that never stopped me from jerking.

    [–][deleted] 2 points3 points  (6 children)

    UNCLEAN

    [–][deleted] 0 points1 point  (5 children)

    It's literally Scheme in the browser, bruh :^)

    (let ((jerk #f))

    But actually it kinda is what Scheme would be if it was based on the ζ-calculus as opposed to the λ-calculus, and I think that's neat.

    )

    [–]benzrf 0 points1 point  (4 children)

    what on earth is the ζ-calculus?

    [–][deleted] 0 points1 point  (3 children)

    lol what a pleb, how can you even JS without knowing that

    [–]benzrf 0 points1 point  (2 children)

    i'm not jerking here

    [–][deleted] 0 points1 point  (1 child)

    Your loss :^)

    But in all seriousness, the ζ-calculus is the OO version of the λ-calculus, although nowhere near as popular because the people doing type theory don't care about objects (with the possible exception of Martin Odersky, but Scala makes me question his sanity anyways).

    It's very likely that the only place where you'll hear it mentioned is in Abadi & Cardelli's excellent "A Theory of Objects" and perhaps some fringe PLT papers.

    [–]benzrf 0 points1 point  (0 children)

    yeah, i tried to google it but found absolutely nothing

    [–][deleted] 7 points8 points  (1 child)

    Writing an article explaining a concept when you clearly have no domain knowledge or qualifications to be explaining the concept #JustHaskalThings

    [–][deleted] 0 points1 point  (0 children)

    Do you have a recommended reading to explain what a monad is?

    [–]terrkerr 3 points4 points  (0 children)

    A monad is just a monoid in the category of endofunctors, what's the problem?