-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | overflow-checked Int type -- -- Defines a variant of Haskell's Int type that is overflow-checked. If -- an overflow or arithmetic error occurs, a run-time exception is -- thrown. -- -- Currently still in an experimental stage. Everything can change. @package safeint @version 0.6 -- | Defines a variant of Haskell's Int type that is overflow-checked. If -- an overflow or arithmetic error occurs, a run-time exception is -- thrown. module Data.SafeInt newtype SafeInt SI :: Int -> SafeInt fromSafe :: SafeInt -> Int toSafe :: Int -> SafeInt instance GHC.Show.Show Data.SafeInt.SafeInt instance GHC.Read.Read Data.SafeInt.SafeInt instance GHC.Classes.Eq Data.SafeInt.SafeInt instance GHC.Classes.Ord Data.SafeInt.SafeInt instance GHC.Num.Num Data.SafeInt.SafeInt instance GHC.Enum.Bounded Data.SafeInt.SafeInt instance GHC.Enum.Enum Data.SafeInt.SafeInt instance GHC.Real.Real Data.SafeInt.SafeInt instance GHC.Real.Integral Data.SafeInt.SafeInt