Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2006-12-23

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:12 Juerd joined perl6
00:12 jnthn joined perl6
00:13 wolverian joined perl6
00:13 nipra joined perl6
00:14 buetow joined perl6
00:17 pmichaud joined perl6
00:17 PerlJam joined perl6
00:17 webmind joined perl6
00:49 mako132 joined perl6
00:49 ofer0 joined perl6
00:59 weinig|food is now known as weinig
01:04 b00t joined perl6
01:21 justatheory joined perl6
02:07 ruscoekm joined perl6
02:31 bonesss joined perl6
02:34 ozo joined perl6
02:40 dmq joined perl6
03:08 justatheory joined perl6
03:10 bonesss joined perl6
03:33 Aankhen`` joined perl6
03:44 Juerd_ joined perl6
03:44 wolv joined perl6
03:44 webmind_ joined perl6
03:44 jnthn_ joined perl6
03:44 PerlPilot joined perl6
03:44 pmichaud_ joined perl6
03:45 dduncan seen TimToady
03:45 luqui joined perl6
03:45 dduncan so, are we adding a Char type, or is your latest p6l post have a mistake in it?
03:46 dduncan and if we do add it, does that correspond to a single character or to a string of characters?
03:46 dduncan I don't see a mention in synopsis 6
03:47 wolv is now known as wolverian
03:47 TimToady all I'm saying is that if there is a Char type, it gets treated as Str.
03:48 dduncan so it is hypothetical then
03:49 TimToady yes, it's the abstract container of the largest possible character in the current Unicode level.
03:49 dduncan also ...
03:50 TimToady If you say .chars, it's the count of those abstractions.
03:50 dduncan I suggest that adding such a type, though it could be named Text instead, could be useful for parity ...
03:50 dduncan that is, it may be useful to both have distinct types for character strings vs bit strings, plus an additional type which can represent both
03:50 TimToady Text implies bigger than Char to me
03:51 dduncan the third type would then be the immutable version of what Buf is, which represents both, afaik
03:51 dduncan eg, Str could cover both
03:51 TimToady bit strings are Buf variants, and Bufs are abstractly composed of integers
03:51 dduncan okay
03:52 dduncan so maybe we already went over this and there is nothing to change?
03:52 TimToady don't really think so.
03:53 dduncan fyi, while I can live with Str meaning characters, I prefer something like Text or Char for that, with Str being more generic, as that is how I think
03:53 TimToady subset Char of Str where { .chars == 1 };
03:53 dduncan I see, it is a single character ...
03:54 dduncan makes sense, so we have parity with the bit vs blob distinction
03:54 dduncan we have char vs str
03:54 dduncan capitalize the above
04:00 dduncan TimToady, what time is it where you are?  By my reading, your email was sent a half-hour in the future.
04:00 dduncan 2:29pm -08:00
04:00 dduncan er, 8:29
04:01 allbery_b @time TimToady
04:01 lambdabot Local time for TimToady is Fri Dec 22 20:01:17 2006
04:01 dduncan I see, so the email got its stamp elsewhere, which was wrong
04:01 TimToady strange.  svnbot I guess, but then it shouldn't be marked PST
04:02 TimToady bbl &
04:04 svnbot6 joined perl6
04:08 evalbot_r14933 joined perl6
04:13 polettix is now known as poletti
04:59 evalbot_r14933 joined perl6
04:59 Patterner joined perl6
04:59 Gothmog_ joined perl6
04:59 knewt joined perl6
04:59 BooK joined perl6
04:59 theorbtwo joined perl6
04:59 Grrrr joined perl6
04:59 broquaint joined perl6
04:59 cj joined perl6
04:59 silug joined perl6
04:59 Kattana joined perl6
04:59 nnunley joined perl6
04:59 Lorn joined perl6
04:59 jamessan joined perl6
04:59 takesako__ joined perl6
04:59 pasteling joined perl6
04:59 Southen joined perl6
04:59 xinming_ joined perl6
04:59 kane_ joined perl6
04:59 lisppaste3 joined perl6
04:59 Eidolos joined perl6
04:59 lambdabot joined perl6
04:59 audreyt joined perl6
04:59 integral joined perl6
04:59 nekokak_ joined perl6
04:59 baest_ joined perl6
04:59 wilx` joined perl6
04:59 svnbot6 joined perl6
04:59 pmichaud_ joined perl6
04:59 PerlPilot joined perl6
04:59 jnthn_ joined perl6
04:59 webmind_ joined perl6
04:59 wolverian joined perl6
04:59 Juerd_ joined perl6
04:59 justatheory joined perl6
04:59 dmq joined perl6
04:59 b00t joined perl6
04:59 ofer0 joined perl6
04:59 avar joined perl6
04:59 gnuvince joined perl6
04:59 prism joined perl6
04:59 Odin-LAP joined perl6
04:59 kanru joined perl6
04:59 kisu joined perl6
04:59 frankg joined perl6
04:59 meppl joined perl6
04:59 ayrnieu joined perl6
04:59 sonorous joined perl6
04:59 Coleoid joined perl6
04:59 cmeyer joined perl6
04:59 buu joined perl6
04:59 cookys joined perl6
04:59 Khisanth joined perl6
04:59 miyagawa joined perl6
04:59 cognominal joined perl6
04:59 weinig joined perl6
04:59 nelhage joined perl6
04:59 statico joined perl6
04:59 lumi joined perl6
04:59 mr_ank joined perl6
04:59 bennymack joined perl6
04:59 amv joined perl6
04:59 spinclad joined perl6
04:59 clkao joined perl6
04:59 obra joined perl6
04:59 jiing joined perl6
04:59 scw joined perl6
04:59 gugod joined perl6
04:59 hcchien joined perl6
04:59 autark joined perl6
04:59 orafu joined perl6
04:59 Maddingue joined perl6
04:59 Azure-BOT joined perl6
04:59 felipe joined perl6
04:59 Yappo joined perl6
04:59 perlbot joined perl6
04:59 DebolazX joined perl6
04:59 mugwump joined perl6
04:59 tewk joined perl6
04:59 ingy joined perl6
04:59 gaal joined perl6
04:59 pnu joined perl6
04:59 f0rth joined perl6
04:59 dvorak joined perl6
04:59 buubot joined perl6
04:59 TimToady joined perl6
04:59 drbean joined perl6
04:59 GeJ joined perl6
04:59 qmole joined perl6
04:59 shachaf joined perl6
04:59 Debolaz joined perl6
04:59 kcwu joined perl6
04:59 beppu joined perl6
04:59 py1hon joined perl6
04:59 norageek joined perl6
04:59 rafl joined perl6
04:59 kolibrie joined perl6
04:59 idiotmax joined perl6
04:59 LCamel joined perl6
04:59 TzuChiang joined perl6
04:59 araujo joined perl6
04:59 revdiablo joined perl6
04:59 greenail_ joined perl6
04:59 nipotaway joined perl6
04:59 spoop joined perl6
04:59 takanori_ joined perl6
04:59 ruz joined perl6
04:59 spo0nman joined perl6
04:59 glasser joined perl6
04:59 rafl_ joined perl6
05:00 nothingmuch_ joined perl6
05:26 dduncan joined perl6
05:30 jrockway @users
05:30 lambdabot Maximum users seen in #perl6: 167, currently: 126 (75.4%), active: 4 (3.2%)
05:36 nipra joined perl6
06:14 BooK_ joined perl6
06:25 nicodaemos joined perl6
06:25 nicodaemos joined perl6
06:27 luqui joined perl6
06:30 Aankhen`` joined perl6
06:30 jrockway ?eval Class A { method a { 1 }; method b { 2 }; method c { 3 } }; say A.new.a; say A>>.<<<a b c>
06:30 evalbot_r14933 Error: ␤Unexpected "A"␤expecting "(", ":" or operator
06:31 jrockway ?eval Class A { method a { 1 }; method b { 2 }; method c { 3 } }; say A.new.a; say A.new>>.<<<a b c>
06:31 evalbot_r14933 Error: ␤Unexpected "A"␤expecting "(", ":" or operator
06:32 jrockway should that work (return a list of A.a, A.b, A.c) ?
06:39 luqui jrockway, no
06:39 luqui because it is not that easy to call methods symbolically
06:39 jrockway ok
06:39 luqui (I don't remember how; something to do with ::())
06:40 luqui ?eval class A { method a { 1 } };   (A.new, A.new, A.new)>>.a
06:40 evalbot_r14933 Error: No compatible subroutine found: "&>>a"
06:40 luqui hmm
06:40 luqui I was sure pugs had that implemented
06:40 luqui ?eval <f oo bar>>>.length
06:40 evalbot_r14933 Error: No compatible subroutine found: "&>>length"
06:40 luqui ?eval <f oo bar>.<<length
06:41 evalbot_r14933 Error: ␤Unexpected "<<length"␤expecting ".", "\187", ">>", "=", operator name, qualified identifier, variable name, "...", "--", "++", array subscript, hash subscript or code subscript
06:41 jrockway ?eval <f oo bar>>>.chars
06:41 evalbot_r14933 (1, 2, 3)
06:41 luqui oh yeah, right
06:42 luqui ?eval "foo"."chars"
06:42 evalbot_r14933 Error: ␤Unexpected "\""␤expecting ".", "\187", ">>", "=", operator name, qualified identifier, variable name, "...", "--", "++", array subscript, hash subscript or code subscript
06:42 luqui ?eval "foo".::("chars")
06:42 evalbot_r14933 Error: ␤Unexpected "::(\""␤expecting ".", "\187", ">>", "=", operator name, qualified identifier, variable name, "...", "--", "++", array subscript, hash subscript or code subscript
06:44 jrockway "foo"::"chars"
06:44 jrockway ?eval "foo"::"chars"
06:44 evalbot_r14933 Error: ␤Unexpected "::\""␤expecting term postfix or operator
06:46 TimToady "foo"."chars" is specced but not implemented.
06:46 TimToady ?eval "foo".$('chars')
06:46 evalbot_r14933 Error: ␤Unexpected "$('"␤expecting ".", "\187", ">>", "=", operator name, qualified identifier, variable name, "...", "--", "++", array subscript, hash subscript or code subscript
06:46 luqui TimToady, so you made that easy again?
06:47 TimToady ?eval my $bar = 'chars'; "foo".$bar
06:47 evalbot_r14933 3
06:47 luqui didn't you have a good argument for unifying all of it/
06:47 TimToady .$() should work too, but doesn't
06:47 jrockway so is the hyper case specced?
06:47 TimToady again?
06:47 jrockway that could be fun when a method call modifies the object
06:48 luqui i mean under ::()
06:49 TimToady hyper is specced for methods, but only considering .foo as a postfix
06:49 TimToady by itself . is not an operator
06:49 TimToady there is no >>.<<
06:49 jrockway too bad :) don't know when I would use that, though
06:50 luqui my ($a, $b, $c) = ($A, $B, $C)>>.<<<a b c>
06:50 TimToady part of why we allowed ."foo" is that it prefers prefix:, so ."+" means apply prefix + as postfix.
06:50 luqui i.e. shorthand for doing several things that have nothing in common but the dot ;-)
06:51 jrockway luqui: that returns a list of lists
06:51 jrockway (($A.a, $A.b, ..),($B.a,...),...
06:51 luqui are you sure?
06:51 jrockway well, it doesn't exist
06:51 luqui ($A, $B, $C)X.X<a b c> would...
06:51 jrockway hmmm
06:51 * luqui needs to look over the new hyper spec
06:52 jrockway you're right
06:52 jrockway well, actually
06:52 jrockway <a b c> X_X <a b c> == <aa bb cc>, right
06:52 jrockway btw, i love the X_X operator
06:53 jrockway i hope we can have the ^_^ and T_T operators too :)
06:53 TimToady there is no _ operator either
06:53 jrockway isn't that the example in the synopsis?
06:54 TimToady what do you think _ is?
06:54 jrockway concatenate strings?
06:54 TimToady not for about 3 years now...
06:54 TimToady it is ~ for that
06:55 jrockway ahh
06:55 TimToady and <a b c> X~X <a b c> would not be <aa bb cc>
06:55 jrockway aa ab ac ba bb bc ...
06:55 jrockway got it...
06:55 TimToady <a b c> >>~<< <a b c> would be that
06:56 TimToady and X is short for X~X
06:57 jrockway i need a new "periodic table of the operators" :)
06:58 TimToady we need a new table of the operators periodically.  :)
07:25 kanru joined perl6
07:50 ashleyb joined perl6
08:02 Odin-LAP joined perl6
08:04 iblechbot joined perl6
08:07 evalbot_r14933 joined perl6
08:42 nipra joined perl6
08:49 Odin-LAP joined perl6
08:58 larsen_ joined perl6
09:22 thestarslookdown joined perl6
09:32 larsen__ joined perl6
09:54 devogon joined perl6
10:09 BooK joined perl6
10:11 chris2 joined perl6
10:18 Odin-LAP joined perl6
10:56 araujo joined perl6
11:00 masak joined perl6
11:11 turrepurre joined perl6
11:23 larsen_ joined perl6
11:25 miyagawa joined perl6
11:31 DHGE joined perl6
11:38 turrepurre joined perl6
11:42 miyagawa joined perl6
11:44 BooK joined perl6
11:53 elmex joined perl6
11:56 ozo joined perl6
12:00 miyagawa joined perl6
12:02 bonesss joined perl6
12:05 TimToady joined perl6
12:41 dduncan left perl6
12:42 turrepurre joined perl6
12:56 xinming joined perl6
13:07 kanru joined perl6
13:19 baest_ is now known as baest
13:24 miyagawa joined perl6
13:25 ofer0 joined perl6
13:26 nipra joined perl6
13:30 kanru joined perl6
13:47 kanru joined perl6
14:05 nox_ghost joined perl6
14:07 polettix joined perl6
14:14 larsen_ joined perl6
14:35 bonesss joined perl6
14:49 ofer0 joined perl6
14:49 ofer0 joined perl6
15:11 webmind_ is now known as webmind
15:19 weinig joined perl6
15:32 meppl joined perl6
15:36 iblechbot joined perl6
15:39 bonesss joined perl6
16:21 gnuvince joined perl6
16:36 Schwern joined perl6
17:13 bonesss joined perl6
17:18 weinig is now known as weinig|bbl
17:25 Limbic_Region joined perl6
17:57 ozo joined perl6
18:14 BooK_ joined perl6
18:32 nipra joined perl6
18:56 ashleyb joined perl6
20:13 svnbot6 r14934 | lwall++ | Retargeted links that moved from S06 to S02.
20:16 luqui joined perl6
20:23 ruoso joined perl6
20:59 spoop joined perl6
20:59 spoopithy joined perl6
21:17 ozo joined perl6
21:23 weinig joined perl6
21:23 Aankhen`` joined perl6
21:28 Schwern joined perl6
21:59 Schwern joined perl6
22:32 buetow joined perl6
22:53 buetow golegolem.de
22:54 buetow Ups
22:55 buetow Wrong window
22:55 buetow This url dosnt exists anyways
23:02 devogon joined perl6
23:21 devogon joined perl6
23:21 ozo joined perl6
23:22 Psyche^ joined perl6
23:33 justatheory joined perl6
23:37 Psyche^ is now known as Patterner
23:42 devogon joined perl6
23:49 nperez joined perl6

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

Perl 6 | Reference Documentation | Rakudo