3 ms·
What does this have to do with imperative state? Take this program: compute x = 1 `div` (x - 3) map compute [1,2,3,4] Would seeing that it crashed in `co
by simiones 5y ago
What does this have to do with imperative state?
Take this program:
compute x = 1 `div` (x - 3)
map compute [1,2,3,4]
Would seeing that it crashed in `compute` in `map` be enough info to debug, or finding out that `x` was 3 when it did also help?
Edit: fixed to use integer division so we actually crash .