Effectful Haskell with gloss
By now I am well past writing only pure functional Haskell (besides, solving problems from Project Euler is a bit dry in the long run). Avoiding side-effects does not get you very far when you want to use a programming language for solving problems in the real world. Any kind of output (or reading non-deterministic input) shifts you back on the path of impure (aka effectful) programming. Me being me, the “effects” I enjoy writing the most are from the field of computer graphics. While not yet fluent enough for…read more