Module

Cardano.Types.Int

#Int

newtype Int

Signed 128-bit integer, -170141183460469231731687303715884105728..170141183460469231731687303715884105727

Constructors

Instances

#add

add :: Int -> Int -> Maybe Int

#asNegative

#asPositive

#fromBigInt

#fromInt

#fromString

#max

max :: Int -> Int -> Int

#mul

mul :: Int -> Int -> Maybe Int

#negate

negate :: Int -> Int

#newNegative

#newPositive

#one

one :: Int

#sub

sub :: Int -> Int -> Maybe Int

#toBigInt

#toInt

#zero

Modules