A unit conversion/checking system in coffeescript