Haskell programs tend to use mutability sparingly, but in the real world problems arise where mutable references can offer us a way to write substantially more simple or efficient code, and in most large applications there will be at least a few cases where mutable references are the best solution. In practice, many of the situations where you will find yourself wanting to use mutable references are also situations where you need to think carefully about laziness, and when and how parts of your program will be evaluated.
Font size
Background
Font