On Thu, Apr 24, 2014 at 5:21 AM, Simon Sapin <simon.sapin@exyr.org> wrote: > On 24/04/2014 00:56, Tab Atkins Jr. wrote: >> * We'll allow unit powers other than 1/0/-1. > > That’s only for intermediate expressions, right? The overall calc() > expression still needs to have a single "base" unit, if only to type-check > wherever it’s used. Yes, the final unit has to be a recognized one. (Though, note the slight complication that a calc() should probably be allowed to resolve to a non-recognized unit *if it's nested inside another calc()*, since "calc(1 + calc(2 + 3))" is basically identical to "calc(1 + (2 + 3))".) ~TJReceived on Thursday, 24 April 2014 15:04:24 UTC
This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:39 UTC