Musical accompaniment generation with Haskell and the Haskore music library