HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulebasement-0.0.16Haskell2010

Basement.Numerical.Number

  • 2 classes
  • Packagebasement-0.0.16
  • Exports2
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceNumber.hs
classclass (Integral a, Eq a, Ord a) => IsIntegral a where
#

Number literals, convertible through the generic Integer type.

all number are Enum'erable, meaning that you can move to next element

Methods

Instances38IsIntegral, …
classclass IsIntegral a => IsNatural a where
#

Non Negative Number literals, convertible through the generic Natural type

Methods

Instances20IsNatural, …