Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Instances
Eq Decimal Source # | |
Show Decimal Source # | |
Generic Decimal Source # | |
NFData Decimal Source # | |
Defined in Argo.Type.Decimal | |
HasCodec Decimal Source # | |
Lift Decimal Source # | |
type Rep Decimal Source # | |
Defined in Argo.Type.Decimal type Rep Decimal = D1 ('MetaData "Decimal" "Argo.Type.Decimal" "argo-0.2022.2.2-6ZyX4gr8GV420Z9TtV1LUA" 'False) (C1 ('MetaCons "Decimal" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer))) |
fromInteger :: Integer -> Decimal Source #
toRealFloat :: RealFloat a => Decimal -> a Source #
toRational :: Decimal -> Rational Source #