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