Re:Two Vexing Problems in Functional Programming
by marcosdumay on Friday April 01, 2022 @04:58PM
(#30883247)
Ouch, I read STM every time I looked at it.
None of what I said applies to ST.
None of what I said applies to ST.
I mean that when you run ST code twice with the same input, you will get the same output. E.g., if I write (runST f) + (runST f), that's the same as 2 * (runST f), etc.
As for thinking, it means I don't use step-through debuggers ever, because I don't need the whole program to be in a certain state to watch what happens. I just grab the function, grab the input, and run it in isolation.