-
## The Problem
```perl6
use v6.d;
use Test;
sub round-trip(&reader) {
my $f = "/tmp/testfile".IO;
my $content = "one\r\ntwo\nthree\rfour";
$f.spurt($content);
my $read-back…
-
Hi there! First of all **thank you** for rakudobrew - it's totally awesome!
As I play more and more with Perl 6, I feel I want to stay as up-to-date as possible with the current state of the code. Ho…
-
## The Problem
If one has a C struct and a function returning that struct by value:
```c
typedef struct {
double dat[2];
} gsl_complex;
gsl_complex gsl_poly_complex_eval(const do…
-
## The Problem
I should be able to resolve a constant exported into the caller's space via CALLER::LEXICAL:: and the name in a signature. Catch is that the signature doesn't seem to handle CALL…
-
## The Problem
I was trying to use the `NativeCall` feature to interact with the `/System/Library/PrivateFrameworks/UniversalAccess.framework/UniversalAccess` library. However, it insisted in tryin…
-
The `+a` and `+@a is raw` slurpies look equivalent, however, anyway I slice it, I see results as inconsistent:
* When we're doing `raw`, why is it converting `Array` to `List`?
* When we're not do…
-
## The Problem
Perl 6 lets you do awesome stuff like
my @r = 2,4,6;
my $div = @r[0];
@r X/= $div;
dd @r; # output: Array @r = [1.0, 2.0, 3.0]
However, when I try to d…
mscha updated
5 years ago
-
## The Problem
``` perl6
my &f = EVAL '({1 given 2})';
```
```
WARNINGS for /home/sam/EVAL_0:
Useless use of constant integer 1 in sink context (use Nil instead to suppress this warning) (li…
-
Moved from https://github.com/perl6/doc/issues/2398
```
$ perl6 -v
This is Rakudo version 2018.06 built on MoarVM version 2018.06 implementing Perl 6.c.
$ rpm -qa rakudo\*
rakudo-pkg-2018.06…
-
## The Problem
When creating a function using `.assuming`, the performance of the function is severely impaired. For example,
my $*x = 0;
my &a = sub ($y) { $*x += $y };
a(1) fo…