When learning FP, it’s quite common to assume that modelling state mutation is hard. A simple value update in…
In programming, it’s quite common to express simple subsets of the system as predefined states and inputs that let your…