Popularity
7.9
Growing
Activity
2.4
Declining
15
9
8

Monthly Downloads: 254
Programming language: Haskell
License: BSD 2-clause "Simplified" License
Tags: Development     GHC     Type System    
Latest version: v0.4.3

ghc-typelits-extra alternatives and similar packages

Based on the "ghc" category.
Alternatively, view ghc-typelits-extra alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of ghc-typelits-extra or a related project?

Add another 'ghc' Package

README

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.Max: type-level max
  • GHC.TypeLits.Extra.Min: type-level min
  • GHC.TypeLits.Extra.Div: type-level div
  • GHC.TypeLits.Extra.Mod: type-level mod
  • GHC.TypeLits.Extra.FLog: type-level equivalent of integerLogBase# .i.e. the exact integer equivalent to "floor (logBase x y)"
  • GHC.TypeLits.Extra.CLog: type-level equivalent of the ceiling of integerLogBase# .i.e. the exact integer equivalent to "ceiling (logBase x y)"
  • 'GHC.TypeLits.Extra.Log': type-level equivalent of where the operation only reduces when "floor (logBase b x) ~ ceiling (logBase b x)"
  • GHC.TypeLits.Extra.GCD: a type-level gcd
  • GHC.TypeLits.Extra.LCM: a type-level lcm