Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2008-10-18

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:18 Jedai joined #perl6
00:28 meppl joined #perl6
00:48 eternaleye joined #perl6
00:56 ab5tract joined #perl6
01:14 Bzek joined #perl6
01:24 alanhaggai joined #Perl6
01:43 meppl good night
01:52 alester joined #perl6
02:06 wknight8111 joined #perl6
02:22 kanru joined #perl6
02:23 Jedai joined #perl6
02:42 REPLeffect joined #perl6
02:45 hercynium joined #perl6
03:02 elmex_ joined #perl6
03:52 Bzek joined #perl6
03:55 wayland76 joined #perl6
04:06 alanhaggai_ joined #Perl6
05:08 alanhaggai__ joined #Perl6
05:10 wayland_ joined #perl6
05:45 iblechbot joined #perl6
05:56 Psyche^ joined #perl6
06:28 Jedai joined #perl6
06:46 wayland_ Question; is there anything like Data::Dumper for Rakudo?
06:46 wayland_ Or rather, is there any way I can get documentation on the tree that is built after running a grammar?
07:04 wayland_ Ok, I've discovered that a Regex is a Sub object; anyone know how to get a list of attributes for a Sub object?
07:07 wayland_ Although if anyone knows how to do it for a whole grammar, that would be even better
07:08 Jedai joined #perl6
07:10 azawawi joined #perl6
07:10 azawawi hi *
07:11 wayland_ azawawi: hi
07:31 azawawi @tell moritz_ im interested in http://www.nntp.perl.org/group/perl.perl6.users/2008/07/msg788.html.
07:31 lambdabot Consider it noted.
07:52 adc_Penner2 joined #perl6
07:57 dominiko joined #perl6
07:59 iblechbot joined #perl6
08:26 pmurias joined #perl6
08:52 dac524 joined #perl6
09:08 Jedai joined #perl6
09:11 yahooooo joined #perl6
09:27 pbuetow joined #perl6
09:44 alanhaggai joined #Perl6
09:44 ihrd joined #perl6
09:53 meppl joined #perl6
10:23 smg joined #perl6
10:25 pugs_svn r22645 | pmurias++ | [mildew] t/hacks/out.t runs
10:28 alanhaggai joined #Perl6
10:36 masak joined #perl6
10:48 Jedai joined #perl6
11:13 Jedai joined #perl6
11:22 alanhaggai joined #Perl6
11:28 masak if "file" ~~ :e returns whether a file exists, what should "file" ~~ :foo return?
11:28 masak (for values of foo which don't have established meaning as filetest pairs in Perl 6)
11:39 masak what's the easiest way to ask "is this range a part of that range" in Perl 6?
11:42 pmurias joined #perl6
11:43 pmurias masak: re first question see S03:2999
11:44 pmurias re second $elem ~~ $range
11:44 masak pmurias: I see the line, but I'm not sure how that answers the question
11:44 masak pmurias: I'm talking about two ranges, not an elem and a range
11:45 masak does S03:2999 mean that it tries to call a method, regardless?
11:45 pmurias i think so
11:45 masak I can do that :)
11:46 pmurias $a.min >= $b.min && $a.max <= $b.max
11:46 masak so, in effect "file" ~~ :e translates to "file".:e(1), right?
11:47 masak pmurias: ok, that's reasonable
11:47 masak you could even do that with just <= comparisons
11:48 masak $b.min <= $a.min <= $a.max <= $b.max
11:49 pmurias nicer, i'm not used to <= doing chaining yet
11:49 masak I'm still trying to decide if it's nicer or not :)
11:51 masak rakudo: "file".:e(1)
11:51 p6eval rakudo 31963: OUTPUT[Multiple Dispatch: No suitable candidate found for 'concatenate_str', with signature 'PSP->P'␤current instr.: 'parrot;Perl6;Grammar;Actions;_block2075' pc 116247 (src/gen_actions.pir:5679)␤]
11:51 masak oy
11:51 pmurias it's closer to the way ranges would be represented on a line
11:51 masak that's true
11:51 masak in "file".:e(1), is the method name ':e' ?
11:52 masak rakudo: "file".':e'(1)
11:52 p6eval rakudo 31963: OUTPUT[Method ':e' not found for invocant of class 'Perl6Str'␤current instr.: '_block11' pc 37 (EVAL_13:18)␤]
11:52 masak ah, that's better :)
11:59 netlogdata joined #perl6
11:59 netlogdata left #perl6
12:00 masak I expect there to be a subset operator ⊂ available as a fairly well-respected Perl 6 language extension, for checking subsethood of arrays, hashes and ranges
12:20 ihrd left #perl6
12:25 masak the filetest methods, :e et al, are not in S29.
12:28 Jedai joined #perl6
12:38 xinming joined #perl6
12:49 Jedai joined #perl6
13:05 araujo joined #perl6
13:06 sri_work joined #perl6
13:23 icwiener joined #perl6
13:32 alanhaggai joined #Perl6
13:39 Jedai joined #perl6
13:44 ihrd joined #perl6
14:03 Jedai joined #perl6
14:04 ihrd left #perl6
14:20 wknight8111 joined #perl6
14:27 lambdabot joined #perl6
14:28 kanru joined #perl6
14:41 kanru joined #perl6
14:49 pmurias moritz_: it would be nice to have mildew in the evalbot ;)
15:21 azawawi joined #perl6
15:22 azawawi hi
15:23 masak azawawi: hello
15:29 jan_ joined #perl6
15:36 iblechbot joined #perl6
16:09 pugs_svn r22646 | pmurias++ | [smop] Scalar.STORE returns the stored value
16:23 salv02 joined #perl6
16:25 |Jedai| joined #perl6
16:27 Torment joined #perl6
16:31 tewk joined #perl6
16:41 pmurias joined #perl6
16:42 wknight8111_ joined #perl6
16:42 pmurias @tell ruoso why is SMOP_INTERNAL_*_SEQUENCE seperated with SMOP_BOOTSTRAP_*_SEQUENCE?
16:42 lambdabot Consider it noted.
16:47 salv02 left #perl6
16:49 justatheory joined #perl6
17:22 xuser joined #perl6
17:23 mberends joined #perl6
17:30 ^aristotle joined #perl6
17:32 ^aristotle rakudo: 0.37
17:32 p6eval rakudo 31963: RESULT[0.37]
17:32 ^aristotle rakudo: 0.37<<**<<0..8
17:32 p6eval rakudo 31963: OUTPUT[Statement not terminated properly at line 1, near "<<**<<0..8"␤␤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:83)␤]
17:32 ^aristotle rakudo: 0.37 <<**<< 0..8
17:32 p6eval rakudo 31963: OUTPUT[Statement not terminated properly at line 1, near "<<**<< 0.."␤␤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:83)␤]
17:33 ^aristotle rakudo: 0..8
17:33 p6eval rakudo 31963: RESULT[0..8]
17:33 ^aristotle rakudo: 0.37 >>**<< 0..8
17:33 p6eval rakudo 31963: OUTPUT[Statement not terminated properly at line 1, near ">>**<< 0.."␤␤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:83)␤]
17:33 ^aristotle rakudo: 0.37 <<*<< 0..8
17:33 p6eval rakudo 31963: OUTPUT[Statement not terminated properly at line 1, near "<<*<< 0..8"␤␤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:83)␤]
17:34 ^aristotle rakudo: 0..8 >>+>> 1
17:34 p6eval rakudo 31963: OUTPUT[Statement not terminated properly at line 1, near ">>+>> 1"␤␤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:83)␤]
17:34 * ^aristotle scratches head
17:34 ^aristotle pugs: 0..8 >>+>> 1
17:34 p6eval pugs: OUTPUT[*** ␤    Unexpected ">>+>>"␤    expecting operator␤    at /tmp/Gp1YeNU0Zv line 1, column 6␤]
17:35 ^aristotle pugs: 0..8 <<*>> 1
17:35 p6eval pugs: OUTPUT[*** ␤    Unexpected "<<*>>"␤    expecting operator␤    at /tmp/mMGTXNXsan line 1, column 6␤]
17:36 ^aristotle aha, *that* bot responds to queries. sorry for the noise
18:23 alanhaggai joined #Perl6
18:42 mj41_ joined #perl6
19:06 smg joined #perl6
19:34 meppl good night
20:01 eternaleye joined #perl6
20:15 ^aristotle left #perl6
20:27 eternaleye joined #perl6
20:29 eternaleye joined #perl6
20:30 pugs_svn r22647 | pmurias++ | [smop] support for binding to hash elements
20:33 pmurias what does ($foo := $bar) := $baz do?
20:34 pmurias in other words what does infix:<:=> return?
20:40 pugs_svn r22648 | pmurias++ | [smop] added missing file
20:40 pugs_svn r22648 | pmurias++ | [mildew] my $foo;
21:26 alester joined #perl6
21:32 explorer joined #perl6
21:45 pasteling "mj41" at 147.229.5.124 pasted "subversion problem inside pugs/v6/smop/m0ld directory" (28 lines, 1K) at http://sial.org/pbot/32705
21:45 mj41_ Hi. Any ideas?
22:01 fridim_ joined #perl6
22:12 FireMinion joined #perl6
23:21 pcbuetow joined #perl6
23:43 jamtech joined #perl6
23:50 alester joined #perl6

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

Perl 6 | Reference Documentation | Rakudo