all options
bookworm  ] [  trixie  ] [  sid  ]
[ Source: haskell-ghc-typelits-extra  ]

Package: libghc-ghc-typelits-extra-dev (0.4.3-2 and others)

Links for libghc-ghc-typelits-extra-dev

Screenshot

Debian Resources:

Download Source Package haskell-ghc-typelits-extra:

Maintainers:

External Resources:

Similar packages:

Additional type-level operations on GHC.TypeLits.Nat

Operations:

 * Max: type-level max

 * Min: type-level min

 * Div: type-level div

 * Mod: type-level mod

 * FLog: type-level equivalent of integerLogBase
i.e. the exact integer equivalent to floor (logBase x y)

 * CLog: type-level equivalent of the ceiling of integerLogBase
i.e. the exact integer equivalent to ceiling (logBase x y)

 * Log: type-level equivalent of integerLogBase
where the operation only reduces when floor (logBase b x) ~ ceiling (logBase b x)

 * GCD: a type-level gcd

 * LCM: a type-level lcm

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.

This package provides a library for the Haskell programming language. See http://www.haskell.org/ for more information on Haskell.

Other Packages Related to libghc-ghc-typelits-extra-dev

  • depends
  • recommends
  • suggests
  • enhances

Download libghc-ghc-typelits-extra-dev

Download for all available architectures
Architecture Version Package Size Installed Size Files
amd64 0.4.3-2+b5 90.7 kB742.0 kB [list of files]
arm64 0.4.3-2+b5 112.5 kB1,201.0 kB [list of files]
armel 0.4.3-2+b5 103.2 kB920.0 kB [list of files]
armhf 0.4.3-2+b5 101.3 kB906.0 kB [list of files]
i386 0.4.3-2+b5 138.7 kB1,004.0 kB [list of files]
mips64el 0.4.3-2+b4 121.6 kB1,420.0 kB [list of files]
mipsel 0.4.3-2+b4 114.2 kB1,053.0 kB [list of files]
ppc64el 0.4.3-2+b4 122.7 kB1,365.0 kB [list of files]
s390x 0.4.3-2+b4 137.1 kB1,348.0 kB [list of files]