[personal profile] sassa_nf
https://log.lain.li/blog/algebras-in-list-monad/

This blog is wrong.

In another post we constructed a monad over Maybe (BTree a)). Then a monad algebra for it is σ such that σ Nothing = 0, and σ (Just (BTree Int)) = product of integers in the tree.

And yet it won't give rise to a monoid, because clearly 0 is not Empty for a product monoid.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

sassa_nf

March 2025

S M T W T F S
      1
23 4567 8
9101112131415
16171819202122
23242526272829
3031     

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 28th, 2025 03:32 am
Powered by Dreamwidth Studios