Unit Fun v0.5.3 UnitFun.Convertor protocol
Implementing this protocol definines a relationship into units. An example of this should be Pence and Pounds:
defimpl UnitFun.Convertor, for: Pence do
def convert(_, Pounds, value), do: (value * 100)
end
Summary
Types
t :: term