A musical score type for Haskell