safe-money-store-0.1.1: Instances from the store library for the safe-money library.

Safe HaskellNone
LanguageHaskell2010

Money.Store

Contents

Description

This module only exports orphan Store instances. Import as:

import Money.Store ()

Orphan instances

Store Scale Source # 
Instance details

Methods

size :: Size Scale #

poke :: Scale -> Poke () #

peek :: Peek Scale #

Store SomeDense Source #

Compatible with Dense.

Instance details
Store SomeDiscrete Source #

Compatible with Discrete'.

Instance details
Store SomeExchangeRate Source #

Compatible with ExchangeRate.

Instance details
KnownSymbol currency => Store (Dense currency) Source #

Compatible with SomeDense.

Instance details

Methods

size :: Size (Dense currency) #

poke :: Dense currency -> Poke () #

peek :: Peek (Dense currency) #

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

Compatible with SomeDiscrete.

Instance details

Methods

size :: Size (Discrete' currency scale) #

poke :: Discrete' currency scale -> Poke () #

peek :: Peek (Discrete' currency scale) #

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

Compatible with SomeExchangeRate.

Instance details

Methods

size :: Size (ExchangeRate src dst) #

poke :: ExchangeRate src dst -> Poke () #

peek :: Peek (ExchangeRate src dst) #