[00:06] *** theorb joined [00:18] *** theorbtwo left [00:19] *** cmarcelo left [00:23] *** zamolxes joined [00:48] *** justatheory left [00:53] <[particle]> pugs: say foo => bar; [00:53] OUTPUT[*** Named argument found where no matched parameter expected: ("foo",Ann (Pos (MkPos "/tmp/IxcZgcMhmq" 1 12 1 15)) (App (Var "&bar") Nothing []))␤ at /tmp/IxcZgcMhmq line 1, column 1-15␤] [00:59] *** rafl joined [01:06] *** ispy_ joined [01:08] *** buubot left [01:08] *** buubot joined [01:10] *** dlocaus left [01:24] *** drupek12 left [01:32] *** devogon left [02:06] *** ispy_ left [02:32] *** jjore-m joined [02:37] *** cognominal_ left [02:38] *** cognominal_ joined [03:12] *** ispy_ joined [03:27] *** Limbic_Region left [03:28] good night [03:33] hey guys, how do I access an anonymous array within a hash in p6? [03:33] sorta like @{ $struct{key} } in p5. [03:34] I'm not convinced that "for %hash -> my $element { }" actually works. [03:36] when I do it, it seems to display all of the elements in scalar context. [03:48] *** justatheory joined [04:00] *** SCalimlim left [04:27] *** stevan_ left [04:27] *** stevan joined [04:31] *** ispy_ left [04:40] *** kanru left [04:52] *** pohyg left [04:56] *** thestarslookdown joined [05:07] *** ahmadz joined [05:07] *** ahmadz left [05:08] *** ether1 joined [05:19] *** hakobe is now known as hkb_aw [05:43] *** kanru joined [05:45] *** sunnavy left [05:45] *** sunnavy joined [05:46] *** stevan left [05:46] *** stevan joined [06:10] *** ether0 left [06:10] *** ether0 joined [06:10] *** ether0 left [06:14] @tell ispy_ you can use "for %hash[] -> $element { }" to get at all the elements; scalar values don't automatically flatten in a list even if they happen to be compositie objects [06:14] Consider it noted. [06:29] *** jisom joined [06:33] *** cognominal_ left [06:46] *** drrho joined [07:07] *** justatheory left [07:07] *** devogon joined [07:53] *** Psyche^ joined [08:02] *** jisom left [08:05] *** Entonian left [08:07] *** Patterner left [08:07] *** Psyche^ is now known as Patterner [08:11] *** Aankhen`` joined [08:30] *** hkb_aw is now known as hkb_coding [08:57] *** amnesiac left [08:59] *** ahmadz_ joined [08:59] *** ahmadz_ left [09:09] *** iblechbot joined [09:14] *** thestarslookdown left [09:15] *** BinGOs joined [09:40] *** mjk joined [09:48] *** pbuetow left [09:49] *** devogon left [09:52] *** pbuetow joined [09:54] *** devogon joined [10:05] *** blindfish joined [10:09] *** iblechbot left [10:13] *** devogon left [10:36] *** drrho left [10:42] *** Notrix joined [10:43] *** andara joined [10:45] r19002 | andara++ | [pugs] async {} returns thread id [11:08] *** Notrix left [11:21] *** masak joined [11:33] *** Aankhen`` left [11:52] *** pmurias joined [11:53] andara: hi [11:53] hi pmurias [12:01] *** pdcawley joined [12:01] *** polettix joined [12:03] *** pdcawley left [12:04] *** pdcawley joined [12:05] *** mj41_ joined [12:17] *** `nipra joined [12:19] *** Aankhen`` joined [12:21] *** Aankh|Clone joined [12:26] *** andara left [12:40] *** Aankhen`` left [12:51] *** chris2 joined [13:01] *** `nipra left [13:11] *** `nipra joined [13:14] *** Jedai joined [13:15] *** drrho joined [13:18] *** `nipra left [13:20] *** blindfish left [13:20] *** blindfish joined [13:23] *** Aankh|Clone is now known as Aankhen`` [13:31] *** hanekomu_ joined [13:32] *** hanekomu_ is now known as hanekomu [13:32] *** hanekomu left [13:32] *** hanekomu joined [13:39] *** ludan joined [13:39] ela [13:41] *** andara joined [13:41] *** kanru left [13:46] r19003 | pmurias++ | [kp6] completed the p6 version of 02-grammar.t [13:53] *** penk joined [13:54] ludan: hi [13:55] *** drrho left [13:55] *** mjk left [14:07] *** pdcawley left [14:20] *** hanekomu left [14:31] *** smtms left [14:31] *** smtms joined [14:36] *** smtms left [14:37] *** smtms joined [14:45] *** smtms_ joined [14:50] *** smtms_ left [14:55] *** ludanolo joined [14:55] *** smtms_ joined [14:58] *** rindolf joined [15:08] *** smtms left [15:09] *** ludan left [15:09] *** andara left [15:15] *** Psyche^ joined [15:15] *** ludanolo left [15:17] *** ludan joined [15:23] *** smtms_ left [15:25] *** turrepurre joined [15:32] *** Patterner left [15:32] *** Psyche^ is now known as Patterner [15:37] *** cognominal_ joined [15:49] *** kanru joined [15:53] *** blindfish left [16:02] *** penk left [16:22] *** hkb_coding is now known as hakobe [16:24] r19004 | pmurias++ | [kp6] removed uneeded setters from Match [16:35] *** Notrix joined [16:36] *** Notrix left [16:39] *** Psyche^ joined [16:40] *** QtPlatypus left [16:56] *** Patterner left [16:56] *** Psyche^ is now known as Patterner [17:00] *** drrho joined [17:06] *** iblechbot joined [17:22] *** pina joined [17:23] So I've begun using perl [17:23] For automating unit testing and collecting logs.. [17:23] How good is that for a start [17:23] I like it because of CPAN ;) [17:25] it is said that anything you might want to write can be done with CPAN and 40 lines of Perl code and that Perl is about a million times more concise than Java. [17:27] Regular expressions are cool. But you need libraries also [17:27] Don't you guys think we need that? [17:31] pina: what do think we need? [17:32] I would like to complete reading SICP one day [17:32] Its a bit more easier to read than Knuth [17:32] pmurias: I rthink perl is great, LISP is a lil low on libraries though [17:37] pina: indeed, CPAN is an asset [17:41] i would risk saying that SICP is a lot easier than the Art of Computer Programming [17:47] yes, but that's because they're about different things [17:48] both are great books, mind you [17:49] but the greater complexity of TAoCP is due to its wider scope and ambitions [17:49] the use of the MIX dosn't help [17:51] :) [17:52] From the Wikipedia article: "Some readers are put off by the use of assembly language, but Knuth considers this necessary because algorithms need a context to judge speed and memory usage." [17:55] not being able to read code examples (withought looking up instructions constantly) is annoying [17:56] so learn MIX [17:56] it's not much more effort than to learn some other language [17:56] *** amnesiac joined [17:58] masak: do you have a working mix knowlege? [17:59] pmurias: somewhere between being able to read it directly and being able to write it directly, yes [18:00] then again, I keep coming back to TAoCP1 for more, and each time a learn a little more MIX [18:03] MIX is obsolete. Use MMIX :) [18:04] Patterner: good point, but it doesn't work if you're reading the book [18:05] although these guys have been doing an admirable job so far: http://mmixmasters.wiki.sourceforge.net/ [18:11] *** ahmadz joined [18:11] *** ahmadz left [18:26] *** Entonian joined [18:46] *** DarkWolf84 joined [18:49] *** pbuetow left [18:51] *** pbuetow joined [18:55] *** masak left [19:02] *** rindolf left [19:05] *** Notrix joined [19:05] *** jjore-m left [19:15] *** rindolf joined [19:17] *** ludan left [19:20] *** Notrix left [19:33] *** chris2 left [19:35] *** pdcawley joined [19:35] *** pdcawley left [19:52] *** jjore-m joined [19:55] *** drrho left [20:00] *** ether1 left [20:10] *** Psyche^ joined [20:14] *** amnesiac left [20:16] *** Psyche^_ joined [20:21] *** pina left [20:26] *** Patterner left [20:26] *** Psyche^_ is now known as Patterner [20:28] *** Psyche^ left [20:30] *** fglock joined [20:39] *** iblechbot left [20:39] *** jjore-m left [20:42] *** fglock left [20:43] *** rindolf left [20:46] *** Limbic_Region joined [20:50] *** Aankhen`` left [20:52] *** syle2 joined [21:13] *** jjore-m joined [21:23] *** luqui joined [21:24] *** jisom joined [21:32] whats status on perl6? does it compile and does it support all the cpan modules? [21:36] syle2: there are a few implementations of varying completeness. [21:36] If you want to use Perl 6 right now, the most feature-complete implementation is Pugs. [21:36] Pugs can use many of the modules in cpan without problem. [21:39] Pugs development has mostly stopped for a while. Parrot development has been very rapid lately, and they have a great infrastructure, but their Perl 6 implementation isn't very complete ATM. [21:39] *** hanekomu joined [21:41] can i add a request? [21:44] currently function does: return($a,\@b,$c);You call it with: my($a,$b,$c)=test(); and have to use my @b = @$b; to get a copy of the array [21:44] be nice if we could do return($a,@b,$c); my($a,@b,$c)=test(); [21:44] same with shift and @_ [21:46] i think when a function exits all local variables, arrays, hashes, references should be destroyed, return on what you want out of it [21:47] *** woremacx joined [21:49] I think of a function as you pass in something and should return something, end of story, I guess that would screw up reference passing but honestly if you can pass back out what you want there is no need for it, probably consume less memory cleaning up after every function execute as well without references and globals lying around everywhere [22:05] *** woremacx left [22:10] *** jisom left [22:26] Will perl 6 have any generic programming facilities? [22:30] What is "generic" in this case? [22:33] *** penk joined [22:35] as in Design Patterns, generics == parametric types [22:35] neuromu: perl5 already has generic programming facilities. [22:39] PerlJam: howso? [22:39] <--- ignorant [22:43] nevermind, will read dc's oo perl book [22:44] *** luqui left [22:58] *** akreal joined [23:10] *** pmurias left [23:24] *** jjore-m left [23:26] *** [particle] left