HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Package0.5.0.3Math

numtype-dk

Type-level integers, using TypeNats, Data Kinds, and Closed Type Families.

Modules

1 module
  • Numeric.NumType.DK.Integers41Summary Type-level integers for GHC 7.8+. We provide type level arithmetic operations. We also provide term-level arithmetic operations o…

Description

This package provides type level representations of the (positive and negative) integers and basic operations (addition, subtraction, multiplication, division, exponentiation) on these. The numtype-dk package differs from the numtype package in that the NumTypes are implemented using Data Kinds, TypeNats, and Closed Type Families rather than Functional Dependencies. Requires GHC 7.8 or later.

Depends on

1 package

Used by in this set · 2