Handling Side Effects in Unison
How to separate pure functions from functions with side effects
In the world of pure functional programming, the big bogeyman is functions with side effects. What exactly do we mean by side effects? A pure function works like functions in mathematics. The output of the function is defined exclusively by its input arguments.