Re: .add missing from IO::Path?

2017-05-28 Thread Gabor Szabo
On Sun, May 28, 2017 at 11:29 PM, Timo Paulssen wrote: > what version of rakudo are you on? This is Rakudo version 2017.01 built on MoarVM version 2017.01 After upgrading to 2017.04.3 built on MoarVM version 2017.04-53-g66c6dda it started to work. It is magic! :) Gabor /me thanks Timo and goe

Re: .add missing from IO::Path?

2017-05-28 Thread Timo Paulssen
what version of rakudo are you on?

.add missing from IO::Path?

2017-05-28 Thread Gabor Szabo
Reading https://docs.perl6.org/type/IO::Path#method_child I thought I need to use .child or .add but .add does not seem to work: "foo/bar".IO.add("def") No such method 'add' for invocant of type 'IO::Path' in block at line 1 Gabor

Re: zef, zef-j, zef-m

2017-05-28 Thread Parrot Raiser
If they are really identical, might it be an idea to use symbolic links for 2 of them? That would reduce the code to be stored, maintained, and transmitted, and make it blatantly obvious if different versions are required. On 5/28/17, Nelo Onyiah wrote: > I presume that's j for JVM and m for Moar

Re: zef, zef-j, zef-m

2017-05-28 Thread Nelo Onyiah
I presume that's j for JVM and m for MoarVM. On 28 May 2017 2:42 pm, "Gabor Szabo" wrote: > Hi, > > I've just noticed that in /Applications/Rakudo/share/perl6/site/bin/ I > have 3 copies > of every script. One with a -j and one with a -m at the end just as for > zef: > > zef > zef-j > zef-m > >

zef, zef-j, zef-m

2017-05-28 Thread Gabor Szabo
Hi, I've just noticed that in /Applications/Rakudo/share/perl6/site/bin/ I have 3 copies of every script. One with a -j and one with a -m at the end just as for zef: zef zef-j zef-m The files seem to be identical. Why are there 3 and what is their purpose? Gabor

Re: naming a class

2017-05-28 Thread Marcel Timmerman
On 05/28/2017 12:04 PM, Elizabeth Mattijsen wrote: On 28 May 2017, at 11:49, Marcel Timmerman wrote: I've a question about naming a specific class. It is about the type Decimal128 which I need in BSON. For the moment I want it to hold a number and in BSON to encode and decode it to a byte stre

Re: naming a class

2017-05-28 Thread Elizabeth Mattijsen
> On 28 May 2017, at 11:49, Marcel Timmerman wrote: > I've a question about naming a specific class. It is about the type > Decimal128 which I need in BSON. For the moment I want it to hold a number > and in BSON to encode and decode it to a byte stream. Later I can add > specific operations an

naming a class

2017-05-28 Thread Marcel Timmerman
Hi, I've a question about naming a specific class. It is about the type Decimal128 which I need in BSON. For the moment I want it to hold a number and in BSON to encode and decode it to a byte stream. Later I can add specific operations and other known decimal types. I am thinking of the foll