From: Steven Watanabe (steven_at_[hidden])
Date: 2007-03-26 17:24:47


AMDG

Deane Yang <deane_yang <at> yahoo.com> writes:

>
> Please take everything I say with a gigantic salt crystal, but I would
> want to forbid an expression like "inches * miles / furlongs". You might
> recall that I am one of the few who wants explicit unit casting.

I prefer explicit too. The expression "inches * miles / furlongs"
doesn't do any conversion. It returns a type that encodes the combination.
If you want the result in inches you have to explicitly cast.

In Christ,
Steven Watanabe