int-cast

Checked conversions between integral types

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

Version on this page:0.2.0.0@rev:3
LTS Haskell 22.39:0.2.0.0@rev:7
Stackage Nightly 2024-10-31:0.2.0.0@rev:7
Latest on Hackage:0.2.0.0@rev:7

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:476efda6910f17509038962ee474ea8b21341a3e5464377d34e9c1c53ba629ad,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