plutus-tx-1.0.0.0: Libraries for Plutus Tx and its prelude
Safe Haskell None
Language Haskell2010

PlutusTx.Integer

Synopsis

Documentation

data Integer Source #

Arbitrary precision integers. In contrast with fixed-size integral types such as Int , the Integer type represents the entire infinite range of integers.

For more information about this type's representation, see the comments in its implementation.

Instances

Instances details
Enum Integer

Since: base-2.1

Instance details

Defined in GHC.Enum

Eq Integer
Instance details

Defined in GHC.Integer.Type

Integral Integer

Since: base-2.0.1

Instance details

Defined in GHC.Real

Data Integer

Since: base-4.0.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Integer -> c Integer Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Integer Source #

toConstr :: Integer -> Constr Source #

dataTypeOf :: Integer -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Integer ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Integer ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Integer -> Integer Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Integer -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Integer -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Integer -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Integer -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Integer -> m Integer Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Integer -> m Integer Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Integer -> m Integer Source #

Num Integer

Since: base-2.1

Instance details

Defined in GHC.Num

Ord Integer
Instance details

Defined in GHC.Integer.Type

Read Integer

Since: base-2.1

Instance details

Defined in GHC.Read

Real Integer

Since: base-2.0.1

Instance details

Defined in GHC.Real

Show Integer

Since: base-2.1

Instance details

Defined in GHC.Show

Ix Integer

Since: base-2.1

Instance details

Defined in GHC.Ix

Hashable Integer
Instance details

Defined in Data.Hashable.Class

ToJSON Integer
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSONKey Integer
Instance details

Defined in Data.Aeson.Types.ToJSON

FromJSON Integer

This instance includes a bounds check to prevent maliciously large inputs to fill up the memory of the target system. You can newtype Scientific and provide your own instance using withScientific if you want to allow larger inputs.

Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSONKey Integer
Instance details

Defined in Data.Aeson.Types.FromJSON

Subtractive Integer
Instance details

Defined in Basement.Numerical.Subtractive

NFData Integer
Instance details

Defined in Control.DeepSeq

ExMemoryUsage Integer
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Pretty Integer
>>> pretty (2^123 :: Integer)
10633823966279326983230456482242756608
Instance details

Defined in Prettyprinter.Internal

UniformRange Integer
Instance details

Defined in System.Random.Internal

Serialise Integer

Since: serialise-0.2.0.0

Instance details

Defined in Codec.Serialise.Class

Pretty Integer
Instance details

Defined in Text.PrettyPrint.Annotated.WL

Pretty Rational
Instance details

Defined in Text.PrettyPrint.Annotated.WL

Eq Integer Source #
Instance details

Defined in PlutusTx.Eq

Ord Integer Source #
Instance details

Defined in PlutusTx.Ord

MultiplicativeMonoid Integer Source #
Instance details

Defined in PlutusTx.Numeric

MultiplicativeSemigroup Integer Source #
Instance details

Defined in PlutusTx.Numeric

AdditiveGroup Integer Source #
Instance details

Defined in PlutusTx.Numeric

AdditiveMonoid Integer Source #
Instance details

Defined in PlutusTx.Numeric

AdditiveSemigroup Integer Source #
Instance details

Defined in PlutusTx.Numeric

UnsafeFromData Integer Source #
Instance details

Defined in PlutusTx.IsData.Class

FromData Integer Source #
Instance details

Defined in PlutusTx.IsData.Class

ToData Integer Source #
Instance details

Defined in PlutusTx.IsData.Class

Enum Integer Source #
Instance details

Defined in PlutusTx.Enum

Lift Integer
Instance details

Defined in Language.Haskell.TH.Syntax

PrettyDefaultBy config Integer => PrettyBy config Integer
>>> prettyBy () (2^(123 :: Int) :: Integer)
10633823966279326983230456482242756608
Instance details

Defined in Text.PrettyBy.Internal

DefaultPrettyBy config Integer
Instance details

Defined in Text.PrettyBy.Internal

NonDefaultPrettyBy ConstConfig Integer
Instance details

Defined in PlutusCore.Pretty.PrettyConst

Includes uni Integer => Lift uni Integer Source #
Instance details

Defined in PlutusTx.Lift.Instances

ToBuiltin Integer BuiltinInteger Source #
Instance details

Defined in PlutusTx.Builtins.Class

FromBuiltin BuiltinInteger Integer Source #
Instance details

Defined in PlutusTx.Builtins.Class

Module Integer Rational Source #
Instance details

Defined in PlutusTx.Ratio

HasConstantIn DefaultUni term => MakeKnownIn DefaultUni term Integer
Instance details

Defined in PlutusCore.Default.Universe

HasConstantIn DefaultUni term => ReadKnownIn DefaultUni term Integer
Instance details

Defined in PlutusCore.Default.Universe

KnownNat n => Reifies (n :: Nat ) Integer
Instance details

Defined in Data.Reflection

KnownBuiltinTypeAst DefaultUni Integer => KnownTypeAst DefaultUni Integer
Instance details

Defined in PlutusCore.Default.Universe

Contains DefaultUni Integer
Instance details

Defined in PlutusCore.Default.Universe

Includes uni Integer => Typeable uni Integer Source #
Instance details

Defined in PlutusTx.Lift.Instances

type Difference Integer
Instance details

Defined in Basement.Numerical.Subtractive

type IntBaseType Integer
Instance details

Defined in Data.IntCast

type ToBinds Integer
Instance details

Defined in PlutusCore.Default.Universe

type ToBinds Integer = ToBinds (ElaborateBuiltin Integer )
type ToHoles Integer
Instance details

Defined in PlutusCore.Default.Universe

type ToHoles Integer = ToHoles (ElaborateBuiltin Integer )