ghc-typelits-extra: Additional type-level operations on GHC.TypeLits.Nat
Additional type-level operations on GHC.TypeLits.Nat
:
GHC.TypeLits.Extra.GCD
: a type-levelgcd
GHC.TypeLits.Extra.CLog
: type-level equivalent of "clog x y = ceiling (logBase x y)
"
And a custom solver for the above operations defined in
GHC.TypeLits.Extra.Solver
as a GHC type-checker plugin. To use the plugin,
add the
OPTIONS_GHC -fplugin GHC.TypeLits.Extra.Solver
pragma to the header of your file.
[Skip to Readme]
Versions | 0.1, 0.1.1, 0.1.2, 0.1.3, 0.2, 0.2.1, 0.2.2, 0.2.3, 0.2.4 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.8 && <5), ghc (>=7.10 && <8.2), ghc-tcplugins-extra (>=0.2) [details] |
License | BSD-2-Clause |
Copyright | Copyright © 2015 University of Twente |
Author | Christiaan Baaij |
Maintainer | christiaan.baaij@gmail.com |
Category | Type System |
Home page | http://www.clash-lang.org/ |
Bug tracker | http://github.com/clash-lang/ghc-typelits-extra/issues |
Source repo | head: git clone https://github.com/clash-lang/ghc-typelits-extra.git |
Uploaded | by ChristiaanBaaij at Wed Jan 20 09:00:11 UTC 2016 |
Distributions | LTSHaskell:0.2.4, NixOS:0.2.4, Stackage:0.2.4, openSUSE:0.2.4 |
Downloads | 2412 total (51 in the last 30 days) |
Rating | (no votes yet) [estimated by rule of succession] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] Hackage Matrix CI |
Flags
Name | Description | Default | Type |
---|---|---|---|
deverror | Enables | Disabled | Manual |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- ghc-typelits-extra-0.1.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)