Instances

In order to for the full set of operations available you must create a singleton instance of InstancesForCurrency[C]. Where C is your set of currencies. It is possible to override any of the behaviors when missing with if you wish.

object Instances extends app.fmgp.money.instances.InstancesForCurrency[MyCurrency]
import Instances.all.{given _, _}

Defualts

You can also use the ISO_4217 list currencies. In that case you only need to import the defualt defualt instances.

import app.fmgp.money.instances.all.{given _, _}

InstancesForCurrency[C] mix the instances from MoneyInstances with MoneyTreeInstances. For more customization, you can mix those yourself.