Description
Patterns for recurring events.
Description
This package contains a set of primitives and combinators for event patterns. Example:
>> import qualified Prelude as P
>> let sundays = every 2 sunday
>> let today = fromGregorian 2013 12 01
>> P.take 2 $ instancesFrom today sundays
[2013-12-08, 2013-12-22]
See Data.Time.Patterns
for more examples.