Checked conversions between integral types

Version on this page:
LTS Haskell 22.30:
Stackage Nightly 2024-07-24:
Latest on Hackage:

See all snapshots int-cast appears in

BSD-3-Clause licensed by Herbert Valerio Riedel
Maintained by [email protected]
This version can be pinned in stack with:int-cast-,1668

Module documentation for

Depends on 1 package(full list with versions):

Provides statically or dynamically checked conversions between integral types. See documentation in Data.IntCast for more details.


  • Add support for GHC 8.4

  • Removed type instance a == b = IsIntBaseTypeEq a b as GHC 8.4 made (==) a closed type-family (#3)

  • Improved Haddock documentation

  • Add support for GHC 7.10

  • Add support for Natural

  • Fix intCastIso to be reflexive wrt non-fixed integer types

  • Simplified IsIntBaseTypeEq equations

  • Add Data.Type.Equality.(==) instance for IntBaseTypeK

  • initial release