Showing posts with label monoid. Show all posts
Showing posts with label monoid. Show all posts

Sunday, March 25, 2018

Functors, Applicative Functors and Monoids



Haskell's combination of purity, higher order functions, parameterized algebraic data types, and typeclasses allows us to implement polymorphism on a much higher level than possible in other languages. We don't have to think about types belonging to a big hierarchy of types.

Monday, February 5, 2018

The wizard monoid



Recent versions of GHC 8.0 provides a Monoid instance for IO and this post gives a motivating example for why this instance is useful by building combinable "wizard"s.

bundlephobia

JavaScript bloat is a more real problem today than it ever was. Bundlephobia lets you understand the performance cost of adding a npm pack...