Re:Overthinking Fizzbuzz with Monoids
by imtringued on Thursday September 14, 2017 @06:13AM
(#15246447)
You can form a monoid with almost everything. It'S not a very interesting concept that requires more attention than maybe reading the definition. These blogposts are pointless in my opinion. The title makes as much sense as "Overthinking cooking with edibles".
[ Parent
| on HN ]
Re:Overthinking Fizzbuzz with Monoids
by KirinDave on Thursday September 14, 2017 @11:10AM
(#15248787)
Monoids are certainly not the most "interesting" thing, but neither are arrays, or even sets. But they're quite important and useful in a parametrically polymorpic world. That's why it's worth introducing them to people new to FP.
Ultimately, these sorts of posts are feeders to conversations about other bigger abstractions like Functors.
The title and the post both grant that for fizzbuzz as asked in many settings, but without a simple domain these conversations tend to explode in complexity. So there it is.