Carl Mäsak

Results 229 issues of Carl Mäsak

``` > (set L '(2 4 5 6 8)) (2 4 5 6 8) > (some odd L) (5 6 8) > (pop (some odd L)) 5 > L (2...

http://irclog.perlgeek.de/perl6-monads/2017-01-08#i_13878939 * To reproduce: write `ilbot3: ` and then whatever * Expected: the log to contain `ilbot3: ` like I wrote * Actual: it doesn't — see above for an...

``` n: say 3.14159625.base(2) niecza v19-15-g051783d: OUTPUT«Unhandled exception: Unable to resolve method base in type Rat [...] r: say 3.14159625.base(2) nieczabug * masak submits ```

``` r: for foo => 1, bar => 2 -> (:key($k), :value($)) { say $k } rakudo cecc9f: OUTPUT«foo␤bar␤» n: for foo => 1, bar => 2 -> (:key($k), :value($))...

``` nr: sub foo { [+] gather '' ~~ / ^ { take 1..4; return 0 } / }; say foo niecza v22-13-g0d2a99e: OUTPUT«10␤» ..rakudo c2005e: OUTPUT«0␤» I think this...

``` nr: say +(Nil, ) niecza v21-30-g5626cc3: OUTPUT«1␤» ..rakudo 7d6aa0: OUTPUT«0␤» * moritz wonders what masak will make of that a witch! I mean, a bug! moritz: fwiw, I can't...

``` rn: given 42 { succeed; say "this doesn't get run" }; say "alive" rakudo d1f4dc: OUTPUT«succeed without when clause [...] ..niecza v21-1-ga8aa70b: OUTPUT«alive␤» hm. I'm tentatively with Niecza on...

``` rn: given [1, 2, 3] -> [$a, $b, $c] { say "$a $b $c" } rakudo 962b9b: OUTPUT«1 2 3␤» ..niecza v21-1-ga8aa70b: OUTPUT«Use of uninitialized value in string context...

``` n: ೨ niecza v19-26-g025a6e6: OUTPUT«Unhandled exception: Digit too large for radix 10 [...] I thought that would break :> ೨ isn't so large... :P it's probably doing something like...

``` std: repeat { say "OH HAI" } std f43a358: OUTPUT«===SORRY!===␤Undeclared routine:␤ 'repeat' used at line 1␤Check failed␤FAILED 00:00 41m␤» hm. did you mean loop? jnthn: no, I meant to...