int-cast

Checked conversions between integral types

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

Version on this page:0.2.0.0@rev:4
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:06820c1c5335100c5021e01314cd498e4d248582622c36d8e7203fa4341cb6d0,1668

Module documentation for 0.2.0.0

Depends on 1 package(full list with versions):
Used by 1 package in nightly-2021-10-19(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