What the fuck is a monad
>>58050192
Install Google Dictionary
it's just a monoid in the category of endofuctors, dummy.
>>58050192
the base material of everything
space-time, matter, energy...
the primordial information, basically god, but not in the demiurge way
>tfw too intelligent for functional programming
>>58050222
sketch
I believe it's an anonymous function. So just a return of a decision, which parameters are provided by the utilizing function of the monad.
You mean in philosophy? It is a term Leibniz invented to describe the indivisible smallest part of something metaphysical.
For example a thought can be split up in different categories and an idea is built up of parts. You could view it as some sort of "atomic" form of category.
>>58050254
>decision
definition
what the FUCK is a continuation monad
>>58050318
I feel like a Google Pro right now
https://wiki.haskell.org/All_About_Monads#The_Continuation_monad
>>58050192
It's actually pretty simple, but the functiontards keep explaining it in the stupidest ways so you'll never understand it.
This makes them feel intellectually superior.
>>58050408
I know that but what does it actually DO ?
>>58050426
explain it in a simple way
>>58050506
imagine all you have are transformations from Int to Int to Int to Int to Int etc
now imagine you change an inner transformation so that you can divide by 0
now you want to change the return type of that function a "Int?" type
to do that you use monad
>>58050540
that isn't simple
>>58050192
it's functional composition for values, which are wrapped within a context, i.e. "inside the monad"
>>58050506
read the book
http://learnyouahaskell.com/chapters
>>58050192
You know that map thing? Imagine if that worked on nullable objects.