Stories and Cheat-Sheets

#Haskell

Rebuilding Grep

Source code: https://github.com/hlud6646/grep-haskell

Grep seems like such an innocent tool, but it does a lot. Rebuilding it was a hard project for me and I am proud of what I have learned along the way. This post is a summary of those things. From a bird’s eye perspective:

  • Developing an …
Rebuilding Grep

Boolean Monoid

The homework question asks ‘How many different instances of Monoid are there for the Boolean data type?’ In stead of a mathematical proof I chose a search, motivated by the fact that there are $16$ possible binary operators on the set $B = [True, False]$ and that I didn’t want to …

Boolean Monoid