Exception ArithException | Since: base-4.0.0.0 |
Instance detailsDefined in GHC.Exception.Type |
Show ArithException | Since: base-4.0.0.0 |
Instance detailsDefined in GHC.Exception.Type |
Eq ArithException | Since: base-3.0 |
Instance detailsDefined in GHC.Exception.Type |
Ord ArithException | Since: base-3.0 |
Instance detailsDefined in GHC.Exception.Type |
Mergeable ArithException Source # | |
Instance detailsDefined in Grisette.Core.Data.Class.Mergeable |
TransformError ArithException AssertionError Source # | |
Instance detailsDefined in Grisette.Core.Control.Exception |
SafeDivision ArithException Int16 Source # | |
Instance detailsDefined in Grisette.Core.Data.Class.SafeArith Methods safeDiv :: (MonadError ArithException uf, MonadUnion uf) => Int16 -> Int16 -> uf Int16 Source # safeMod :: (MonadError ArithException uf, MonadUnion uf) => Int16 -> Int16 -> uf Int16 Source # safeDivMod :: (MonadError ArithException uf, MonadUnion uf) => Int16 -> Int16 -> uf (Int16, Int16) Source # safeQuot :: (MonadError ArithException uf, MonadUnion uf) => Int16 -> Int16 -> uf Int16 Source # safeRem :: (MonadError ArithException uf, MonadUnion uf) => Int16 -> Int16 -> uf Int16 Source # safeQuotRem :: (MonadError ArithException uf, MonadUnion uf) => Int16 -> Int16 -> uf (Int16, Int16) Source # safeDiv' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Int16 -> Int16 -> uf Int16 Source # safeMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Int16 -> Int16 -> uf Int16 Source # safeDivMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Int16 -> Int16 -> uf (Int16, Int16) Source # safeQuot' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Int16 -> Int16 -> uf Int16 Source # safeRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Int16 -> Int16 -> uf Int16 Source # safeQuotRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Int16 -> Int16 -> uf (Int16, Int16) Source # |
SafeDivision ArithException Int32 Source # | |
Instance detailsDefined in Grisette.Core.Data.Class.SafeArith Methods safeDiv :: (MonadError ArithException uf, MonadUnion uf) => Int32 -> Int32 -> uf Int32 Source # safeMod :: (MonadError ArithException uf, MonadUnion uf) => Int32 -> Int32 -> uf Int32 Source # safeDivMod :: (MonadError ArithException uf, MonadUnion uf) => Int32 -> Int32 -> uf (Int32, Int32) Source # safeQuot :: (MonadError ArithException uf, MonadUnion uf) => Int32 -> Int32 -> uf Int32 Source # safeRem :: (MonadError ArithException uf, MonadUnion uf) => Int32 -> Int32 -> uf Int32 Source # safeQuotRem :: (MonadError ArithException uf, MonadUnion uf) => Int32 -> Int32 -> uf (Int32, Int32) Source # safeDiv' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Int32 -> Int32 -> uf Int32 Source # safeMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Int32 -> Int32 -> uf Int32 Source # safeDivMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Int32 -> Int32 -> uf (Int32, Int32) Source # safeQuot' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Int32 -> Int32 -> uf Int32 Source # safeRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Int32 -> Int32 -> uf Int32 Source # safeQuotRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Int32 -> Int32 -> uf (Int32, Int32) Source # |
SafeDivision ArithException Int64 Source # | |
Instance detailsDefined in Grisette.Core.Data.Class.SafeArith Methods safeDiv :: (MonadError ArithException uf, MonadUnion uf) => Int64 -> Int64 -> uf Int64 Source # safeMod :: (MonadError ArithException uf, MonadUnion uf) => Int64 -> Int64 -> uf Int64 Source # safeDivMod :: (MonadError ArithException uf, MonadUnion uf) => Int64 -> Int64 -> uf (Int64, Int64) Source # safeQuot :: (MonadError ArithException uf, MonadUnion uf) => Int64 -> Int64 -> uf Int64 Source # safeRem :: (MonadError ArithException uf, MonadUnion uf) => Int64 -> Int64 -> uf Int64 Source # safeQuotRem :: (MonadError ArithException uf, MonadUnion uf) => Int64 -> Int64 -> uf (Int64, Int64) Source # safeDiv' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Int64 -> Int64 -> uf Int64 Source # safeMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Int64 -> Int64 -> uf Int64 Source # safeDivMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Int64 -> Int64 -> uf (Int64, Int64) Source # safeQuot' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Int64 -> Int64 -> uf Int64 Source # safeRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Int64 -> Int64 -> uf Int64 Source # safeQuotRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Int64 -> Int64 -> uf (Int64, Int64) Source # |
SafeDivision ArithException Int8 Source # | |
Instance detailsDefined in Grisette.Core.Data.Class.SafeArith Methods safeDiv :: (MonadError ArithException uf, MonadUnion uf) => Int8 -> Int8 -> uf Int8 Source # safeMod :: (MonadError ArithException uf, MonadUnion uf) => Int8 -> Int8 -> uf Int8 Source # safeDivMod :: (MonadError ArithException uf, MonadUnion uf) => Int8 -> Int8 -> uf (Int8, Int8) Source # safeQuot :: (MonadError ArithException uf, MonadUnion uf) => Int8 -> Int8 -> uf Int8 Source # safeRem :: (MonadError ArithException uf, MonadUnion uf) => Int8 -> Int8 -> uf Int8 Source # safeQuotRem :: (MonadError ArithException uf, MonadUnion uf) => Int8 -> Int8 -> uf (Int8, Int8) Source # safeDiv' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Int8 -> Int8 -> uf Int8 Source # safeMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Int8 -> Int8 -> uf Int8 Source # safeDivMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Int8 -> Int8 -> uf (Int8, Int8) Source # safeQuot' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Int8 -> Int8 -> uf Int8 Source # safeRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Int8 -> Int8 -> uf Int8 Source # safeQuotRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Int8 -> Int8 -> uf (Int8, Int8) Source # |
SafeDivision ArithException Word16 Source # | |
Instance detailsDefined in Grisette.Core.Data.Class.SafeArith Methods safeDiv :: (MonadError ArithException uf, MonadUnion uf) => Word16 -> Word16 -> uf Word16 Source # safeMod :: (MonadError ArithException uf, MonadUnion uf) => Word16 -> Word16 -> uf Word16 Source # safeDivMod :: (MonadError ArithException uf, MonadUnion uf) => Word16 -> Word16 -> uf (Word16, Word16) Source # safeQuot :: (MonadError ArithException uf, MonadUnion uf) => Word16 -> Word16 -> uf Word16 Source # safeRem :: (MonadError ArithException uf, MonadUnion uf) => Word16 -> Word16 -> uf Word16 Source # safeQuotRem :: (MonadError ArithException uf, MonadUnion uf) => Word16 -> Word16 -> uf (Word16, Word16) Source # safeDiv' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Word16 -> Word16 -> uf Word16 Source # safeMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Word16 -> Word16 -> uf Word16 Source # safeDivMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Word16 -> Word16 -> uf (Word16, Word16) Source # safeQuot' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Word16 -> Word16 -> uf Word16 Source # safeRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Word16 -> Word16 -> uf Word16 Source # safeQuotRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Word16 -> Word16 -> uf (Word16, Word16) Source # |
SafeDivision ArithException Word32 Source # | |
Instance detailsDefined in Grisette.Core.Data.Class.SafeArith Methods safeDiv :: (MonadError ArithException uf, MonadUnion uf) => Word32 -> Word32 -> uf Word32 Source # safeMod :: (MonadError ArithException uf, MonadUnion uf) => Word32 -> Word32 -> uf Word32 Source # safeDivMod :: (MonadError ArithException uf, MonadUnion uf) => Word32 -> Word32 -> uf (Word32, Word32) Source # safeQuot :: (MonadError ArithException uf, MonadUnion uf) => Word32 -> Word32 -> uf Word32 Source # safeRem :: (MonadError ArithException uf, MonadUnion uf) => Word32 -> Word32 -> uf Word32 Source # safeQuotRem :: (MonadError ArithException uf, MonadUnion uf) => Word32 -> Word32 -> uf (Word32, Word32) Source # safeDiv' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Word32 -> Word32 -> uf Word32 Source # safeMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Word32 -> Word32 -> uf Word32 Source # safeDivMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Word32 -> Word32 -> uf (Word32, Word32) Source # safeQuot' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Word32 -> Word32 -> uf Word32 Source # safeRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Word32 -> Word32 -> uf Word32 Source # safeQuotRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Word32 -> Word32 -> uf (Word32, Word32) Source # |
SafeDivision ArithException Word64 Source # | |
Instance detailsDefined in Grisette.Core.Data.Class.SafeArith Methods safeDiv :: (MonadError ArithException uf, MonadUnion uf) => Word64 -> Word64 -> uf Word64 Source # safeMod :: (MonadError ArithException uf, MonadUnion uf) => Word64 -> Word64 -> uf Word64 Source # safeDivMod :: (MonadError ArithException uf, MonadUnion uf) => Word64 -> Word64 -> uf (Word64, Word64) Source # safeQuot :: (MonadError ArithException uf, MonadUnion uf) => Word64 -> Word64 -> uf Word64 Source # safeRem :: (MonadError ArithException uf, MonadUnion uf) => Word64 -> Word64 -> uf Word64 Source # safeQuotRem :: (MonadError ArithException uf, MonadUnion uf) => Word64 -> Word64 -> uf (Word64, Word64) Source # safeDiv' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Word64 -> Word64 -> uf Word64 Source # safeMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Word64 -> Word64 -> uf Word64 Source # safeDivMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Word64 -> Word64 -> uf (Word64, Word64) Source # safeQuot' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Word64 -> Word64 -> uf Word64 Source # safeRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Word64 -> Word64 -> uf Word64 Source # safeQuotRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Word64 -> Word64 -> uf (Word64, Word64) Source # |
SafeDivision ArithException Word8 Source # | |
Instance detailsDefined in Grisette.Core.Data.Class.SafeArith Methods safeDiv :: (MonadError ArithException uf, MonadUnion uf) => Word8 -> Word8 -> uf Word8 Source # safeMod :: (MonadError ArithException uf, MonadUnion uf) => Word8 -> Word8 -> uf Word8 Source # safeDivMod :: (MonadError ArithException uf, MonadUnion uf) => Word8 -> Word8 -> uf (Word8, Word8) Source # safeQuot :: (MonadError ArithException uf, MonadUnion uf) => Word8 -> Word8 -> uf Word8 Source # safeRem :: (MonadError ArithException uf, MonadUnion uf) => Word8 -> Word8 -> uf Word8 Source # safeQuotRem :: (MonadError ArithException uf, MonadUnion uf) => Word8 -> Word8 -> uf (Word8, Word8) Source # safeDiv' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Word8 -> Word8 -> uf Word8 Source # safeMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Word8 -> Word8 -> uf Word8 Source # safeDivMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Word8 -> Word8 -> uf (Word8, Word8) Source # safeQuot' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Word8 -> Word8 -> uf Word8 Source # safeRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Word8 -> Word8 -> uf Word8 Source # safeQuotRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Word8 -> Word8 -> uf (Word8, Word8) Source # |
SafeDivision ArithException SymInteger Source # | |
Instance detailsDefined in Grisette.IR.SymPrim.Data.SymPrim Methods safeDiv :: (MonadError ArithException uf, MonadUnion uf) => SymInteger -> SymInteger -> uf SymInteger Source # safeMod :: (MonadError ArithException uf, MonadUnion uf) => SymInteger -> SymInteger -> uf SymInteger Source # safeDivMod :: (MonadError ArithException uf, MonadUnion uf) => SymInteger -> SymInteger -> uf (SymInteger, SymInteger) Source # safeQuot :: (MonadError ArithException uf, MonadUnion uf) => SymInteger -> SymInteger -> uf SymInteger Source # safeRem :: (MonadError ArithException uf, MonadUnion uf) => SymInteger -> SymInteger -> uf SymInteger Source # safeQuotRem :: (MonadError ArithException uf, MonadUnion uf) => SymInteger -> SymInteger -> uf (SymInteger, SymInteger) Source # safeDiv' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> SymInteger -> SymInteger -> uf SymInteger Source # safeMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> SymInteger -> SymInteger -> uf SymInteger Source # safeDivMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> SymInteger -> SymInteger -> uf (SymInteger, SymInteger) Source # safeQuot' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> SymInteger -> SymInteger -> uf SymInteger Source # safeRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> SymInteger -> SymInteger -> uf SymInteger Source # safeQuotRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> SymInteger -> SymInteger -> uf (SymInteger, SymInteger) Source # |
SafeDivision ArithException Integer Source # | |
Instance detailsDefined in Grisette.Core.Data.Class.SafeArith Methods safeDiv :: (MonadError ArithException uf, MonadUnion uf) => Integer -> Integer -> uf Integer Source # safeMod :: (MonadError ArithException uf, MonadUnion uf) => Integer -> Integer -> uf Integer Source # safeDivMod :: (MonadError ArithException uf, MonadUnion uf) => Integer -> Integer -> uf (Integer, Integer) Source # safeQuot :: (MonadError ArithException uf, MonadUnion uf) => Integer -> Integer -> uf Integer Source # safeRem :: (MonadError ArithException uf, MonadUnion uf) => Integer -> Integer -> uf Integer Source # safeQuotRem :: (MonadError ArithException uf, MonadUnion uf) => Integer -> Integer -> uf (Integer, Integer) Source # safeDiv' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Integer -> Integer -> uf Integer Source # safeMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Integer -> Integer -> uf Integer Source # safeDivMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Integer -> Integer -> uf (Integer, Integer) Source # safeQuot' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Integer -> Integer -> uf Integer Source # safeRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Integer -> Integer -> uf Integer Source # safeQuotRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Integer -> Integer -> uf (Integer, Integer) Source # |
SafeDivision ArithException Int Source # | |
Instance detailsDefined in Grisette.Core.Data.Class.SafeArith Methods safeDiv :: (MonadError ArithException uf, MonadUnion uf) => Int -> Int -> uf Int Source # safeMod :: (MonadError ArithException uf, MonadUnion uf) => Int -> Int -> uf Int Source # safeDivMod :: (MonadError ArithException uf, MonadUnion uf) => Int -> Int -> uf (Int, Int) Source # safeQuot :: (MonadError ArithException uf, MonadUnion uf) => Int -> Int -> uf Int Source # safeRem :: (MonadError ArithException uf, MonadUnion uf) => Int -> Int -> uf Int Source # safeQuotRem :: (MonadError ArithException uf, MonadUnion uf) => Int -> Int -> uf (Int, Int) Source # safeDiv' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Int -> Int -> uf Int Source # safeMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Int -> Int -> uf Int Source # safeDivMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Int -> Int -> uf (Int, Int) Source # safeQuot' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Int -> Int -> uf Int Source # safeRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Int -> Int -> uf Int Source # safeQuotRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Int -> Int -> uf (Int, Int) Source # |
SafeDivision ArithException Word Source # | |
Instance detailsDefined in Grisette.Core.Data.Class.SafeArith Methods safeDiv :: (MonadError ArithException uf, MonadUnion uf) => Word -> Word -> uf Word Source # safeMod :: (MonadError ArithException uf, MonadUnion uf) => Word -> Word -> uf Word Source # safeDivMod :: (MonadError ArithException uf, MonadUnion uf) => Word -> Word -> uf (Word, Word) Source # safeQuot :: (MonadError ArithException uf, MonadUnion uf) => Word -> Word -> uf Word Source # safeRem :: (MonadError ArithException uf, MonadUnion uf) => Word -> Word -> uf Word Source # safeQuotRem :: (MonadError ArithException uf, MonadUnion uf) => Word -> Word -> uf (Word, Word) Source # safeDiv' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Word -> Word -> uf Word Source # safeMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Word -> Word -> uf Word Source # safeDivMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Word -> Word -> uf (Word, Word) Source # safeQuot' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Word -> Word -> uf Word Source # safeRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Word -> Word -> uf Word Source # safeQuotRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> Word -> Word -> uf (Word, Word) Source # |
SafeLinearArith ArithException Int16 Source # | |
Instance detailsDefined in Grisette.Core.Data.Class.SafeArith |
SafeLinearArith ArithException Int32 Source # | |
Instance detailsDefined in Grisette.Core.Data.Class.SafeArith |
SafeLinearArith ArithException Int64 Source # | |
Instance detailsDefined in Grisette.Core.Data.Class.SafeArith |
SafeLinearArith ArithException Int8 Source # | |
Instance detailsDefined in Grisette.Core.Data.Class.SafeArith |
SafeLinearArith ArithException Word16 Source # | |
Instance detailsDefined in Grisette.Core.Data.Class.SafeArith |
SafeLinearArith ArithException Word32 Source # | |
Instance detailsDefined in Grisette.Core.Data.Class.SafeArith |
SafeLinearArith ArithException Word64 Source # | |
Instance detailsDefined in Grisette.Core.Data.Class.SafeArith |
SafeLinearArith ArithException Word8 Source # | |
Instance detailsDefined in Grisette.Core.Data.Class.SafeArith |
SafeLinearArith ArithException SymInteger Source # | |
Instance detailsDefined in Grisette.IR.SymPrim.Data.SymPrim |
SafeLinearArith ArithException Integer Source # | |
Instance detailsDefined in Grisette.Core.Data.Class.SafeArith |
SafeLinearArith ArithException Int Source # | |
Instance detailsDefined in Grisette.Core.Data.Class.SafeArith |
SafeLinearArith ArithException Word Source # | |
Instance detailsDefined in Grisette.Core.Data.Class.SafeArith |
(KnownNat n, 1 <= n) => SafeDivision ArithException (IntN n) Source # | |
Instance detailsDefined in Grisette.Core.Data.Class.SafeArith Methods safeDiv :: (MonadError ArithException uf, MonadUnion uf) => IntN n -> IntN n -> uf (IntN n) Source # safeMod :: (MonadError ArithException uf, MonadUnion uf) => IntN n -> IntN n -> uf (IntN n) Source # safeDivMod :: (MonadError ArithException uf, MonadUnion uf) => IntN n -> IntN n -> uf (IntN n, IntN n) Source # safeQuot :: (MonadError ArithException uf, MonadUnion uf) => IntN n -> IntN n -> uf (IntN n) Source # safeRem :: (MonadError ArithException uf, MonadUnion uf) => IntN n -> IntN n -> uf (IntN n) Source # safeQuotRem :: (MonadError ArithException uf, MonadUnion uf) => IntN n -> IntN n -> uf (IntN n, IntN n) Source # safeDiv' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> IntN n -> IntN n -> uf (IntN n) Source # safeMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> IntN n -> IntN n -> uf (IntN n) Source # safeDivMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> IntN n -> IntN n -> uf (IntN n, IntN n) Source # safeQuot' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> IntN n -> IntN n -> uf (IntN n) Source # safeRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> IntN n -> IntN n -> uf (IntN n) Source # safeQuotRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> IntN n -> IntN n -> uf (IntN n, IntN n) Source # |
(KnownNat n, 1 <= n) => SafeDivision ArithException (WordN n) Source # | |
Instance detailsDefined in Grisette.Core.Data.Class.SafeArith Methods safeDiv :: (MonadError ArithException uf, MonadUnion uf) => WordN n -> WordN n -> uf (WordN n) Source # safeMod :: (MonadError ArithException uf, MonadUnion uf) => WordN n -> WordN n -> uf (WordN n) Source # safeDivMod :: (MonadError ArithException uf, MonadUnion uf) => WordN n -> WordN n -> uf (WordN n, WordN n) Source # safeQuot :: (MonadError ArithException uf, MonadUnion uf) => WordN n -> WordN n -> uf (WordN n) Source # safeRem :: (MonadError ArithException uf, MonadUnion uf) => WordN n -> WordN n -> uf (WordN n) Source # safeQuotRem :: (MonadError ArithException uf, MonadUnion uf) => WordN n -> WordN n -> uf (WordN n, WordN n) Source # safeDiv' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> WordN n -> WordN n -> uf (WordN n) Source # safeMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> WordN n -> WordN n -> uf (WordN n) Source # safeDivMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> WordN n -> WordN n -> uf (WordN n, WordN n) Source # safeQuot' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> WordN n -> WordN n -> uf (WordN n) Source # safeRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> WordN n -> WordN n -> uf (WordN n) Source # safeQuotRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> WordN n -> WordN n -> uf (WordN n, WordN n) Source # |
(KnownNat n, 1 <= n) => SafeDivision ArithException (SymIntN n) Source # | |
Instance detailsDefined in Grisette.IR.SymPrim.Data.SymPrim Methods safeDiv :: (MonadError ArithException uf, MonadUnion uf) => SymIntN n -> SymIntN n -> uf (SymIntN n) Source # safeMod :: (MonadError ArithException uf, MonadUnion uf) => SymIntN n -> SymIntN n -> uf (SymIntN n) Source # safeDivMod :: (MonadError ArithException uf, MonadUnion uf) => SymIntN n -> SymIntN n -> uf (SymIntN n, SymIntN n) Source # safeQuot :: (MonadError ArithException uf, MonadUnion uf) => SymIntN n -> SymIntN n -> uf (SymIntN n) Source # safeRem :: (MonadError ArithException uf, MonadUnion uf) => SymIntN n -> SymIntN n -> uf (SymIntN n) Source # safeQuotRem :: (MonadError ArithException uf, MonadUnion uf) => SymIntN n -> SymIntN n -> uf (SymIntN n, SymIntN n) Source # safeDiv' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> SymIntN n -> SymIntN n -> uf (SymIntN n) Source # safeMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> SymIntN n -> SymIntN n -> uf (SymIntN n) Source # safeDivMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> SymIntN n -> SymIntN n -> uf (SymIntN n, SymIntN n) Source # safeQuot' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> SymIntN n -> SymIntN n -> uf (SymIntN n) Source # safeRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> SymIntN n -> SymIntN n -> uf (SymIntN n) Source # safeQuotRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> SymIntN n -> SymIntN n -> uf (SymIntN n, SymIntN n) Source # |
(KnownNat n, 1 <= n) => SafeDivision ArithException (SymWordN n) Source # | |
Instance detailsDefined in Grisette.IR.SymPrim.Data.SymPrim Methods safeDiv :: (MonadError ArithException uf, MonadUnion uf) => SymWordN n -> SymWordN n -> uf (SymWordN n) Source # safeMod :: (MonadError ArithException uf, MonadUnion uf) => SymWordN n -> SymWordN n -> uf (SymWordN n) Source # safeDivMod :: (MonadError ArithException uf, MonadUnion uf) => SymWordN n -> SymWordN n -> uf (SymWordN n, SymWordN n) Source # safeQuot :: (MonadError ArithException uf, MonadUnion uf) => SymWordN n -> SymWordN n -> uf (SymWordN n) Source # safeRem :: (MonadError ArithException uf, MonadUnion uf) => SymWordN n -> SymWordN n -> uf (SymWordN n) Source # safeQuotRem :: (MonadError ArithException uf, MonadUnion uf) => SymWordN n -> SymWordN n -> uf (SymWordN n, SymWordN n) Source # safeDiv' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> SymWordN n -> SymWordN n -> uf (SymWordN n) Source # safeMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> SymWordN n -> SymWordN n -> uf (SymWordN n) Source # safeDivMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> SymWordN n -> SymWordN n -> uf (SymWordN n, SymWordN n) Source # safeQuot' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> SymWordN n -> SymWordN n -> uf (SymWordN n) Source # safeRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> SymWordN n -> SymWordN n -> uf (SymWordN n) Source # safeQuotRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (ArithException -> e') -> SymWordN n -> SymWordN n -> uf (SymWordN n, SymWordN n) Source # |
(KnownNat n, 1 <= n) => SafeLinearArith ArithException (IntN n) Source # | |
Instance detailsDefined in Grisette.Core.Data.Class.SafeArith |
(KnownNat n, 1 <= n) => SafeLinearArith ArithException (WordN n) Source # | |
Instance detailsDefined in Grisette.Core.Data.Class.SafeArith |
(KnownNat n, 1 <= n) => SafeLinearArith ArithException (SymIntN n) Source # | |
Instance detailsDefined in Grisette.IR.SymPrim.Data.SymPrim |
(KnownNat n, 1 <= n) => SafeLinearArith ArithException (SymWordN n) Source # | |
Instance detailsDefined in Grisette.IR.SymPrim.Data.SymPrim |
SafeDivision (Either BitwidthMismatch ArithException) SomeIntN Source # | |
Instance detailsDefined in Grisette.Core.Data.Class.SafeArith Methods safeDiv :: (MonadError (Either BitwidthMismatch ArithException) uf, MonadUnion uf) => SomeIntN -> SomeIntN -> uf SomeIntN Source # safeMod :: (MonadError (Either BitwidthMismatch ArithException) uf, MonadUnion uf) => SomeIntN -> SomeIntN -> uf SomeIntN Source # safeDivMod :: (MonadError (Either BitwidthMismatch ArithException) uf, MonadUnion uf) => SomeIntN -> SomeIntN -> uf (SomeIntN, SomeIntN) Source # safeQuot :: (MonadError (Either BitwidthMismatch ArithException) uf, MonadUnion uf) => SomeIntN -> SomeIntN -> uf SomeIntN Source # safeRem :: (MonadError (Either BitwidthMismatch ArithException) uf, MonadUnion uf) => SomeIntN -> SomeIntN -> uf SomeIntN Source # safeQuotRem :: (MonadError (Either BitwidthMismatch ArithException) uf, MonadUnion uf) => SomeIntN -> SomeIntN -> uf (SomeIntN, SomeIntN) Source # safeDiv' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (Either BitwidthMismatch ArithException -> e') -> SomeIntN -> SomeIntN -> uf SomeIntN Source # safeMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (Either BitwidthMismatch ArithException -> e') -> SomeIntN -> SomeIntN -> uf SomeIntN Source # safeDivMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (Either BitwidthMismatch ArithException -> e') -> SomeIntN -> SomeIntN -> uf (SomeIntN, SomeIntN) Source # safeQuot' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (Either BitwidthMismatch ArithException -> e') -> SomeIntN -> SomeIntN -> uf SomeIntN Source # safeRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (Either BitwidthMismatch ArithException -> e') -> SomeIntN -> SomeIntN -> uf SomeIntN Source # safeQuotRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (Either BitwidthMismatch ArithException -> e') -> SomeIntN -> SomeIntN -> uf (SomeIntN, SomeIntN) Source # |
SafeDivision (Either BitwidthMismatch ArithException) SomeWordN Source # | |
Instance detailsDefined in Grisette.Core.Data.Class.SafeArith Methods safeDiv :: (MonadError (Either BitwidthMismatch ArithException) uf, MonadUnion uf) => SomeWordN -> SomeWordN -> uf SomeWordN Source # safeMod :: (MonadError (Either BitwidthMismatch ArithException) uf, MonadUnion uf) => SomeWordN -> SomeWordN -> uf SomeWordN Source # safeDivMod :: (MonadError (Either BitwidthMismatch ArithException) uf, MonadUnion uf) => SomeWordN -> SomeWordN -> uf (SomeWordN, SomeWordN) Source # safeQuot :: (MonadError (Either BitwidthMismatch ArithException) uf, MonadUnion uf) => SomeWordN -> SomeWordN -> uf SomeWordN Source # safeRem :: (MonadError (Either BitwidthMismatch ArithException) uf, MonadUnion uf) => SomeWordN -> SomeWordN -> uf SomeWordN Source # safeQuotRem :: (MonadError (Either BitwidthMismatch ArithException) uf, MonadUnion uf) => SomeWordN -> SomeWordN -> uf (SomeWordN, SomeWordN) Source # safeDiv' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (Either BitwidthMismatch ArithException -> e') -> SomeWordN -> SomeWordN -> uf SomeWordN Source # safeMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (Either BitwidthMismatch ArithException -> e') -> SomeWordN -> SomeWordN -> uf SomeWordN Source # safeDivMod' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (Either BitwidthMismatch ArithException -> e') -> SomeWordN -> SomeWordN -> uf (SomeWordN, SomeWordN) Source # safeQuot' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (Either BitwidthMismatch ArithException -> e') -> SomeWordN -> SomeWordN -> uf SomeWordN Source # safeRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (Either BitwidthMismatch ArithException -> e') -> SomeWordN -> SomeWordN -> uf SomeWordN Source # safeQuotRem' :: (MonadError e' uf, MonadUnion uf, Mergeable e') => (Either BitwidthMismatch ArithException -> e') -> SomeWordN -> SomeWordN -> uf (SomeWordN, SomeWordN) Source # |
SafeLinearArith (Either BitwidthMismatch ArithException) SomeIntN Source # | |
Instance detailsDefined in Grisette.Core.Data.Class.SafeArith |
SafeLinearArith (Either BitwidthMismatch ArithException) SomeWordN Source # | |
Instance detailsDefined in Grisette.Core.Data.Class.SafeArith |