全部搜索项
bookworm  ] [  trixie  ] [  sid  ]
[ 源代码: haskell-ghc-typelits-extra  ]

软件包:libghc-ghc-typelits-extra-dev(0.4.3-2 以及其他的)

libghc-ghc-typelits-extra-dev 的相关链接

Screenshot

Debian 的资源:

下载源码包 haskell-ghc-typelits-extra

维护小组:

外部的资源:

相似软件包:

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.

其他与 libghc-ghc-typelits-extra-dev 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • 增强

下载 libghc-ghc-typelits-extra-dev

下载可用于所有硬件架构的
硬件架构 版本 软件包大小 安装后大小 文件
armhf 0.4.3-2+b5 101.3 kB906.0 kB [文件列表]