Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module only exports orphan FromXml
and ToXml
instances.
Import as:
import Money.Xmlbf ()
Orphan instances
FromXml SomeDense Source # | Compatible with |
FromXml SomeDiscrete Source # | Compatible with |
FromXml SomeExchangeRate Source # | Compatible with |
ToXml SomeDense Source # | Compatible with |
ToXml SomeDiscrete Source # | Compatible with |
toXml :: SomeDiscrete -> [Node] # | |
ToXml SomeExchangeRate Source # | Compatible with |
toXml :: SomeExchangeRate -> [Node] # | |
KnownSymbol currency => FromXml (Dense currency) Source # | Compatible with |
KnownSymbol currency => ToXml (Dense currency) Source # | Compatible with Example rendering <money-dense c="BTC" n="2" d="3"/> |
(KnownSymbol currency, GoodScale scale) => FromXml (Discrete' currency scale) Source # | Compatible with |
(KnownSymbol src, KnownSymbol dst) => FromXml (ExchangeRate src dst) Source # | Compatible with |
fromXml :: Parser (ExchangeRate src dst) # | |
(KnownSymbol currency, GoodScale scale) => ToXml (Discrete' currency scale) Source # | Compatible with Example rendering <money-discrete c="BTC" n="100000000" d="1" a="43"/> |
(KnownSymbol src, KnownSymbol dst) => ToXml (ExchangeRate src dst) Source # | Compatible with 'Money..SomeExchangeRate' Example rendering an <exchange-rate src="USD" dst="JPY" n="5" d="7"/> |
toXml :: ExchangeRate src dst -> [Node] # |