th-nowq: Template Haskell splice that expands to current time

[ bsd3, library, template-haskell ] [ Propose Tags ]

TH splice that expands to current time as a string literal in ISO-8601 format. Can be used to embed the compilation timestamp in your application.


[Skip to Readme]
Versions [faq] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3
Change log CHANGELOG.md
Dependencies base (<5), template-haskell (<2.15), time (<1.9) [details]
License BSD-3-Clause
Author Dmitry Dzhus
Maintainer dima@dzhus.org
Category Template Haskell
Home page https://github.com/dzhus/th-nowq#readme
Bug tracker https://github.com/dzhus/th-nowq/issues
Source repo head: git clone https://github.com/dzhus/th-nowq
Uploaded by DmitryDzhus at Mon Feb 11 17:33:54 UTC 2019
Distributions NixOS:0.1.0.3, Stackage:0.1.0.3
Downloads 519 total (36 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-02-11 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for th-nowq-0.1.0.3

[back to package description]

th-nowq

Travis CI build status Hackage Hackage deps

{-# LANGUAGE TemplateHaskell #-}
import Language.Haskell.TH.Now

main :: IO ()
main = print $ "Running app compiled on " ++ $(nowQ)