Checked conversions between integral types

Latest on Hackage:

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow to host generated Haddocks.

BSD3 licensed by Herbert Valerio Riedel
Maintained by

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

Depends on 1 package:
Used by 2 packages:
comments powered byDisqus