th-strict-compat: Compatibility shim for Bang and Strict in Template Haskell.

[ apache, language, library ] [ Propose Tags ] [ Report a vulnerability ]

See README


[Skip to Readme]

Modules

[Index]

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
Dependencies base (>=4.7 && <5), template-haskell (>=2.10) [details]
License Apache-2.0
Copyright 2017 Yuji Yamamoto
Author Yuji Yamamoto
Maintainer whosekiteneverfly@gmail.com
Category Language
Home page https://gitlab.com/igrep/th-strict-compat
Source repo head: git clone https://gitlab.com/igrep/th-strict-compat
Uploaded by igrep at 2017-09-24T13:54:54Z
Distributions LTSHaskell:0.1.0.1, NixOS:0.1.0.1, Stackage:0.1.0.1
Reverse Dependencies 2 direct, 5 indirect [details]
Downloads 2057 total (9 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-09-24 [all 1 reports]

Readme for th-strict-compat-0.1.0.1

[back to package description]

th-strict-compat

Compatibility shim for Bang and Strict in Template Haskell.

As the document says, as of template-haskell-2.11.0.0, Strict has been replaced by Bang.
So now Strict is the alias of Bang, but [Strict's data constructors (http://hackage.haskell.org/package/template-haskell-2.10.0.0/docs/Language-Haskell-TH-Syntax.html#t:Strict)] are not provided anymore.
So this package provides these values for both versions of template-haskell.

  • isStrict
  • notStrict
  • unpacked