Re: Good error messages: going the extra mile

2010-04-08 Thread Moritz Lenz
Am 07.04.2010 01:16, schrieb Aristotle Pagaltzis: Hi Larry (mostly) et al, this sounds like something STD could try to steal: *http://blog.llvm.org/2010/04/amazing-feats-of-clang-error-recovery.html Okay, this may be going a bit far, but how else are you going to fall completely in love

r30346 - docs/Perl6/Spec/S32-setting-library

2010-04-08 Thread pugs-commits
Author: masak Date: 2010-04-08 23:31:08 +0200 (Thu, 08 Apr 2010) New Revision: 30346 Modified: docs/Perl6/Spec/S32-setting-library/Temporal.pod Log: [S32::Temporal] big change, based on much discussion A number of people spent last Sunday discussing various solutions to the Temporal module.

r30347 - docs/Perl6/Spec/S32-setting-library

2010-04-08 Thread pugs-commits
Author: masak Date: 2010-04-08 23:38:21 +0200 (Thu, 08 Apr 2010) New Revision: 30347 Modified: docs/Perl6/Spec/S32-setting-library/Temporal.pod Log: [S32::Temporal] adjusted date :) Modified: docs/Perl6/Spec/S32-setting-library/Temporal.pod

A new era for Temporal

2010-04-08 Thread Carl Mäsak
We (mberends and masak) just pushed a commit to S32::Temporal which completely replaces what we had before. The changes are rooted in hours of discussion on #perl6, and we feel rather more confident with what we have now than with what we had before. That said, discussion is very welcome. I do

Temporal.pod truncate

2010-04-08 Thread John Williams
Small feature request: $dt.truncate( :toweek ); is somewhat ambiguous, since some people start their week on Sunday, while the module truncates to Monday. Would you consider a less ambiguous week truncation? $dt.truncate( :tosunday ); $dt.truncate( :tomonday ); ~ John Williams

Re: Temporal.pod truncate

2010-04-08 Thread Carl Mäsak
John (): Small feature request:  $dt.truncate( :toweek ); is somewhat ambiguous, since some people start their week on Sunday, while the module truncates to Monday. Would you consider a less ambiguous week truncation?  $dt.truncate( :tosunday );  $dt.truncate( :tomonday ); I had the

Re: r30346 - docs/Perl6/Spec/S32-setting-library

2010-04-08 Thread yary
On Thu, Apr 8, 2010 at 2:31 PM, pugs-comm...@feather.perl6.nl wrote: +month (for example April 31st) or in that non-leap year (for example February +29th 1996). 1996 *was* a leap year! Use 2006 (or 2010, or... etc) if you want a Feb with 28 days.

Re: Temporal.pod truncate

2010-04-08 Thread Mark J. Reed
I think that :toweek should stay as-is; it truncates to whatever the .week method returns, and that's Monday-based. It would be too inconsistent for it to do anything else. Asking for the latest prior Sunday or any other weekday is a useful function, but it doesn't really have anything to do

Re: A new era for Temporal

2010-04-08 Thread Mark J. Reed
This looks much better. Thank you. When can we expect to see the new version implemented in Rakudo? Need any help on that front? On Thu, Apr 8, 2010 at 5:52 PM, Carl Mäsak cma...@gmail.com wrote: We (mberends and masak) just pushed a commit to S32::Temporal which completely replaces what we