At last I have gotten round to writing a blog post about the criminally underused machines library written by the terrifyingly productive Edward Kmett. This is a very simple demonstration of usage, with a focus on machines using the IO monad. I will not cover how the library works (because I don’t know). Let us begin with imports: module Main where import Control.Monad.IO.Class (MonadIO, liftIO) i

