Chris Armstrong discusses a different technique in his 2015 Strange Loop talk, Side Effects are a Public API. Though the majority of the talk is about implementing these techniques in Python, he does also show an example in Haskell.
Chris Armstrong discusses a different technique in his 2015 Strange Loop talk, Side Effects are a Public API. Though the majority of the talk is about implementing these techniques in Python, he does also show an example in Haskell.