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

[ apache, language, library ] [ Propose Tags ]

See README


[Skip to Readme]
Versions 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 Sun Sep 24 13:54:54 UTC 2017
Distributions LTSHaskell:0.1.0.1, NixOS:0.1.0.1, Stackage:0.1.0.1, openSUSE:0.1.0.1
Downloads 355 total (11 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-09-24 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


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