Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2007-12-01

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

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

Perl 6 | Reference Documentation | Rakudo