* Timothy S. Nelson (wayl...@wayland.id.au) [090218 03:08]:
> On Tue, 17 Feb 2009, Richard Hainsworth wrote:
> >Moreover, if perl6 distinguishes between a location and a file, then the
> >spec can distinguish between a .children() method that provides a list of
> >child locations (viz., sub-direc
Timothy S. Nelson wrote:
On Tue, 17 Feb 2009, Richard Hainsworth wrote:
Timothy S. Nelson wrote:
be specifying our files; it's prettier than File::Spec :), and
unified.
Anyway, HTH,
I like all the default suggestions.
Not sure whether this means you completely agree with me, o
Author: wayland
Date: 2009-02-18 11:04:41 +0100 (Wed, 18 Feb 2009)
New Revision: 25380
Modified:
docs/Perl6/Spec/S16-io.pod
Log:
Fixed .new() methods to have correct name (instead of .init(), like I had)
Modified: docs/Perl6/Spec/S16-io.pod
> +role Date {
> + has Calendar $.calendar;
> + has NumberName $.year;
> + has NumberName $.month;
> + has NumberName $.dayofmonth;
> + has NumberName $.dayofweek;
> + has NumberName $.dayofyear;
> + has NumberName $.dayofquarter;
> + has NumberName
I'd like to note that FileDescriptors are not reserved unices. I know
Windows also has them (though they aren't commonly used), and quite
possibly others too.
Also, IO::Socket.close() is not an alternative for a shutdown()
method. They do subtly different things. IO::Socket should support
both IMH
Em Ter, 2009-02-17 às 22:38 +1100, Timothy S. Nelson escreveu:
> My third thought is that it would be very useful also to have
> date/time objects that integrate well with eg. ctime, mtime, and the like;
> I'd
> start with Time::Piece as a model.
> http://search.cpan.org/dist/Time-Piece/Pi
On Wed, 18 Feb 2009, Leon Timmermans wrote:
I'd like to note that FileDescriptors are not reserved unices. I know
Windows also has them (though they aren't commonly used), and quite
possibly others too.
Will be fixed in next update.
Also, IO::Socket.close() is not an alternative for
Author: wayland
Date: 2009-02-18 12:16:00 +0100 (Wed, 18 Feb 2009)
New Revision: 25382
Modified:
docs/Perl6/Spec/S16-io.pod
Log:
Fixed some things people were complaining about.
Modified: docs/Perl6/Spec/S16-io.pod
===
--- docs
Actually, it seems to me that we do agree fundamentally, although using
different terminology.
And like I said in an earlier email, I do like/agree with the way you
are taking the Spec.
Also, it seems to me a re-ordering of the material in the Specs would
make more sense.
On our disagreeme
On Wed, Feb 18, 2009 at 12:16 PM, Timothy S. Nelson
wrote:
> On Wed, 18 Feb 2009, Leon Timmermans wrote:
>
>The only difference I could see was that shutdown allows changing the
> readability and writeability. While I agree that this functionality should
> be exposed, (see my next update)
On Mon Feb 16 11:20:06 2009, bacek wrote:
> On Sun Dec 14 02:15:27 2008, masak wrote:
> > The following doesn't parse in Rakudo r33860:
> >
> > $ perl6 -e 'class A { method x { say "OH HAI" } }; my $c = class is A
> > {}; $c.x'
> > Statement not terminated properly at line 1, near "{}; $c.x"
> > [
On Thu Dec 18 13:04:15 2008, masak wrote:
> rakudo: class A { has $.bar; }; class B is A { has Int $.foo
> }; class C is B; my $m = C.new( A{ :bar }, B{ :foo<5> } ); say
> $m.foo;
> rakudo 34078: OUTPUT[Int]
> aha.
> * masak submits rakudobug
/me commits rakudofix (git 6663565). And untodo's t
On Mon Dec 22 06:24:11 2008, moritz wrote:
> currently (r34146) Rakudo allows 'class MyClass does RoleName { ... }',
> but not 'class MyClass { does RoleName; ... }' (same with 'is
> ClassName)', which should be allowed accordingly to S12:113.
>
Incorporated parsing this in as close to how STD.pm
On Wed, Feb 18, 2009 at 6:36 AM, Richard Hainsworth
wrote:
> What needs to be abstracted so that a perl6 program can know that a
> Writeable may not be able to accept data (eg., because the file system is
> full)?
I don't understand the question. To be a Writable, an object must
have a mechanism
On Fri Feb 13 23:07:32 2009, bacek wrote:
> On Mon Jan 05 12:00:25 2009, moritz wrote:
> > Carl MXXsak (via RT) wrote:
> > >
> > > $ perl6 -e 'my $a = 5; $a min= 2; say $a'
> > > get_iter() not implemented in class 'Integer'
> > > [...]
> >
> > Added tests to t/spec/S03-operators/assign.t (which gr
# New Ticket Created by Moritz Lenz
# Please include the string: [perl #63276]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=63276 >
Parrot r36678, Rakudo 0f87695c:
class Scissor { };
class Paper { };
class
Vasily Chekalkin via RT wrote:
> On Sat Feb 14 08:16:28 2009, masak wrote:
>> rakudo: for "a".."c" Z ("?", "a".."b") -> $x1, $x2 { say $x1,
> $x2 }
>> rakudo a0a390: OUTPUT«a?baStopIteration [...]
>> jnthn: does this look right to you?
>> pugs: for "a".."c" Z ("?", "a".."b") -> $x1, $x2 { say
On Wed, 18 Feb 2009, Mark J. Reed wrote:
On Wed, Feb 18, 2009 at 6:36 AM, Richard Hainsworth
wrote:
What needs to be abstracted so that a perl6 program can know that a
Writeable may not be able to accept data (eg., because the file system is
full)?
I don't understand the question. To be a W
On Wed, 18 Feb 2009, Leon Timmermans wrote:
On Wed, Feb 18, 2009 at 12:16 PM, Timothy S. Nelson
wrote:
On Wed, 18 Feb 2009, Leon Timmermans wrote:
The only difference I could see was that shutdown allows changing the
readability and writeability. While I agree that this functionality
On Fri Dec 28 15:59:18 2007, pmichaud wrote:
> Currently all of the builtins for perl6 are written in PIR.
> However, it would make more sense if some builtins were written
> in Perl 6.
>
And boy did it take us a little while to get there, but today we have. :-)
See under src/setting/ for various
On Wed, 18 Feb 2009, Richard Hainsworth wrote:
For what you want, I would think, you need
@files = grep { :f } $dir.contents; # note the adverbial form, which is
mentioned in one of the other specs.
Yup, thanks.
By analogy there would be
@subdirectories = grep { :d } $dir.contents;
On Tue Feb 17 14:03:57 2009, bacek wrote:
> Hello.
>
> There is implementation of triangle form of reduce metaop.
> Tests are coming.
Second patch for chained version.
--
Bacek
commit ea8a466adb691d7c9d0d9b4859142d1494a2ed24
Author: Vasily Chekalkin
Date: Wed Feb 18 20:21:02 2009 +1100
Hi,
Timothy S. Nelson wrote:
> I'm not suggesting here that we specify the interfaces to all the
> modules listed in the Camel book, or anything like that. Instead, I'm
> suggesting that the S32 space be used for documenting the objects that we
> don't seem to be able to get away from.
Moritz Lenz via RT wrote:
On Tue Feb 17 14:03:57 2009, bacek wrote:
Hello.
There is implementation of triangle form of reduce metaop.
Tests are coming.
FYI, there are already tests in S03-operators/reduce-metaop.t
And they partially wrong. I'm fixing them ATM.
--
Bacek
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #63306]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=63306 >
pugs: say [**] 2, 3, 4
pugs: OUTPUT«2417851639229258349412352»
pugs: say 2 ** 3 ** 4
On this code rakudo will hung
sub test($test is write)
{
print $test
};
test(12);
And i think that is must be compiler error, with message Like this "can't
pass const as reference" or something else.
On this code rakudo will hung
sub test($test is write)
{
print $test
};
test(12);
And i think that is must be compiler error, with message Like this "can't
pass const as reference" or something else.
Sorry, this was supposed to go to the mailing list.
On Wed, 18 Feb 2009, Timothy S. Nelson wrote:
After looking through the Phlanx project (which lists 100 or so top
perl modules), and the list in the Camel book, I can only see one or two
other
things we might eventually need,
...and this was too.
On Wed, 18 Feb 2009, Moritz Lenz wrote:
Hi,
Timothy S. Nelson wrote:
I'm not suggesting here that we specify the interfaces to all the
modules listed in the Camel book, or anything like that. Instead, I'm
suggesting that the S32 space be used for documen
# New Ticket Created by Vasily Chekalkin
# Please include the string: [perl #63292]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=63292 >
Hello.
There is implementation of triangle form of reduce metaop.
Tests are coming.
TSa wrote:
> HaloO,
>
> Daniel Ruoso wrote:
>> Em Ter, 2009-02-17 às 09:19 -0300, Daniel Ruoso escreveu:
>>> multi infix:<+> (int where { 2 } $i, int where { 2 } $j) {...}
>>
>> As masak++ and moritz++ pointed out, this should be written
>>
>> multi infix:<+> (int $i where 2, int $j where 2) {
On Wed, 18 Feb 2009, Timothy S. Nelson wrote:
> I'll try and design an API that does what DateTime does, but:
> 1. Uses more variables, of which I expect the getters and setters to be
> overridden.
Please let's NOT have setters on "time" objects. They're a source of subtle
bugs in such client co
On Wed, 18 Feb 2009, Timothy S. Nelson wrote:
Agreed, and that's kinda what I'm doing. But I still think there's
room for improvement. I'll try and design an API that does what DateTime
does, but:
1. Uses more variables, of which I expect the getters and setters to be
overridde
Author: wayland
Date: 2009-02-19 05:08:23 +0100 (Thu, 19 Feb 2009)
New Revision: 25403
Modified:
docs/Perl6/Spec/S16-io.pod
docs/Perl6/Spec/S29-functions.pod
docs/Perl6/Spec/S32-setting-library/Any.pod
docs/Perl6/Spec/S32-setting-library/Containers.pod
docs/Perl6/Spec/S32-setting-li
On Wed, 18 Feb 2009, Dave Rolsky wrote:
On Wed, 18 Feb 2009, Timothy S. Nelson wrote:
Agreed, and that's kinda what I'm doing. But I still think there's
room for improvement. I'll try and design an API that does what DateTime
does, but:
1. Uses more variables, of which I expect the g
Timothy (>), Moritz (>>):
>> Speaking of Tree, let me quote from IRC:
>>
>> 09:23 < masak> it's a bit unfortunate that the identifier 'Tree' is now
>> squatted by an internal class in Perl 6, which is not
>> general
>> enough to reprenest an arbitrary tree data structure.
Author: wayland
Date: 2009-02-19 08:47:26 +0100 (Thu, 19 Feb 2009)
New Revision: 25405
Modified:
docs/Perl6/Spec/S32-setting-library/Temporal.pod
Log:
Improved Temporal (previously DateTime) stuff a bit
Modified: docs/Perl6/Spec/S32-setting-library/Temporal.pod
===
pugs-comm...@feather.perl6.nl wrote:
Author: wayland
Date: 2009-02-19 04:46:06 +0100 (Thu, 19 Feb 2009)
New Revision: 25402
Added:
docs/Perl6/Spec/S32-setting-library/
docs/Perl6/Spec/S32-setting-library/Any.pod
docs/Perl6/Spec/S32-setting-library/Containers.pod
docs/Perl6/Spec/S32-s
38 matches
Mail list logo