Scala DSL for currency-related operations

A simple internal DSL in Scala for money-related operations Source code: Scala DSL for money-related operations This Domain-Specific Language (DSL) lets you perform operations among different currencies, by transparently doing all internal conversions. The conversion map is injected implicitly by the client code. Usage Example Here’s a simple usage example: import import object Main { def main(args: Array[String]): Unit = { val conversion: Conversion = Map( (GBP, EUR) -> 1.