Is there any algebraic structures used in functional programming other then monoid?
I recently getting to know about functional programming (in Haskell and Scala). It’s capabilities and elegance is quite charming. But when I met Monads, which makes use of an algebraic structure named Monoid, I was surprised and glad to see the theoretic knowledge I have been learning from Mathematics is made use of in programming. … Read more