time-patterns: Patterns for recurring events

[ bsd3, data, library, time ] [ Propose Tags ]

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.

Versions 0.1.0.2, 0.1.1.0, 0.1.2.0, 0.1.3.0, 0.1.3.1, 0.1.3.2, 0.1.4.0, 0.1.4.1, 0.1.4.2, 0.1.4.3
Dependencies base (>=4.6 && <5), intervals (>=0.7), time (>=1.4) [details]
License BSD-3-Clause
Copyright Copyright (C) 2013-2018 Jann Müller, (C) 2015 Moritz Kiefer
Author Jann Müller, Moritz Kiefer
Maintainer j.mueller.11@ucl.ac.uk
Category Data, Time
Home page https://github.com/j-mueller/time-patterns
Bug tracker https://github.com/j-mueller/time-patterns/issues
Source repo head: git clone git@github.com:j-mueller/time-patterns.git
Uploaded by jfmueller at Mon Jul 2 08:15:57 UTC 2018
Distributions NixOS:0.1.4.3
Downloads 2451 total (20 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-07-02 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees