develooper Front page | perl.perl6.language | Postings from November 2010

Re: exponentiation of Duration's

Thread Previous | Thread Next
From:
Carl Mäsak
Date:
November 18, 2010 20:29
Subject:
Re: exponentiation of Duration's
Message ID:
AANLkTi=MSYOsLQfuaFZ2rmXvFQ++UxDm4SHHaEuBQuLi@mail.gmail.com
Darren (>):
> Specific units, even "seconds" should not be mentioned at all in the
> definition of "Instant" or "Duration"; instead, any particular units or
> calendars or whatever would just be a property of the composing class.

No disrespect, but it was the abandonment of abstracty stuff like this
that led to us getting a Temporal spec that made sense and could be
implemented.

// Carl

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About