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.13), 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 Thu Mar 15 13:53:21 UTC 2018
Distributions NixOS:0.1.0.3, Stackage:0.1.0.3
Downloads 623 total (29 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 2018-03-15 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for th-nowq-0.1.0.1

[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)