thanks.
$*PROGRAM.dirname.IO.absolute;
also works, but yours seem better.
As a side note, dirname does not return and IO::Path object either.
Gabor
On Sat, May 27, 2017 at 6:48 PM, Lloyd Fournier wrote:
> I'd use
>
> $*PROGRAM.absolute.IO.dirname
>
> I'm not sure why
Excellent. Thanks.
Gabor
On Fri, May 26, 2017 at 1:15 PM, Elizabeth Mattijsen wrote:
> Fixed with https://github.com/rakudo/rakudo/commit/f2fca0c8c2 .
>
>> On 26 May 2017, at 10:47, Brent Laabs wrote:
>>
>> To file a bug in Rakudo, you should email
> On 27 May 2017, at 23:22, Elizabeth Mattijsen wrote:
>> On 27 May 2017, at 19:33, Marcel Timmerman wrote:
>> In perl6 version 2017.04.3-287-g3e7675a built on MoarVM version
>> 2017.04-64-g6d5ea04
>> implementing Perl 6.c. I observe the following;
>>
>> my
> On 27 May 2017, at 19:33, Marcel Timmerman wrote:
> In perl6 version 2017.04.3-287-g3e7675a built on MoarVM version
> 2017.04-64-g6d5ea04
> implementing Perl 6.c. I observe the following;
>
> my Num $num = Inf;
> my FatRat $f = $num.FatRat;
> Type check failed in
Hi,
In perl6 version 2017.04.3-287-g3e7675a built on MoarVM version
2017.04-64-g6d5ea04
implementing Perl 6.c. I observe the following;
my Num $num = Inf;
my FatRat $f = $num.FatRat;
Type check failed in assignment to $f; expected FatRat but got
Rational[Num,Int] (?)
in block at line
I'd use
$*PROGRAM.absolute.IO.dirname
I'm not sure why .absolute doesn't return an IO::Path object. Maybe that's
being addressed as part of Zoffix++'s IO work.
On Sat, May 27, 2017 at 10:07 PM Gabor Szabo wrote:
> I came up with this:
>
> say