On Fri, Feb 20, 2009 at 03:31:03PM -0300, Daniel Ruoso wrote:
: Em Sex, 2009-02-20 às 10:17 -0800, Larry Wall escreveu:
: > By the by, I'm also inclined to agree with those who prefer "Instant"
: > to "DateTime" on aesthetic grounds.
: I should note that I'm insisting on DateTime just as the reference p5
: module in CPAN, I don't oppose it being called Instant in Perl 6.

And I should clarify that by Instant I was referring to a particular
data type, not the module that defines it.

I suppose Temporal is as good a module name as any, though Temporal::Instant
does seem a bit redundant...

On the other hand, Instant::Duration is just wrong.  Perhaps we could
just go with Instant and Duration as top-level roles since they're
rather fundamental to lots of computing.  As builtins they would
presumably come with appropriate operators predefined.  And as roles
they could be tweaked by a derived class to mean something slightly
different, if the need arises.


Reply via email to