HORIZON HASKELLDocslts/ghc-10.0.x2b276322026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 2b27632 · 2026-10-31

Modulebasement-0.0.16Haskell2010

Basement.Numerical.Number

Synopsis
  • 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, …