Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2012-10-13

Perl 6 | Reference Documentation | Rakudo

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:01 fgomez joined #perl6
00:17 benabik joined #perl6
00:31 _jaldhar joined #perl6
00:33 skids https://gist.github.com/3882578 # one obstacle to Sum modules working from panda precompiles
00:36 grondilu n: say "hello"
00:36 p6eval niecza v22-9-g7ae412a: OUTPUT«hello␤»
00:36 grondilu rn:  class Foo { method postfix:<!> { say "foo" } }; sub postfix:<!>(Foo $) { say "bar" }; Foo!; Foo.postfix:<!>()
00:37 p6eval rakudo 547fcb, niecza v22-9-g7ae412a: OUTPUT«bar␤foo␤»
00:37 grondilu rn:  class Foo { method postfix:<!> { say "foo" } }; sub postfix:<!>(Foo $) { say "bar" }; Foo.&postfix:<!>()
00:38 p6eval rakudo 547fcb, niecza v22-9-g7ae412a: OUTPUT«bar␤»
00:38 whiteknight joined #perl6
00:39 aloha joined #perl6
00:39 ChoHag joined #perl6
00:46 grondilu rn: role Modular { has $.modulo }; sub infix:<+>($a, Modular $b) { ($a+$b) % $b.modulo }; my ($a, $b) = 4, 7; say $a + ($b but Modulo(10));
00:47 p6eval niecza v22-9-g7ae412a: OUTPUT«[31m===[0mSORRY![31m===[0mâ�¤â�¤Undeclared name:â�¤ 'Modulo' used at line 1â�¤â�¤Unhandled exception: Check failedâ�¤â�¤  at /home/p6eval/niecza/boot/lib/CORE.setting line 1437 (die @ 5) â�¤  at /home/p6eval/niecza/src/STD.pm6 line 1147 (P6.comp_unit @ 37) â�¤  at /home/…
00:47 p6eval ..rakudo 547fcb: OUTPUT«===SORRY!===␤CHECK FAILED:␤Undefined routine '&Modulo' called (line 1)␤»
00:47 grondilu rn: role Modular { has $.modulo }; sub infix:<+>($a, Modular $b) { ($a+$b) % $b.modulo }; my ($a, $b) = 4, 7; say $a + ($b but Modular(10));
00:47 sivoais joined #perl6
00:47 p6eval niecza v22-9-g7ae412a: OUTPUT«(timeout)»
00:47 p6eval ..rakudo 547fcb: OUTPUT«maximum recursion depth exceeded␤current instr.: 'print_exception' pc 88369 (src/gen/CORE.setting.pir:42327) (src/gen/CORE.setting:9039)␤called from Sub 'infix:<+>' pc 202 ((file unknown):102) (/tmp/LrBnwWnNty:1)␤called from Sub 'infix:<+>' pc 228 ((file unknown):1…
00:48 grondilu rn: role Modular { has $.modulo }; sub infix:<+>($a, Modular $b) { callsame % $b.modulo }; my ($a, $b) = 4, 7; say $a + ($b but Modular(10));
00:48 p6eval niecza v22-9-g7ae412a: OUTPUT«[31m===[0mSORRY![31m​===[0mâ�¤â�¤Non-declarative sigil is missing its name at /tmp/VPWDnmMpkh line 1:â�¤------> [32mub infix:<+>($a, Modular $b) { callsame [33mâ��[31m% $b.modulo }; my ($a, $b) = 4, 7; say $[0mâ�¤â�¤Potential difficulties:â�¤  $a is declared but n…
00:48 p6eval ..rakudo 547fcb: OUTPUT«===SORRY!===␤Non-declarative sigil is missing its name␤at /tmp/Tmnqgf6_3z:1␤»
00:48 grondilu rn: role Modular { has $.modulo }; sub infix:<+>($a, Modular $b) { callsame() % $b.modulo }; my ($a, $b) = 4, 7; say $a + ($b but Modular(10));
00:48 p6eval niecza v22-9-g7ae412a: OUTPUT«Potential difficulties:â�¤  $a is declared but not used at /tmp/GiefRg4aCJ line 1:â�¤------> [32mModular { has $.modulo }; sub infix:<+>([33mâ��[31m$a, Modular $b) { callsame() % $b.modulo[0mâ�¤â�¤Unhandled exception: No next function to call!â�¤  at /home/p6eval/n…
00:48 p6eval ..rakudo 547fcb: OUTPUT«callsame is not in the dynamic scope of a dispatcher␤  in block  at src/gen/CORE.setting:478␤  in sub infix:<+> at /tmp/nMgumPoBbJ:1␤  in block  at /tmp/nMgumPoBbJ:1␤␤»
00:49 * grondilu gives up
00:53 benabik joined #perl6
00:54 armitage81 joined #perl6
00:55 hash_table joined #perl6
01:01 rjbs- joined #perl6
01:01 simcop2387 joined #perl6
01:02 benabik joined #perl6
01:04 att joined #perl6
01:19 MikeFair joined #perl6
01:33 benabik joined #perl6
01:49 benabik joined #perl6
02:20 benabik joined #perl6
02:44 dalek niecza: 664c87c | (Solomon Foster)++ | lib/ (3 files):
02:44 dalek niecza: Import Cook's implementation of LogGamma.
02:44 dalek niecza: review: https://github.com/sorear/niecza/commit/664c87c05c
02:46 colomon joined #perl6
02:53 bro_grammer joined #perl6
02:56 dalek niecza: 15c5b26 | (Solomon Foster)++ | lib/ (2 files):
02:56 dalek niecza: Add log1p.
02:56 dalek niecza: review: https://github.com/sorear/niecza/commit/15c5b26206
03:01 sorear n: say lgamma 129
03:01 p6eval niecza v22-11-g15c5b26: OUTPUT«496.40547848721758␤»
03:01 sorear n: say (lgamma 129 - 2 * lgamma 65) / log 2
03:01 p6eval niecza v22-11-g15c5b26: OUTPUT«Unhandled exception: System.ArgumentException: Error: Expected a non-negative value but received -281.336398965282. ␤  at SpecialMathFunctions.Validate.IsNonNegative (Double x, System.String extra) [0x00000] in <filename unknown>:0 ␤  at SpecialMathFunctio…
03:02 sorear n: say (lgamma(129) - 2 * lgamma 65) / log(2)
03:02 p6eval niecza v22-11-g15c5b26: OUTPUT«124.17143420017372␤»
03:02 sorear n: say (lgamma(1025) - 2 * lgamma 513) / log(2)
03:02 p6eval niecza v22-11-g15c5b26: OUTPUT«1018.6738997148517␤»
03:06 colomon I've been wondering how I should set up tests for these.... file for each function?  One file for all of them (in roast) until they are more official/settled?  Nothing in roast?
03:09 dalek niecza: 960f328 | (Solomon Foster)++ | lib/ (3 files):
03:09 dalek niecza: Add Cook's Erf implementation.
03:09 dalek niecza: review: https://github.com/sorear/niecza/commit/960f328066
03:11 sorear colomon: I've wrestled with the same problem, and I don't really have a good answer
03:12 * sorear is trying to figure out how much COok is involved with p6/niecza
03:12 * sorear found http://www.johndcook.com/blog/2​012/10/09/the-anti-javascript/
03:13 colomon he just saw Damian give a presentation last week, I believe.
03:13 colomon and then I wrote him to ask if we could borrow some of his C# math functions.
03:16 colomon afk # bedtime
03:17 xinming joined #perl6
03:25 simcop2387 joined #perl6
04:15 ruoso joined #perl6
04:28 benabik joined #perl6
04:30 telex joined #perl6
04:39 birdwindupbird joined #perl6
04:43 masak johndcook++
04:47 sorear masak!
05:15 att_ joined #perl6
05:27 am0c joined #perl6
06:36 mucker joined #perl6
06:38 zby_home_ joined #perl6
06:50 am0c joined #perl6
06:53 tokuhiro_ joined #perl6
07:02 tokuhir__ joined #perl6
07:05 tadzik good morning
07:09 Woodi cześć :)
07:10 Woodi maybe you know do we have some ppls from Russia in Perl6 community ?
07:10 Woodi it's big country :)
07:12 tadzik well, the Perl community is big there
07:12 tokuhiro_ joined #perl6
07:20 renormalist joined #perl6
07:33 Chillance joined #perl6
07:42 wamba joined #perl6
07:45 kaare_ joined #perl6
07:50 Ulti my \ℤ = 3; say ℤ;  surely it should be my \ℤ = 0..Inf; say ℤ; :D
07:52 Ulti skids: I had the same problem with POD and precompiled modules, the contents is in the pir file but its not accessible
07:56 GlitchMr joined #perl6
07:59 FROGGS joined #perl6
08:00 flightrecorder joined #perl6
08:01 tgt joined #perl6
08:40 am0c joined #perl6
08:48 thou joined #perl6
08:49 MayDaniel joined #perl6
09:01 Ulti is there a way to get a character from stdin without echoing and without the need to terminate with a newline in Rakudo
09:02 Ulti I've even tried directly doing nqp::p6box_s($!MyIO.read(1)) but it still needs new line termination :/
09:03 Ulti where MyIO is a bound attribute to a PIR stdin handle
09:20 Ulti ;___; even doing something dumb like   run(stty -echo)  *read stuff*  run(stty echo)  doesn't work
09:23 Ulti also this is kind of what I wanted to do but for perl6 http://bpython-interpreter.org/screenshots/
09:26 fhelmberger joined #perl6
09:29 tokuhiro_ joined #perl6
09:37 araujo joined #perl6
09:45 araujo joined #perl6
09:50 Timbus Ulti, i think you need to set the terminal up to provide stdin to the program instantly
09:50 Timbus something about canonical.. er.
09:51 Timbus stty -icanon
09:52 Timbus you could try using nativecall to set the terminal thru termios but i don't like your chances
10:15 wamba joined #perl6
10:19 spider-mario joined #perl6
10:29 tgt joined #perl6
10:31 darko joined #perl6
10:34 mucker joined #perl6
10:54 FROGGS joined #perl6
10:55 flightrecorder joined #perl6
11:05 Su-Shee_ joined #perl6
11:15 snearch joined #perl6
11:20 sivoais joined #perl6
11:32 sivoais joined #perl6
11:42 PacoAir joined #perl6
11:54 jnthn o/ from npw
11:55 moritz \o to npw :-)
11:56 * jnthn surivived a 40 minute talk that lasted 60 minutes and was 90% live demo
11:57 dalek rakudo-debugger: cc1d58c | jonathan++ | bin/perl6-debug.nqp:
11:57 dalek rakudo-debugger: Don't call macro declarator action.
11:57 dalek rakudo-debugger:
11:57 dalek rakudo-debugger: It seems to be missing. Not sure why...may be Rakudo issue.
11:57 dalek rakudo-debugger: review: https://github.com/jnthn/raku​do-debugger/commit/cc1d58c5ac
11:57 dalek rakudo-debugger: 8bb85f6 | jonathan++ | / (2 files):
11:57 dalek rakudo-debugger: Reset debugger state between runs.
11:57 dalek rakudo-debugger:
11:57 dalek rakudo-debugger: This makes things better for multiple debug runs in the REPL.
11:57 dalek rakudo-debugger: review: https://github.com/jnthn/raku​do-debugger/commit/8bb85f6afa
11:57 dalek rakudo-debugger: 68b1b13 | jonathan++ | lib/Debugger/UI/CommandLine.pm:
11:57 dalek rakudo-debugger: Fix step-out bug.
11:57 dalek rakudo-debugger: review: https://github.com/jnthn/raku​do-debugger/commit/68b1b13990
12:10 birdwindupbird joined #perl6
12:13 tokuhiro_ joined #perl6
12:15 hash_table joined #perl6
12:20 mucker joined #perl6
12:23 tgt joined #perl6
13:04 Psyche^ joined #perl6
13:05 wamba joined #perl6
13:23 GlitchMr r: say "i want >>"
13:23 p6eval rakudo 547fcb: OUTPUT«i want >>␤»
13:23 GlitchMr thanks
13:32 jnthn GlitchMr: Huh? :)
13:32 jnthn r: say 128 +> 4
13:32 p6eval rakudo 547fcb: OUTPUT«8␤»
13:32 jnthn That's how you write >>, if that's what you mean :)
13:38 GlitchMr I wanted to get » for copy and paste
13:38 jnthn oh :)
13:39 SamuraiJack joined #perl6
13:40 wamba joined #perl6
13:41 att_ joined #perl6
13:43 aharoni joined #perl6
13:45 Ulti thanks Timbus
13:46 skids joined #perl6
13:46 Ulti I think I will give up for now and work some more sentiment analysis stuff
13:46 jnthn Ulti: Did .getc not work for you?
13:47 Ulti I get a character but you have to press return and it echoes back to the terminal
13:47 jnthn Oh?
13:47 jnthn I know the echo not but the press return
13:47 Ulti yeah
13:48 jnthn hm, you're right :/
13:48 Ulti even if I read(1) I have to press return to get the buffer back its very odd... I can't see from the Rakudo source why it would be true other than parrot doing this
13:48 jnthn Probably that Parrot does it that way
13:48 Ulti c'est la vie
13:49 Ulti on the upside it made me look at the Rakudo source and it wasn't as scary as I was expecting
13:49 skids jnthn: any thoughts on https://gist.github.com/3882578 ?  # Apologies of this is a dup line, IRC flapped.
13:49 jnthn skids: looking
13:50 jnthn skids: urgh, that looks problematic.
13:50 jnthn Please Rakudo-bug it, I'll have a look.
13:52 skids ok, will do.
13:52 skids jnthn++
13:52 jnthn I'm gonna be doing a bunch of work on pre-comp and so on soonish (automatic pre-comp and so on)
13:59 moritz r: constant a = Buf.new(1, 2)
13:59 p6eval rakudo 547fcb:  ( no output )
13:59 moritz r: constant a = Buf.new(1, 2); say a
13:59 p6eval rakudo 547fcb: OUTPUT«Buf:0x<01 02>␤»
14:00 moritz I thought that one failed
14:01 skids sigh. perl.org rejects email from me; it's using one of the overly anal spamhaus lists and my outgoing proxy broke a few days back so I can't rakudobug.
14:02 woosley joined #perl6
14:02 moritz nopaste your rakudobug, and I'll send it
14:06 benabik joined #perl6
14:07 MayDaniel joined #perl6
14:09 skids moritz: I edited the above gist
14:11 kaare_ joined #perl6
14:11 moritz skids: submitted
14:12 skids thanks moritz++
14:14 * skids succumbs to Borderlands2 temptation
14:18 tokuhiro_ joined #perl6
14:18 moritz skids: it's now #115240
14:20 telex joined #perl6
14:22 benabik joined #perl6
14:23 jnthn bere &
14:36 fgomez joined #perl6
14:40 daniel-s_ joined #perl6
15:15 wamba joined #perl6
15:20 birdwind1pbird joined #perl6
15:31 silug joined #perl6
15:58 mucker joined #perl6
16:04 wamba joined #perl6
16:23 tokuhiro_ joined #perl6
16:38 arnsholt joined #perl6
16:38 arnsholt o/
16:43 cthulhu2 joined #perl6
17:02 Circlepuller joined #perl6
17:19 wamba joined #perl6
17:32 mucker joined #perl6
17:35 sorear o/
17:36 moritz \o
17:37 wamba joined #perl6
17:39 sjohnson o/
17:39 daniel-s_ joined #perl6
17:41 Ulti \o (couldn't leave you hanging)
17:45 tgt joined #perl6
17:45 am0c joined #perl6
17:53 daniel-s__ joined #perl6
17:53 armitage81 joined #perl6
18:00 cognominal joined #perl6
18:01 cognominal perl6:  my %a := { from => 0 }; say %a.perl; my @a; @a.push: %a; say @a.perl
18:01 p6eval niecza v22-12-g960f328: OUTPUT«{"from" => 0}.hash␤["from" => 0].list␤»
18:01 p6eval ..rakudo 547fcb: OUTPUT«("from" => 0).hash␤Array.new("from" => 0)␤»
18:03 cognominal I expected the first element of @a to be a hash. What should I have done to get that?
18:03 moritz @a.push: %a.item
18:03 moritz or
18:03 moritz @a.push: $(%a)
18:03 moritz or @a.push: $%a if it's implemented
18:18 moritz r: my @a; @a.push: %%*ENV; say @a.elems
18:18 p6eval rakudo 547fcb: OUTPUT«===SORRY!===␤Non-declarative sigil is missing its name␤at /tmp/m6hRD5Gi55:1␤»
18:18 moritz r: my @a; @a.push: $%*ENV; say @a.elems
18:18 p6eval rakudo 547fcb: OUTPUT«===SORRY!===␤Unsupported use of $% variable;  in Perl 6 please use Form module␤at /tmp/O094TqbODu:1␤»
18:18 moritz r: my @a; @a.push: $(%*ENV); say @a.elems
18:18 p6eval rakudo 547fcb: OUTPUT«1␤»
18:18 moritz r: my @a; @a.push: %*ENV; say @a.elems
18:19 p6eval rakudo 547fcb: OUTPUT«23␤»
18:22 cognominal joined #perl6
18:26 tgt joined #perl6
18:39 simcop2387 joined #perl6
18:40 kst joined #perl6
18:58 kisksk joined #perl6
18:58 dalek rakudo/nom: b2f2f63 | moritz++ | src/Perl6/World.pm:
18:58 dalek rakudo/nom: add some more native types to World.pm
18:58 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/b2f2f639a7
18:58 dalek rakudo/nom: e2eb219 | moritz++ | src/Perl6/Metamodel/RoleToClassApplier.pm:
18:58 dalek rakudo/nom: fix #115212: accessor method does not count as implementation of required method
18:58 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/e2eb219a2d
18:59 dalek roast: ca253f0 | moritz++ | S14-roles/stubs.t:
18:59 dalek roast: unfudge test for RT #115212
18:59 dalek roast: review: https://github.com/perl6/roast/commit/ca253f0fbf
19:18 birdwindupbird joined #perl6
19:28 * moritz has a local monkeypatch for 'handles' on methods
19:29 moritz it's really cool that I can traits outside of rakudo
19:29 revdiablo joined #perl6
19:42 dalek rakudo/nom: bdd23f2 | moritz++ | src/core/traits.pm:
19:42 dalek rakudo/nom: basic implementation of "handles" on methods
19:42 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/bdd23f2b75
19:49 dalek roast: ed2fdad | moritz++ | S12-methods/delegation.t:
19:49 dalek roast: add basic method delegation tests
19:49 dalek roast: review: https://github.com/perl6/roast/commit/ed2fdad490
19:51 dalek rakudo/nom: f6bf915 | (Timothy Totten)++ | src/core/Buf.pm:
19:51 dalek rakudo/nom: Added 'x' to pack.
19:51 dalek rakudo/nom:
19:51 dalek rakudo/nom: Signed-off-by: Moritz Lenz <moritz@faui2k3.org>
19:51 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/f6bf915cb9
19:52 dalek rakudo/nom: 8230aef | moritz++ | t/spectest.data:
19:52 dalek rakudo/nom: run method delegation tests
19:52 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/8230aef6d6
19:54 tgt joined #perl6
19:59 moritz it feels good to have hacked a bit on rakudo again :-)
20:03 moritz and while the wildcard cases aren't implemented, I think it's good enough to flip the bit in the feature matrix
20:03 dalek features: dba2bda | moritz++ | features.json:
20:03 dalek features: Rakudo now does most cases of method delegation
20:03 dalek features: review: https://github.com/perl6/f​eatures/commit/dba2bda769
20:15 tadzik moritz++!
20:15 [particle] joined #perl6
20:16 tadzik ossum
20:25 hash_table joined #perl6
20:39 bruges_ joined #perl6
20:56 sivoais joined #perl6
20:57 raiph joined #perl6
21:11 _edwin joined #perl6
21:18 _edwin http://rosettacode.org/wiki/Paraffins#Perl_6
21:18 _edwin my first RC entry that works with both niecza and rakudo, I think
21:23 sorear yay
21:25 * sorear notes that the task makes no mention of things like tetra-t-butyl-methane
21:25 _edwin quite a lot faster on niecza, however I was not patient enough to reach n=200 :/
21:28 _edwin sorear, interesting. while doing the task, in fact I wondered if all of these theoretical isomers would really fit within 3-dim. space :}
21:28 _edwin didn't know there were even named ones that don't
21:30 _edwin and such small ones, too
21:31 sorear There are rules by which names can be given for any tree structure
21:32 sorear If you were feeling really ambitious you could even code the rules into your solution :)
21:33 sorear although "tetra-t-butyl-methane" is not really a kosher name, it should be "3,3-di-t-butyl 2,2,4,4-tetramethyl pentane"
21:34 _edwin that would be a nice addition to the RC "extra credit"
21:35 sorear finding noncanonical but shorter names is probably P^NP-hard
21:40 Timbus joined #perl6
21:42 skids moritz++ I'm sure I have some commented out code somewhere wanting to use that feature.
21:42 _edwin 30 tasks to got to reach the RC top ten (if other langs would stagnate)
21:44 whiteknight joined #perl6
21:48 _edwin thanks to moritz++'s fix, http://rosettacode.org/wiki​/Formal_power_series#Perl_6 has "role FPS" now
21:53 not_gerd joined #perl6
21:53 not_gerd hello, #perl6
21:53 not_gerd if someone wants to dig into the readline failure on latest Parrot: https://gist.github.com/3886259
21:54 not_gerd Parrot_io_readline_s gets called with some random number instead of something sensible like \n
21:54 not_gerd (as terminator argument, that is)
21:54 jnthn good beer, #perl6
21:54 jnthn er, *evening*. good *evening*...
21:55 tadzik yeah, right
21:55 jnthn The beer was good too :P
21:55 * jnthn has first talk at NPW in the morning. Thankfully it's at 10am :)
21:56 jnthn Dangerous discovery: Stockholm has a place with 600 types of beer available.
21:57 jnthn Oh wow, moritz++ has been patching :)
21:58 jnthn moritz: Since a parent class is good enough to provide a required method, I think the :local(1) in e2eb219a may not be needed.
22:14 dalek roast: e248ff0 | (Edwin Steiner)++ | S14-roles/stubs.t:
22:14 dalek roast: Test that an accessor from a parrot class counts as an implementation of a required method.
22:14 dalek roast: review: https://github.com/perl6/roast/commit/e248ff0cc4
22:14 _edwin argh! *parent* class :(
22:15 _edwin at least I got it right in the code itself
22:19 jnthn :)
22:19 jnthn _edwin++ # writing tests
22:19 jnthn OK, time to sleep :)
22:20 _edwin same here, good night
22:25 not_gerd bye, #perl6
22:54 fgomez joined #perl6
23:04 diakopter rn: say <<<\>'n'>>
23:04 p6eval niecza v22-12-g960f328: OUTPUT«<>'n'␤»
23:04 p6eval ..rakudo 8230ae: OUTPUT«===SORRY!===␤Missing << or >>␤at /tmp/3d7nN0j6TR:1␤»
23:05 diakopter rn: say <<'m'<\>'n'>>
23:05 p6eval rakudo 8230ae: OUTPUT«'m'<\>'n'␤»
23:05 p6eval ..niecza v22-12-g960f328: OUTPUT«'m'<>'n'␤»
23:06 diakopter rn: say <'m'<\>'n'>
23:06 p6eval niecza v22-12-g960f328: OUTPUT«[31m===[0mSORRY![31m===[0m��Preceding context expects a term, but found infix < instead at /tmp/TrYGWuzYpM line 1:�------> [32msay [33m�[31m<'m'<\>'n'>[0m��Parse failed��»
23:06 p6eval ..rakudo 8230ae: OUTPUT«'m'<>'n'␤»
23:06 diakopter well, there's 3 interesting-ish discrepancies
23:14 diakopter r: say my $=_ = 4
23:14 p6eval rakudo 8230ae: OUTPUT«4␤»
23:14 diakopter = is a twigil there?
23:20 sorear r: say my $ =_ = 4
23:20 p6eval rakudo 8230ae: OUTPUT«===SORRY!===␤Preceding context expects a term, but found infix = instead␤at /tmp/9o6pVaCZ3f:1␤»
23:20 sorear yes
23:21 diakopter n: say my$=my$
23:21 p6eval niecza v22-12-g960f328: OUTPUT«[31m===[0mSORRY![31m===[0m��Variables with the = twigil cannot be declared using my; they are created by parsing POD blocks. at /tmp/OzYibzMiix line 1:�------> [32msay my$=my[33m�[31m$[0m��Confused at /tmp/OzYibzMiix line 1:�------> [32msay my$=my…
23:22 diakopter sorear: what do you think of the 3 discrepancies mentioned above
23:23 diakopter (17 min ago)
23:25 sorear diakopter: they all match my mental models, though the 3rd has a LTA error message
23:25 sorear should be "unclosed string" or something
23:26 diakopter niecza' output matches you mean?
23:26 diakopter *'s
23:27 sorear yes
23:28 diakopter phenny: ask masak masakbot see preceding; maybe rakudobug(s)
23:28 phenny diakopter: I'll pass that on when masak is around.
23:28 sorear std: <\>
23:28 p6eval std 77327a4: OUTPUT«[31m===[0mSORRY![31m===[0m�Unable to parse quote words at /tmp/LeugnmNe3W line 1:�------> [32m<BOL>[33m�[31m<\>[0m�Couldn't find final '>'; gave up at /tmp/LeugnmNe3W line 1 (EOF):�------> [32m<\>[33m�[31m<EOL>[0m�Parse failed�FAILED 00:00 41m�»…
23:28 sorear std: <<\>>
23:28 p6eval std 77327a4: OUTPUT«[31m===[0mSORRY![31m===[0m�Unable to parse shell-quote words at /tmp/fa8kZALwzY line 1:�------> [32m<BOL>[33m�[31m<<\>>[0m�Couldn't find final '>>'; gave up at /tmp/fa8kZALwzY line 1 (EOF):�------> [32m<<\>>[33m�[31m<EOL>[0m�Parse failed�FAILED 00:00 41m�…
23:28 sorear std: <'m'<\>'n'>
23:29 p6eval std 77327a4: OUTPUT«[31m===[0mSORRY![31m===[0m�Unable to parse quote words at /tmp/NoV0rsOJWc line 1:�------> [32m<BOL>[33m�[31m<'m'<\>'n'>[0m�Couldn't find final '>'; gave up at /tmp/NoV0rsOJWc line 1 (EOF):�------> [32m<'m'<\>'n'>[33m�[31m<EOL>[0m�Parse failed�FAILED 00:00…
23:29 sorear std: say <'m'<\>'n'>
23:29 p6eval std 77327a4: OUTPUT«[31m===[0mSORRY![31m===[0m�Unable to parse quote words at /tmp/3JAPDRvAzZ line 1:�------> [32msay [33m�[31m<'m'<\>'n'>[0m�Couldn't find final '>'; gave up at /tmp/3JAPDRvAzZ line 1 (EOF):�------> [32msay <'m'<\>'n'>[33m�[31m<EOL>[0m�Parse failed�FAILED 00…
23:29 sorear clearly a nieczabug then
23:30 diakopter oh
23:37 diakopter r: my $a -=[]=5; say $a
23:37 p6eval rakudo 8230ae: OUTPUT«-5␤»
23:37 diakopter sorear: discuss.
23:38 diakopter :P
23:39 sorear r: []=5
23:39 p6eval rakudo 8230ae:  ( no output )
23:39 sorear n: []=5
23:39 p6eval niecza v22-12-g960f328: OUTPUT«Unhandled exception: Writing to readonly scalar␤  at /tmp/ew248Z8fUW line 1 (mainline @ 2) ␤  at /home/p6eval/niecza/lib/CORE.setting line 4211 (ANON @ 3) ␤  at /home/p6eval/niecza/lib/CORE.setting line 4212 (module-CORE @ 579) ␤  at /home/p6eval/niecza/li…
23:39 sorear I call rakudobug
23:39 diakopter phenny: ask masak see preceding; radkuobgu
23:39 phenny diakopter: I'll pass that on when masak is around.
23:44 cognominal joined #perl6
23:50 still joined #perl6
23:51 still rn: my int $i;say $i
23:51 p6eval rakudo 8230ae: OUTPUT«0␤»
23:51 p6eval ..niecza v22-12-g960f328: OUTPUT«[31m===[0mSORRY![31m===[0m��Malformed my at /tmp/TaboUhUggX line 1:�------> [32mmy[33m�[31m int $i;say $i[0m��Parse failed��»
23:51 still r: my int $i = 5;say $i
23:52 p6eval rakudo 8230ae: OUTPUT«5␤»
23:52 still r: my str $i = '5';say $i
23:52 p6eval rakudo 8230ae: OUTPUT«5␤»
23:53 still r: my str $i;say $i
23:53 p6eval rakudo 8230ae: OUTPUT«␤»
23:53 still good!
23:53 diakopter rn: say 5 //$_<>/ 4
23:53 p6eval rakudo 8230ae, niecza v22-12-g960f328: OUTPUT«5␤»
23:53 diakopter sorear: I'm so Confusd
23:53 diakopter ^^
23:53 diakopter oh wait.
23:53 diakopter nm

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

Perl 6 | Reference Documentation | Rakudo