''All told, a #monad in X is just a monoid in the category of endofunctors of X, with product × replaced by composition of endofunctors and unit set by the identity endofunctor.”

''All told, a #monad in X is just a monoid in the category of endofunctors of X, with product × replaced by composition of endofunctors and unit set by the identity endofunctor.”
A #monad is when you know how to convert $M (M a)$ to $M a$, but not $M a$ to $a$.
거꾸로 상태 모나드로 강화 학습 하기 (1/2)
https://hackers.pub/@bgl/2025/reverse-state-monad-for-reinforcement-learning
For years and years I've avoided learning what a Monad is in programming, mostly because people are very bad at explaining it. Today I sat down to actually learn it and to my surprise it is pretty much what the Optional type in Java does.
Regards generic types vs higher types. I'm glad at least some of the explosion in complexity happened in notation rather than in my head.
I think this is the ugliest #monad explanation I’ve ever done (scraped from this morning course)
New quiz added to the community everyone! #kotlin #monad :
http://youtube.com/post/UgkxBCDoGKMkokKOnGGU-KeSL0habxiqdEY5?si=9mReH8btYu5HBPbp
The playlist "Monads are no Nomads" is gaining momentum, everyone! The playlist is rich with examples in Kotlin and Haskell. Why Haskell? Because Haskel is one of the languages that lays the foundations of pure functional programming. A bizarre word to describe a great concept over here:
#monad #functor #kotlin #haskell #coding
https://youtube.com/playlist?list=PLw1b-aiSLRZhpqdS2lJ9ACithA1HxpuwL&si=Hmj004ohkw9CaRSD
If a #Monad is a #Monoid in the category of #Endofunctors, you *must* acquit.
Something that confused me for a long time with haskell was how monads (which in haskell are just things with a couple methods) are able to make sure nothing ever leaves it (which is of course the thing that is so important about monads in haskell). Took me quite some while to understand that the thing is that you can't extract an value out of a monad with *only* the monad specific methods, but there is no reason why a type that is a monad shouldn't have some additional ones that can do that. I thought that something being a monad just *magically* made it impossible to extract a value out of. (Lists being monads was of course also pretty confusing to me because lists you can't access would be pretty bad lists…)
of course if the #monad is called M the #comonad is called ... W
https://hackage.haskell.org/package/comonad-5.0.8/docs/Control-Comonad.html
(TIL: Wario
https://en.wikipedia.org/wiki/Wario *
https://www.mariowiki.com/Mario_%26_Wario
* and Mario is for 丸い? https://en.wiktionary.org/wiki/%E3%81%BE%E3%82%8B%E3%81%84#Japanese)
i like lisp and haskell, why not both, Coalton
A #monad is just a monoid with an army and a navy.
The Next 700 Programming Languages, Volume 9
(1966) Landin, P. J.
Url: http://doi.acm.org/10.1145/365230.365257
#my_bibtex #__printed #calculus #game #monad #paper #parser #programming #programming_language_theory #rule #theory
@jcastroarnaud In #RM3, Both is considered valid. Validity itself is represented as a #monad, the logical modal operator Possible (
Classical logic is often represented as the natural logic of open sets. So that the boundary of any set is infinitesimal. 3-valued logic, #paraconsistent logic, #relevant logic, use CLOSED sets. The boundary has a thickness. You don't know if you are in set A, when you are on the boundary. It's A and not A
If you've been following my weird monoidal functor / coherence posts [1,2,3,4]... we are really getting close to finishing this project! It could be a matter of weeks. I'm excited because this project contains a cool blend of some mind-wringing 2-monad theory, followed by some (imo) genuinely useful applications to symmetric/braided monoidal functors, and then some real, detailed, actual examples. The doubling functor I mentioned a while back makes an appearance, along with (if we finally have it figured out, and we don't have to cut it) their even weirder friend, quadrupling!
We're working on getting the introduction and examples to be as clear as possible for readers who want to skip all of the not-entirely-easy middle part. I'm looking forward to saying more about it :)
[1] https://mathstodon.xyz/@nilesjohnson/110741323263984146
[2] https://mathstodon.xyz/@nilesjohnson/110876487813747736
[3] https://mathstodon.xyz/@nilesjohnson/110979458364785667
[4] https://mathstodon.xyz/@nilesjohnson/111070640771166081
#CategoryTheory
#Monad #MonoidalFunctor #PseudomorphismClassifier
@julesh I should have added the doi: https://doi.org/10.1016/j.entcs.2018.11.013
And maybe a hashtag #monad #powerset
Yet Another Haskell Tutorial
(2004) : Daume, H
url: http://users.umiacs.umd.edu/~hal/
#calculus #theory #game #monad #haskell #rule #my_bibtex