safe-money-cereal-0.1: Instances from the cereal library for the safe-money library.

Safe HaskellNone
LanguageHaskell2010

Money.Cereal

Contents

Description

This module only exports orphan Serialize instances. Import as:

import Money.Cereal ()

Orphan instances

Serialize SomeDense Source #

Compatible with Dense.

Instance details

Serialize SomeDiscrete Source #

Compatible with Discrete.

Instance details

Serialize SomeExchangeRate Source #

Compatible with ExchangeRate.

Instance details

KnownSymbol currency => Serialize (Dense currency) Source #

Compatible with SomeDense.

Instance details

Methods

put :: Putter (Dense currency) #

get :: Get (Dense currency) #

(KnownSymbol currency, GoodScale scale) => Serialize (Discrete' currency scale) Source #

Compatible with SomeDiscrete.

Instance details

Methods

put :: Putter (Discrete' currency scale) #

get :: Get (Discrete' currency scale) #

(KnownSymbol src, KnownSymbol dst) => Serialize (ExchangeRate src dst) Source #

Compatible with SomeExchangeRate.

Instance details

Methods

put :: Putter (ExchangeRate src dst) #

get :: Get (ExchangeRate src dst) #