▲ | daxfohl 7 hours ago | |||||||
It'd be good to start with a preamble "what is algebraic about boolean algebra" since most coders should be familiar with the concept. That helps clarify what is even meant by the term "algebra" in abstract contexts. Then you could show how these things relate to ADTs and effects. | ||||||||
▲ | taeric 7 hours ago | parent [-] | |||||||
The problem with this is still that you are sticking with the algebra over the boolean values. And you are going to use + and * in doing so. Then, you are going to move to discussing the algebra over types and effects. In such a way that you don't actually use + or * to represent the operations. | ||||||||
|