Mutable Value Semantics Trend vs Immutability

Unfortunately, that “truth” still resists a denotative representation:

…but as I noted earlier, it’s mutation which is the actual mathematical misfit.


Some here (including me) would beg to differ:

As further evidence of this, consider the type ST s a. Just like IO a, it facilitates mutation and thus relies on sequencing - surely it must be just as irritating!

But of the two, only IO a seems to attract all the criticism e.g:

…a curious dichotomy.


…more precisely, strict functional and imperative programming:


…which is why Haskell has the type ST s a - see State in Haskell (mentioned here) for the details.