A simple MIDI library in Haskell