Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Understanding Monoids using F#. Parent comment
You don't "construct" monoids intentionally, you instead realize that types you already have are monoids under the covers.
Realizing this structure and accentuating it is a good way to discover and enforce good program structure.
There are no comments on this comment yet.
You don't "construct" monoids intentionally, you instead realize that types you already have are monoids under the covers.
Realizing this structure and accentuating it is a good way to discover and enforce good program structure.