() Finally, we could use this approach to define functions for any kind of unit, so we could write:
100.miles
5.coffeecups
and we would get code completion for all of this whenever we write any number followed by a dot.
Posted 2 years ago (01 November 2022)