fun with hours, minutes, seconds etc



On Tue, Feb 3, 2009 at 9:17 AM, Stavros Macrakis <macrakis at alum.mit.edu> wrote:

> Nice... what happens if you add a fractional-inch unit?  Do you get
> 3/2`inch `` [inch, finch] =>  [1 inch, 1/2 finch]?

Well, maybe this:

3/2 ` inch `` [inch, inch];
  => [1 ` inch, 1/2 ` inch]

or this:

declare_unit_conversion (hairs_breadth=1/100*inch);
3/2 ` inch `` [inch, hairs_breadth];
 => [1 ` inch, 50 ` hairs_breadth]

FWIW

Robert