Skip to content

Comment on Snap for Beginners: Haskell Web Developmentparent

Comments

yes, thats a commutative monoid. Thinking of a monoid as "concatenation" is much more general concept that includes that one

Only by removing all meaning from the word "concatenation" and taking is to mean "associative with identity" , which is what a monoid is. Concatenation is a special case, not the whole of monoid.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.