00:06 theorb joined 00:18 theorbtwo left 00:19 cmarcelo left 00:23 zamolxes joined 00:48 justatheory left
[particle] pugs: say foo => bar; 00:53
exp_evalbot 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, 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
meppl good night 03:28
ispy_ hey guys, how do I access an anonymous array within a hash in p6? 03:33
sorta like @{ $struct{key} } in p5.
I'm not convinced that "for %hash<something> -> my $element { }" actually works. 03:34
when I do it, it seems to display all of the elements in scalar context. 03:36
03:48 justatheory joined 04:00 SCalimlim left 04:27 stevan_ left, stevan joined 04:31 ispy_ left 04:40 kanru left 04:52 pohyg left 04:56 thestarslookdown joined 05:07 ahmadz joined, ahmadz left 05:08 ether1 joined 05:19 hakobe is now known as hkb_aw 05:43 kanru joined 05:45 sunnavy left, sunnavy joined 05:46 stevan left, stevan joined 06:10 ether0 left, ether0 joined, ether0 left
TimToady @tell ispy_ you can use "for %hash<something>[] -> $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
lambdabot Consider it noted.
06:29 jisom joined 06:33 cognominal_ left 06:46 drrho joined 07:07 justatheory left, devogon joined 07:53 Psyche^ joined 08:02 jisom left 08:05 Entonian left 08:07 Patterner left, 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, 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
pugs_svn r19002 | andara++ | [pugs] async {} returns thread id 10:45
11:08 Notrix left 11:21 masak joined 11:33 Aankhen`` left 11:52 pmurias joined
pmurias andara: hi 11:53
andara hi pmurias
12:01 pdcawley joined, 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, blindfish joined 13:23 Aankh|Clone is now known as Aankhen`` 13:31 hanekomu_ joined 13:32 hanekomu_ is now known as hanekomu, hanekomu left, hanekomu joined 13:39 ludan joined
ludan ela 13:39
13:41 andara joined, kanru left
pugs_svn r19003 | pmurias++ | [kp6] completed the p6 version of 02-grammar.t 13:46
13:53 penk joined
pmurias ludan: hi 13:54
13:55 drrho left, mjk left 14:07 pdcawley left 14:20 hanekomu left 14:31 smtms left, smtms joined 14:36 smtms left 14:37 smtms joined 14:45 smtms_ joined 14:50 smtms_ left 14:55 ludanolo joined, smtms_ joined 14:58 rindolf joined 15:08 smtms left 15:09 ludan left, andara left 15:15 Psyche^ joined, ludanolo left 15:17 ludan joined 15:23 smtms_ left 15:25 turrepurre joined 15:32 Patterner left, 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
pugs_svn r19004 | pmurias++ | [kp6] removed uneeded setters from Match 16:24
16:35 Notrix joined 16:36 Notrix left 16:39 Psyche^ joined 16:40 QtPlatypus left 16:56 Patterner left, Psyche^ is now known as Patterner 17:00 drrho joined 17:06 iblechbot joined 17:22 pina joined
pina So I've begun using perl 17:23
For automating unit testing and collecting logs..
How good is that for a start
I like it because of CPAN ;)
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:25
Regular expressions are cool. But you need libraries also 17:27
Don't you guys think we need that?
pmurias pina: what do think we need? 17:31
pina I would like to complete reading SICP one day 17:32
Its a bit more easier to read than Knuth
pmurias: I rthink perl is great, LISP is a lil low on libraries though
masak pina: indeed, CPAN is an asset 17:37
pmurias i would risk saying that SICP is a lot easier than the Art of Computer Programming 17:41
masak yes, but that's because they're about different things 17:47
both are great books, mind you 17:48
but the greater complexity of TAoCP is due to its wider scope and ambitions 17:49
pmurias the use of the MIX dosn't help
masak :) 17:51
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:52
pmurias not being able to read code examples (withought looking up instructions constantly) is annoying 17:55
masak so learn MIX 17:56
it's not much more effort than to learn some other language
17:56 amnesiac joined
pmurias masak: do you have a working mix knowlege? 17:58
masak pmurias: somewhere between being able to read it directly and being able to write it directly, yes 17:59
then again, I keep coming back to TAoCP1 for more, and each time a learn a little more MIX 18:00
Patterner MIX is obsolete. Use MMIX :) 18:03
masak Patterner: good point, but it doesn't work if you're reading the book 18:04
although these guys have been doing an admirable job so far: mmixmasters.wiki.sourceforge.net/ 18:05
18:11 ahmadz joined, 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, jjore-m left 19:15 rindolf joined 19:17 ludan left 19:20 Notrix left 19:33 chris2 left 19:35 pdcawley joined, 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, Psyche^_ is now known as Patterner 20:28 Psyche^ left 20:30 fglock joined 20:39 iblechbot left, 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
syle2 whats status on perl6? does it compile and does it support all the cpan modules? 21:32
Tene 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.
Pugs can use many of the modules in cpan without problem.
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
21:39 hanekomu joined
syle2 can i add a request? 21:41
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();
same with shift and @_
i think when a function exits all local variables, arrays, hashes, references should be destroyed, return on what you want out of it 21:46
21:47 woremacx joined
syle2 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 21:49
22:05 woremacx left 22:10 jisom left
neuromu Will perl 6 have any generic programming facilities? 22:26
Juerd What is "generic" in this case? 22:30
22:33 penk joined
neuromu as in Design Patterns, generics == parametric types 22:35
PerlJam neuromu: perl5 already has generic programming facilities.
neuromu PerlJam: howso? 22:39
<--- ignorant
nevermind, will read dc's oo perl book 22:43
22:44 luqui left 22:58 akreal joined 23:10 pmurias left 23:24 jjore-m left 23:26 [particle] left