The timing-convenience package

[ Tags: bsd3, library, system ] [ Propose Tags ]

Inspired by Rails' ActiveSupport, this package provides nice looking convenience functions for getting a time and date, offset from today.

[Skip to Readme]


Versions 0.1
Dependencies base (>=4.0 && <5.0), time [details]
License BSD3
Copyright 2011 Mike Burns
Author Mike Burns
Category System
Source repo head: git clone git://
Uploaded Sat Nov 12 12:56:14 UTC 2011 by MikeBurns
Distributions NixOS:0.1
Downloads 489 total (8 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees

Readme for timing-convenience-0.1

[back to package description]


Functions to make it a little more convenient to work with time offsets. Inspired by Ruby's ActiveSupport time methods on Fixnum.


See the Sample.hs for a more full sample.

main = do
  t <- timeFor 3 Days Ago
  putStrLn $ show t


In your project's cabal file:

-- Packages needed in order to build this package.
Build-depends:       timing-convenience

Or from the command line:

cabal install timing-convenience


For details see the reference documentation on Hackage.


Copyright 2011 Mike Burns.

Available under the BSD 3-clause license.