Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module only exports orphan Serialise
instances. Import as:
import Money.Serialise ()
Orphan instances
Serialise SomeDense Source # | Compatible with |
Serialise SomeDiscrete Source # | Compatible with |
encode :: SomeDiscrete -> Encoding # decode :: Decoder s SomeDiscrete # encodeList :: [SomeDiscrete] -> Encoding # decodeList :: Decoder s [SomeDiscrete] # | |
Serialise SomeExchangeRate Source # | Compatible with |
encode :: SomeExchangeRate -> Encoding # decode :: Decoder s SomeExchangeRate # encodeList :: [SomeExchangeRate] -> Encoding # decodeList :: Decoder s [SomeExchangeRate] # | |
KnownSymbol currency => Serialise (Dense currency) Source # | Compatible with |
(KnownSymbol currency, GoodScale scale) => Serialise (Discrete' currency scale) Source # | Compatible with |
(KnownSymbol src, KnownSymbol dst) => Serialise (ExchangeRate src dst) Source # | Compatible with |
encode :: ExchangeRate src dst -> Encoding # decode :: Decoder s (ExchangeRate src dst) # encodeList :: [ExchangeRate src dst] -> Encoding # decodeList :: Decoder s [ExchangeRate src dst] # |