Algebra is about composition

Share:

Listens: 0

Thoughts on Functional Programming Podcast by Eric Normand

Education


When we look at the definitions of algebraic properties, we often see that we are defining how things compose. This is one of the main advantages of using algebraic properties to constrain our operations. If we define how they should compose before we implement them (as a unit test, for instance) we can guarantee that things will compose.