int-cast

Checked conversions between integral types

https://github.com/hvr/int-cast

Version on this page:0.2.0.0@rev:2
LTS Haskell 22.14:0.2.0.0@rev:6
Stackage Nightly 2023-12-26:0.2.0.0@rev:6
Latest on Hackage:0.2.0.0@rev:6

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-0.2.0.0@sha256:c53344818116ab66c13bbdbc2f4fd2d2f5dd3e6e837124cc4c38617042480cba,1608

Module documentation for 0.2.0.0

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.

Changes

0.2.0.0

  • 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


0.1.2.0

  • Add support for GHC 7.10

  • Add support for Natural

0.1.1.0

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

  • Simplified IsIntBaseTypeEq equations

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

0.1.0.0

  • initial release