A flexible library for representing schedules in haskell