Make your own interactive fiction client in Elm

In which the author extracts a library from his interactive fiction app, and walks the curious reader through the making of their own Z-machine player in around 100 lines of Elm.