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

Re: A new era for Temporal

Thread Previous | Thread Next
From:
Mark J. Reed
Date:
April 12, 2010 03:38
Subject:
Re: A new era for Temporal
Message ID:
h2zf60fe001004120338k745a54b2i74fbe9d740adb119@mail.gmail.com
On Sun, Apr 11, 2010 at 9:47 PM, Dave Rolsky <autarch@urth.org> wrote:

> On Sun, 11 Apr 2010, Moritz Lenz wrote:
>
>  I've planned to add such a module to the Perl 6 spec, but some comments
>> on #perl6 suggested it should be kept out of core to prevent bloat.
>> Still if the overall opinion is that Perl 6 should have such a module
>> out of the box, I'll be happy to spec it.
>>
>
> I think that having a standard, minimal API for this defined in core as a
> Date role would be ideal.


Agreed.  In fact, I'd like to see DateTime be defined explicitly as a
superset (subrole) of Date, with a method for extracting just the Date
portion built in to DateTime.


-- 
Mark J. Reed <markjreed@gmail.com>


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