argo-0.2022.8.28: Parse and render JSON.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Argo.Internal.Type.Decimal

Documentation

data Decimal Source #

Constructors

Decimal Integer Integer 

Instances

Instances details
HasCodec Decimal Source # 
Instance details

Defined in Argo.Internal.Class.HasCodec

Show Decimal Source # 
Instance details

Defined in Argo.Internal.Type.Decimal

NFData Decimal Source # 
Instance details

Defined in Argo.Internal.Type.Decimal

Methods

rnf :: Decimal -> () #

Eq Decimal Source # 
Instance details

Defined in Argo.Internal.Type.Decimal

Methods

(==) :: Decimal -> Decimal -> Bool #

(/=) :: Decimal -> Decimal -> Bool #

Lift Decimal Source # 
Instance details

Defined in Argo.Internal.Type.Decimal

Methods

lift :: Quote m => Decimal -> m Exp #

liftTyped :: forall (m :: Type -> Type). Quote m => Decimal -> Code m Decimal #

factor :: (Num a, Integral b) => b -> a -> b -> (a, b) Source #