ghc-typelits-extra

Additional type-level operations on GHC.TypeLits.Nat

http://www.clash-lang.org/

Version on this page:0.1.2
LTS Haskell 22.18:0.4.6
Stackage Nightly 2024-04-22:0.4.6
Latest on Hackage:0.4.6

See all snapshots ghc-typelits-extra appears in

BSD-2-Clause licensed by Christiaan Baaij
Maintained by [email protected]
This version can be pinned in stack with:ghc-typelits-extra-0.1.2@sha256:c9d51dcd33c7a4e72dc62c2e54cc13d2f21d8095375c5fb06e3716c30dc4921e,2765

Module documentation for 0.1.2

Used by 1 package in nightly-2016-07-09(full list with versions):

ghc-typelits-extra

Build Status Hackage Hackage Dependencies

Extra type-level operations on GHC.TypeLits.Nat and a custom solver implemented as a GHC type-checker plugin:

  • GHC.TypeLits.Extra.GCD: a type-level gcd
  • GHC.TypeLits.Extra.CLog: type-level equivalent of clog x y = ceiling (logBase x y)

Changes

Changelog for the ghc-typelits-extra package

0.1.2 July 8th 2016

  • Solve KnownNat constraints over CLog and GCD, i.e., KnownNat (CLog 2 4)

0.1.1 January 20th 2016

  • Compile on GHC 8.0+

0.1 October 21st 2015

  • Initial release