Scala library to associate values to unit of measure type and scale