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

[ bsd3, library, template-haskell ] [ Propose Tags ] [ Report a vulnerability ]

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]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4, 0.1.0.5
Change log CHANGELOG.md
Dependencies base (<5), template-haskell, time [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 2020-06-03T22:58:02Z
Distributions LTSHaskell:0.1.0.5, NixOS:0.1.0.5, Stackage:0.1.0.5
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2910 total (37 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-06-04 [all 1 reports]

Readme for th-nowq-0.1.0.5

[back to package description]

th-nowq

Build & test Hackage Hackage deps

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

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