Haskell: Monads. A 5-minute introduction

preview_player
Показать описание
Yet another take on "what's a monad" in Haskell.
Рекомендации по теме
Комментарии
Автор

_"After many years drinking the functional Kool-Aid, which had no side effects by the way"_ LOL I love that line so much
This was so helpful, thank you so much!! This video explains it better than others have. Thank you!

kellybmackenzie
Автор

This video is gold. I'm finally beginning to understand monads better.

Bobbias
Автор

This video is incredible. Most people view monads as a mathematical concept which only the most elite of programmers can learn which often leads to over-complicated explanations. This video shows a great representation about monads while being incredibly easy to understand.

levibanks
Автор

What my professor at a T10 University couldn’t explain in a 1 hour lecture, this guy explained it in 5 minutes. Thanks a ton.

raghav
Автор

This video is perfect, useful example, clear example and a touch of humor (that match the explanation, no less). You have broken the curse of the monad, as you can comprehend it as well as explain it. Congratulations and thanks a lot

therru
Автор

The dude where's my car reference to explain a monad 🤣

leonf.
Автор

Watched pretty much all the 'what is a monad' videos (apart from any where some guy is making a silly face on the front). This is a very good one.

OscarSouth
Автор

The best explanation of a monad in my opinion is a function that returns the same type of object that it is given.
If you could use the result of a function as the input for the same function again, then the function is a monad.
(Well and technically there must be an input which result is itself, because monoids require identity).

JackDespero
Автор

Well I'm pretty sure I could watch this at 0.5 speed and still have no idea WTF you are talking about. Back to the literature it is for me...

redcollard
Автор

Probably the most useful explanation of a monad I've ever seen. Thank you!

JDOLARownsU
Автор

I don't understand, but based on what John Blow said about people explaining monads ("they are simple but every explanation i've ever come across is absolute overcomplicated crap") I believe that I would understand even less from any other explanation.
(This is the first monad explanation that I've ever heard.)

MidnightSt
Автор

This is cool. I like going back-and-forth between practical and intuitive explanations like this, and the more formal ones.

ratfuk
Автор

Hands down the best Monad explanation I've ever heard. I've heard 10+ minute technical ramblings on youtube that couldn't explain their point as well as this guy did in 1 minute with a movie and a short animated clip

renni
Автор

"he clearly forgot how to use the return operator" that line is when i realised this is my new favourite channel

super-khan
Автор

This guy deserves a prize. Thank you so much

dk
Автор

So monads are actually an admission that sometimes an imperative program solves the problem better, and we produce some elaborate syntactical sugar to return them back into existence. For me it looks like the do-construction is ambiguous.

rursus
Автор

Great video. As a side note, there is slight omission in the type of the prelude lookup function, and should be:
_lookup :: Eq a => a -> [(a, b)] -> Maybe b_

viktorijazelnicki
Автор

Incredible video to get me started with monads!

JerryYang-qk
Автор

Great explanation Stephen, much appreciated!

ward_
Автор

Thank you so much for such an amazing video. You explained it so well.

mohammedahmed
visit shbcf.ru