Please log in to watch this conference skillscast.
One of the great things about Haskell is the way it enables us to recognize patterns, give them names, and reuse them. It's been noted before that monoids really are everywhere in programming, but that Haskell gives us more ability to see them than many languages do.
During this talk, you will explore a bit of background in Boolean algebra, focusing on the two fundamental operations, which are generalizations of addition and multiplication, and their identity elements. Julie will extend this to the Monoid typeclass in Haskell and illuminate those Boolean patterns over various types.
Julie will then extend this further, and you will discover how to examine the monoids of conjunction that typically underlie applicative functors and the monoids of disjunction that you find in the Alternative typeclass.
YOU MAY ALSO LIKE:
- Safe and Reproducible Deployments with Immutable Infrastructure (in Online Event on 28th May 2020)
- The Secrets of the GHC Garbage Collector (in Online Event on 11th June 2020)
- Lightning Talk: Making and Testing Code Generators in Haskell (SkillsCast recorded in October 2019)
- Functional Lenses Through a Practical Lens (SkillsCast recorded in October 2019)