Safe Haskell | None |
---|
- period :: Property -> Recurrance -> Property
- periodParse :: Property -> String -> Property
- data Recurrance
- type WeekDay = Int
- type MonthDay = Int
- type YearDay = Int
Documentation
period :: Property -> Recurrance -> PropertySource
Makes a Property only be checked every so often.
This uses the description of the Property to keep track of when it was last run.
periodParse :: Property -> String -> PropertySource
Like period, but parse a human-friendly string.
data Recurrance Source
Daily | |
Weekly (Maybe WeekDay) | |
Monthly (Maybe MonthDay) | |
Yearly (Maybe YearDay) | |
Divisible Int Recurrance | Days, Weeks, or Months of the year evenly divisible by a number. (Divisible Year is years evenly divisible by a number.) |
Eq Recurrance | |
Ord Recurrance | |
Read Recurrance | |
Show Recurrance | |
Arbitrary Recurrance |