Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
newtype Decimal (p :: Nat) (s :: Nat) Source #
Instances
Eq (Decimal p s) Source # | |
Fractional (Decimal p s) Source # | |
Num (Decimal p s) Source # | |
Defined in Data.Avro.Schema.Decimal (+) :: Decimal p s -> Decimal p s -> Decimal p s # (-) :: Decimal p s -> Decimal p s -> Decimal p s # (*) :: Decimal p s -> Decimal p s -> Decimal p s # negate :: Decimal p s -> Decimal p s # abs :: Decimal p s -> Decimal p s # signum :: Decimal p s -> Decimal p s # fromInteger :: Integer -> Decimal p s # | |
Ord (Decimal p s) Source # | |
Defined in Data.Avro.Schema.Decimal | |
Read (Decimal p s) Source # | |
Real (Decimal p s) Source # | |
Defined in Data.Avro.Schema.Decimal toRational :: Decimal p s -> Rational # | |
Show (Decimal p s) Source # | |
(KnownNat p, KnownNat s) => HasAvroSchema (Decimal p s) Source # | |
(KnownNat p, KnownNat s) => ToAvro (Decimal p s) Source # | |
(KnownNat p, KnownNat s) => FromAvro (Decimal p s) Source # | |