»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'perl6: say 3;' or rakudo:, niecza:, std:, or /msg p6eval perl6: ... | irclog: irc.perl6.org/ | UTF-8 is our friend!
Set by sorear on 4 February 2011.
dalek ast: d09d1e9 | Coke++ | integration/99problems-11-to-20.t:
rakudo fudge
00:08
dalek kudo/nom: 9544769 | Coke++ | t/spectest.data:
Splice was implemented, run (fudged) tests
00:10
dalek odel: 7369989 | diakopter++ | lua/ (3 files):
add a debugging helper; fix 1 bug where I didn't notice the implied return from the C# lambda when porting!
01:37
dalek odel: fe27ad5 | diakopter++ | lua/ (2 files):
add another debugging tool; also workaround very strange compiler bug; need to ask jnthn++ about it.
02:22
sorear hrm 04:25
my research suggests most of the attention niecza is getting is coming from twitter
dalek ecza: 3f0470a | sorear++ | TODO:
Update TODO
05:47
dalek ecza: 036e405 | sorear++ | docs/compiler.pod:
Rewrite docs/compiler.pod for serialize

Probably gets rid of all the mberends++ magic that made it useful in the first place... will almost certainly need feedback and audience-widening.
06:43
colomon sorear: when you say "module packaging", do you mean at the S11 level, or are you thinking of making a stab at something like tadzik's panda? 06:47
dalek ecza: cccad74 | sorear++ | docs/overview.pod:
Get docs/overview.pod less hopelessly out of date ("compiler generates C#")
06:50
sorear colomon: somewhere in between
colomon: I want to reinvent S11, but I think S11 needs to concern itself more with packaging 06:51
sorear sleep 06:51
colomon o/
sorear nam.pod tracing.pod still need updating
moritz good morning 06:55
dalek kudo/nom: a2e2b96 | moritz++ | / (4 files):
Get rid of nqp::want usage in the setting

Also switches pir:: ops to nqp:: ops and adds return type annotations
colomon \o 06:56
moritz o/ 07:34
colomon still loves Perl 6 grammars and actions. 08:02
moritz too 08:03
dalek ast: 41a51d3 | (Solomon Foster)++ | S02-literals/radix.t:
Fudge for niecza.
08:11
colomon nom: say :16<aa> 08:12
p6eval nom a2e2b9: OUTPUT«170␤»
colomon nom: say :16<aa.a>
p6eval nom a2e2b9: OUTPUT«170.625␤»
colomon nom: say :16<aa.a>.WHAT
p6eval nom a2e2b9: OUTPUT«Num()␤»
colomon b: say :16<aa.a>.WHAT 08:13
p6eval b 1b7dd1: OUTPUT«Num()␤»
colomon I believe that's a Rakduo-bug
dalek ecza: a2e7b9b | (Solomon Foster)++ | src/NieczaActions.pm6:
Add actions needed to handle the basic :N<number_base_N> radix form of numeric literals.
ecza: 8e5e697 | (Solomon Foster)++ | t/spectest.data:
Turn on radix.t.
colomon I guess tests for the type returned should be added to radix.t. But I need to go back to bed and see if I can actually sleep some tonight. 08:14
Tests for bigints and radixs (radices?) as well 08:15
afk # sleep
fsergot good morning :) 08:19
moritz good morning 08:56
Woodi www.xray.mpe.mpg.de/mailing-lists/p...00076.html <- about adding new hash native operations; atomic inc would be nice 09:22
uups
antirez.com/post/Sorting-in-key-val...model.html
here it is
Woodi coffe x 2 09:23
mls morning! 09:37
dalek p: 4bc5cae | moritz++ | src/PAST/NQP.pir:
bitwise str nqp:: ops
10:14
kudo/native-str-ops: 010ed9a | moritz++ | / (2 files):
add native str ops, add return type annotations, and use nqp:: opcodes for string bitwise ops
10:17
moritz nom: multi infix:<x>(str $x, int $i) { nqp::x($x, $i) }; 'foo' x 3 10:18
p6eval nom a2e2b9: ( no output )
moritz hm, in the setting that segfaults :(
moritz jnthn: rakudo/native-str-ops is again a branch that segfaults. This time I'm pretty sure I don't return anthing from pir:: directly 10:24
jnthn: but for example "foo" x 3 segfaults on that branch 10:25
Saran A newbie here..Willing to contribute for perl6
moritz hello Saran, welcome to Perl 6!
Saran Hello Moritz..Thanks..Glad to see your response.. 10:26
moritz Saran: what do you want to do? there are lots of ways you can help
Saran Moritz : Would like to contribute in solving some bugs.. 10:26
moritz write modules, write documentations, organize a conference, help newbies, blog about perl 6, hack on a compiler, write tests...
Saran moritz: more interested in writing modules.. 10:27
moritz Saran: modules.perl6.org/ is a list of what we have now
Saran moritz : And wish to Organise a conference in Bangalore,India
moritz Saran: so obviously a lot of stuff is missing... just pick something and implement it :-) 10:28
Saran Moritz : First i would like to start with fixing bugs in any existing modules..which can give some basic idea.
moritz or extend one of the existing modules
Saran ok..
Saran My favourite module is "Data::Dumper" in Perl5..i use in most of the perl program 10:30
moritz well, Perl 6 has that built in
rakudo: say ('a', 'b', 35).prtl
p6eval rakudo a2e2b9: OUTPUT«Method 'prtl' not found for invocant of class 'Parcel'␤ in block <anon> at /tmp/tAfOSAw8AJ:1␤ in <anon> at /tmp/tAfOSAw8AJ:1␤»
moritz rakudo: say ('a', 'b', 35).perl 10:31
p6eval rakudo a2e2b9: OUTPUT«("a", "b", 35)␤»
Saran cool..
moritz ... and it helps if you spell it correctly :-)
Saran Do they have any modules to connect to windows box
moritz don't think so
Saran like Net::Telnet /Net::SSH::Perl in Unix..Do they have any modules for windows [ Remote desktop connection ] 10:32
moritz I don't think we have *any* remote connection stuff right now
Saran Is there any modules in perl 5 ?
moritz but we have sockets, so you could write some
Saran for the same..
sounds good.. 10:33
moritz Saran: dunno. You'd have to search CPAN
Saran searching..
Saran Am readin this "www.perlmonks.org/?node_id=816239" 10:37
moritz ..What skill we require to hack on a compiler.. 10:38
moritz Saran: same as on any other program, really 10:39
a compiler is just a program that reads some text files and produces some output
moritz it's just a relatively large program 10:41
Saran moritz: any repository to see the source code of compiler program
moritz Saran: github.com/rakudo/rakudo/ and github.com/sorear/niecza are the two major Perl 6 compilers right now 10:43
Saran k.let me look at it 10:45
ooh! no..where do ppl file a bug while testing modules.. 10:50
moritz Saran: usually the modules are hosted on github, and each github project has its own bug tracker 10:53
nom: class A::B { ... }; my package A { class B { } } 10:54
p6eval nom a2e2b9: OUTPUT«===SORRY!===␤The following packages were stubbed but not defined:␤ A::B␤␤»
moritz that one hurts me currently
mls jnthn: PIR already evaluates the while body in void context
jnthn: you probably see the result of the optimizer inlining &infix<<> 10:59
Saran moritz: ok 11:05
moritz thinks that detecting void context in for-loops would speed up things considerably 11:22
then at some point we'd know that we can discard the results, and iterate eagerly
and could optimize iteration over int ranges
Woodi is: while $l = $!sock.get() { $info ~= $l ~ "\n"; } efficient ? 11:28
moritz Woodi: I guess .recv or .read is more efficient 11:29
Woodi k, thank you 11:30
colomon sorear: actually, masak++ did roll. :) 11:41
Woodi b: say 1 12:42
p6eval b 1b7dd1: OUTPUT«1␤»
mls back from lunch...
moritz: yes, for statements always generate a closure at the moment, so the body cannot be inlined 12:44
moritz nom: for 1 { die '' }
p6eval nom a2e2b9: OUTPUT«␤ in block <anon> at /tmp/R0rOYMDKQ2:1␤ in method reify at src/gen/CORE.setting:3982␤ in method reify at src/gen/CORE.setting:3889␤ in method reify at src/gen/CORE.setting:3889␤ in method gimme at src/gen/CORE.setting:4251␤ in method eager at src/gen/CORE.settin…
moritz mls: part of what I want is to get rid of this very deep stack trace, that *can't* be fast
mls: even if it still involves calling a closure for every iteration 12:45
mls getting rid of the closure would also be nice, though. lexical lookups could be faster when the same context is used
moritz yes, but that's way beyond my reach of compiler hacking 12:46
mls I also thougt about getting rid of that long call chain (I saw it in the subprof output), but I think that's a job for pmichaud++ when he has some tuits 12:47
[Coke] drinks coffee
moritz that's the problem, ain't it?
[Coke] beware adding too much to pmichaud's plate.
moritz good morning [Coke]
[Coke] moritz: mumblegrumbleblarg.
[Coke] 's job now has him writing java instead of coldfusion. I honestly cannot tell if this is better or not. 12:48
moritz <sorear> my research suggests most of the attention niecza is getting is coming from twitter
mls does coffee help?
[Coke] guesses better, since it's different.
mls: coffee helps everything. except the problem of going to bed before midnight. 12:49
moritz I think that's pretty obvious, because niecza doesn't really have a website, mailing list or *anything* beyond IRC and the github page
tadzik and the irc is mainly Rakudo-dominated 12:50
moritz that's slowly shifting 12:53
and I try to point people to both rakudo and niecza when they ask for a Perl 6 compiler
not sure I succeed
flussence I've been using niecza a lot more... just because the features I want seem less broken in it at the moment 12:56
flussence (I still haven't got Text::Wrap to work in either compiler yet, and I'm close to giving up trying...) 12:57
moritz what's the problem with it? 12:58
flussence niecza goes wrong at some point I can't seem to pin down, and ends up hitting a sanity check I put in that shouldn't be reachable; rakudo doesn't do /. ** {...}/ yet 13:00
moritz you can work around lack of .**{...} 13:01
<{".**$interpolate_range_here"}>
if I remember the syntax correctly
moritz .u ね 13:03
phenny U+306D HIRAGANA LETTER NE (ね)
colomon niecza: say :16<1234567890abcdef1234567890abcdef1234567890abcdef> 13:08
p6eval niecza v11-5-g8e5e697: OUTPUT«446371678903360124661747118626766461972311602250509962735␤»
benabik That's a lot of numbers.
colomon niecza: say :16<1234567890abcdef1234567890abcdef1234567890abcdef.e> 13:09
p6eval niecza v11-5-g8e5e697: OUTPUT«3570973431226880997293976949014131695778492818004079701887/8␤»
geekosaur "/"? not "." or ","? 13:18
moritz it seems that nieczas .gist defaults to .perl 13:19
colomon niecza: say :16<1234567890abcdef1234567890abcdef1234567890abcdef.e>.Str 13:21
p6eval niecza v11-5-g8e5e697: OUTPUT«3570973431226880997293976949014131695778492818004079701887/8␤»
colomon niecza: say :16<1234567890abcdef1234567890abcdef1234567890abcdef.e>.gist
p6eval niecza v11-5-g8e5e697: OUTPUT«3570973431226880997293976949014131695778492818004079701887/8␤»
colomon niecza: say :16<1234567890abcdef1234567890abcdef1234567890abcdef.e>.perl
p6eval niecza v11-5-g8e5e697: OUTPUT«3570973431226880997293976949014131695778492818004079701887/8␤»
moritz niecza: say :16<1234567890abcdef1234567890abcdef1234567890abcdef.e>.WHAT
p6eval niecza v11-5-g8e5e697: OUTPUT«Rat()␤»
moritz niecza: say 1/3 13:22
p6eval niecza v11-5-g8e5e697: OUTPUT«1/3␤»
moritz niecza: say (1/3).Str
p6eval niecza v11-5-g8e5e697: OUTPUT«1/3␤»
moritz github.com/sorear/niecza/issues/75 complains about that
benabik niecza: say 1/10 13:23
p6eval niecza v11-5-g8e5e697: OUTPUT«1/10␤»
colomon yes
it's probably easy-ish to fix
colomon the biggest question is the right way to fix it. ;) 13:23
flussence perl6: my $t = 5; say ('abcdef' ~~ rx/ <{'\N ** 0..' ~ $t - 1}> /); 13:27
p6eval rakudo a2e2b9: OUTPUT«Null PMC access in find_method('MATCH')␤ in regex <anon> at /tmp/6sz0oJThdU:1␤ in method ACCEPTS at src/gen/CORE.setting:6569␤ in block <anon> at /tmp/6sz0oJThdU:1␤ in <anon> at /tmp/6sz0oJThdU:1␤» 13:28
..pugs b927740: OUTPUT«Error eval perl5: "if (!$INC{'Pugs/Runtime/Match/HsBridge.pm'}) {␤ unshift @INC, '/home/p6eval/.cabal/share/Pugs-6.2.13.20111008/blib6/pugs/perl5/lib';␤ eval q[require 'Pugs/Runtime/Match/HsBridge.pm'] or die $@;␤}␤'Pugs::Runtime::Match::HsBridge'␤"␤*** '<HAND…
..niecza v11-5-g8e5e697: OUTPUT«#<match from(0) to(0) text() pos([].list) named({}.hash)>␤»
flussence perl6: my Int $t = 5; my Str $r = '\N ** 0..' ~ $t - 1; say ('abcdef' ~~ rx/ <{$r}> /);
p6eval rakudo a2e2b9: OUTPUT«Null PMC access in find_method('MATCH')␤ in regex <anon> at /tmp/fJopPgiQp7:1␤ in method ACCEPTS at src/gen/CORE.setting:6569␤ in block <anon> at /tmp/fJopPgiQp7:1␤ in <anon> at /tmp/fJopPgiQp7:1␤»
..pugs b927740: OUTPUT«Error eval perl5: "if (!$INC{'Pugs/Runtime/Match/HsBridge.pm'}) {␤ unshift @INC, '/home/p6eval/.cabal/share/Pugs-6.2.13.20111008/blib6/pugs/perl5/lib';␤ eval q[require 'Pugs/Runtime/Match/HsBridge.pm'] or die $@;␤}␤'Pugs::Runtime::Match::HsBridge'␤"␤*** '<HAND…
..niecza v11-5-g8e5e697: OUTPUT«#<match from(0) to(0) text() pos([].list) named({}.hash)>␤»
flussence I'm not sure about niecza's output, but that NPMCA looks wrong. 13:29
moritz it does
flussence (and with the string interpolation rakudo passes 17 tests instead of 28...) 13:30
geekosaur oh 13:31
geekosaur missed it was outputting a rational :/
flussence rakudo: my $a = rx/./; my $b = rx/<{$a}>/; 13:44
p6eval rakudo a2e2b9: ( no output )
flussence rakudo: my $a = rx/./; my $b = rx/<{$a}>/; say 'c' ~~ $b
p6eval rakudo a2e2b9: OUTPUT«Null PMC access in find_method('MATCH')␤ in regex <anon> at /tmp/cJJmhZEFeP:1␤ in method ACCEPTS at src/gen/CORE.setting:6569␤ in block <anon> at /tmp/cJJmhZEFeP:1␤ in <anon> at /tmp/cJJmhZEFeP:1␤»
flussence seems it's the <{...}> and not the string itself causing that
moritz oh, I have an idea what might be going on 13:45
it might compile it into a nqp regex, not a p6 regex
mls moritz: there's a type in core/Int.pm, line 88 13:49
(I think) 13:50
moritz mls: oops, thanks
mls should be prefix:<abs> instead of prefix<->
moritz indeed 13:51
mls (perl6 should warn about the redifinition, IMHO)
redefinition
moritz well, for multis that's not so easy
dalek kudo/nom: c838c1c | moritz++ | src/core/Int.pm:
fix copy/pasto in native int op name, mls++
fsergot masak, i've problem with ufo :) 14:01
hmm, works now. :) 14:03
flussence niecza: my Int $t = 5; my Regex $r = rx/\N ** {0.. $t.pred}/; say ('abcdef' ~~ rx/ <{$r}> /); 14:12
p6eval niecza v11-5-g8e5e697: OUTPUT«#<match from(0) to(0) text() pos([].list) named({}.hash)>␤»
moritz nom: say 'abc' ~~ /<?{ '.+' }>/ 14:13
p6eval nom a2e2b9: OUTPUT«=> <>␤␤»
moritz nom: say 'abc' ~~ /<{ '.+' }>/
p6eval nom a2e2b9: OUTPUT«Null PMC access in find_method('MATCH')␤ in regex <anon> at /tmp/ThxAYWsWrh:1␤ in method ACCEPTS at src/gen/CORE.setting:6569␤ in block <anon> at /tmp/ThxAYWsWrh:1␤ in <anon> at /tmp/ThxAYWsWrh:1␤»
flussence niecza: my Int $t = 5; my Regex $r = rx/\N ** {0.. $t.pred}/; say ('abcdef' ~~ rx/ $r /);
p6eval niecza v11-5-g8e5e697: OUTPUT«Match()␤»
flussence niecza: my Int $t = 5; my Regex $r = rx/\N ** {0.. $t.pred}/; say ('abcdef' ~~ rx/ $r /).perl;
p6eval niecza v11-5-g8e5e697: OUTPUT«Match␤»
flussence erm
moritz the match fails
flussence oh
moritz so it returns the Match type object
b: say 'abc' ~~ /<{ '.+' }>/
p6eval b 1b7dd1: OUTPUT«abc␤»
moritz that's more like it 14:14
moritz submits rakudobug 14:15
flussence niecza: my Int $t = 5; my Regex $r = rx/\N ** {0..4}/; say ('abcdef' ~~ rx/ $r /).perl;
p6eval niecza v11-5-g8e5e697: OUTPUT«Potential difficulties:␤ $t is declared but not used at /tmp/7rL2vwiQiZ line 1:␤------> my Int ⏏$t = 5; my Regex $r = rx/\N ** {0..4}/; ␤␤Match␤»
flussence niecza: my Regex $r = rx/\N ** 0..4/; say ('abcdef' ~~ rx/ $r /).perl;
p6eval niecza v11-5-g8e5e697: OUTPUT«Match␤» 14:16
flussence that's... odd
niecza: my Regex $r = rx/\N ** 0..4/; say ('abcdef' ~~ $r).perl;
p6eval niecza v11-5-g8e5e697: OUTPUT«#<match from(0) to(4) text(abcd) pos([].list) named({}.hash)>␤»
flussence oh.
moritz niecza: say so 'a' ~~ /\N/
p6eval niecza v11-5-g8e5e697: OUTPUT«Bool::True␤»
flussence if niecza won't interpolate regexes like that, then chances are that's why my code doesn't work... 14:17
(assuming it should've worked the first time and I'm not making some stupid mistake in the above code)
rakudo: my Regex $r = rx/\N ** 0..4/; say ('abcdef' ~~ rx/ $r /).perl; 14:18
p6eval rakudo a2e2b9: OUTPUT«Match.new(orig => "abcdef", from => 0, to => 4, ast => Mu, list => ().list, hash => EnumMap.new())␤»
flussence rakudo: my Regex $r = rx/\N ** 0..4/; say ('abcdef' ~~ rx/ $r /); 14:20
p6eval rakudo a2e2b9: OUTPUT«=> <abcd>␤␤»
flussence rakudo: my Regex $r = rx/\N ** 0..4/; say ('abcdef' ~~ rx/ $r $ /);
p6eval rakudo a2e2b9: OUTPUT«=> <cdef>␤␤»
flussence rakudo: my Regex $r = rx/\N ** 0..4/; say ('abcdef' ~~ rx/ $r $ /).Str;
p6eval rakudo a2e2b9: OUTPUT«cdef␤»
flussence niecza: my Regex $r = rx/\N ** 0..4/; say ('abcdef' ~~ rx/ $r $ /).Str;
p6eval niecza v11-5-g8e5e697: OUTPUT«␤»
flussence submits nieczabug 14:21
niecza: my Str $r = '\N ** 0..4'; say ('abcdef' ~~ rx/ <{$r}> $ /).Str; 14:24
p6eval niecza v11-5-g8e5e697: OUTPUT«␤»
flussence looks like interpolation flat out doesn't work there :(
moritz niecza: my Str $r = '\N ** 0..4'; say $str ~~ /<{$str}>/ 14:25
p6eval niecza v11-5-g8e5e697: OUTPUT«===SORRY!===␤␤Variable $str is not predeclared at /tmp/Tc_k6J0vMt line 1:␤------> my Str $r = '\N ** 0..4'; say ⏏$str ~~ /<{$str}>/␤␤Variable $str is not predeclared at /tmp/Tc_k6J0vMt line 1:␤------> y Str $r = '\N…
moritz niecza: my Str $r = '\N ** 0..4'; say $r ~~ /<{$r}>/
p6eval niecza v11-5-g8e5e697: OUTPUT«#<match from(0) to(0) text() pos([].list) named({}.hash)>␤»
flussence (I wonder if niecza misinterprets that as rx/ $ r /...) 14:26
flussence std: rx/ $ r / 14:27
p6eval std be1f10e: OUTPUT«ok 00:01 120m␤»
flussence it'd explain the lack of errors 14:27
fsergot nom: sub a { 1; }; say a.WHAT; 14:52
p6eval nom a2e2b9: OUTPUT«Int()␤»
fsergot nom: sub a { 1; }; say &a.WHAT;
p6eval nom a2e2b9: OUTPUT«Sub()␤»
moritz nom: say 1.WHAT 14:53
p6eval nom a2e2b9: OUTPUT«Int()␤»
moritz nom: my int $x = 3; say $x.WHAT 14:53
p6eval nom a2e2b9: OUTPUT«Int()␤»
moritz that's curious, and probably not wrong
fsergot :) 14:56
nom: sub do { 1; } 14:58
p6eval nom a2e2b9: ( no output )
fsergot nom: sub do { 1; }; do;
p6eval nom a2e2b9: ( no output )
fsergot We can use keywords as subs names? :)
name* 14:59
moritz sure
fsergot Great. :)
moritz nom: sub if() { say 'IFF' }; if()
p6eval nom c838c1: OUTPUT«IFF␤»
flussence nom: sub if() { say 'IFF' }; if if if; 14:59
p6eval nom c838c1: OUTPUT«===SORRY!===␤Missing block at line 1, near "if;"␤»
flussence heh :) 15:00
nom: sub if() { say 'IFF' }; if() if if();
p6eval nom c838c1: OUTPUT«IFF␤IFF␤»
moritz ... but sometimes you need () to disambiguate towards the function
fsergot :)
moritz nom: enum A <b c>; sub c() { 42 }; say c; say c()
p6eval nom c838c1: OUTPUT«A::c␤42␤»
flussence rakudo++ # letting me write stupid things :)
fsergot nom: %h = 1, 2; say %h.keys 15:02
p6eval nom c838c1: OUTPUT«===SORRY!===␤Variable %h is not predeclared at line 1, near " = 1, 2; s"␤»
fsergot nom: my %h = 1, 2; say %h.keys 15:03
p6eval nom c838c1: OUTPUT«1␤»
fsergot nom: my %h = sub { say 1; }, 2; say %h.keys
p6eval nom c838c1: OUTPUT«_block1011␤»
fsergot nom: my %h = sub { say 1; }, 2; say $_ for %h.keys; 15:04
p6eval nom c838c1: OUTPUT«_block1011␤»
fsergot nom: my %h = sub { say 1; }, 2; $_ for %h.keys;
p6eval nom c838c1: ( no output )
fsergot Why not "1" ? :)
nom: my %h = sub { say 1; }, 2; $_() for %h.keys; 15:05
p6eval nom c838c1: OUTPUT«Method 'postcircumfix:<( )>' not found for invocant of class 'Str'␤ in <anon> at src/gen/Metamodel.pm:3190␤ in block <anon> at /tmp/2ONvpQIa40:1␤ in method reify at src/gen/CORE.setting:3982␤ in method reify at src/gen/CORE.setting:3889␤ in method reify at src/ge…
fsergot nom: my %h = sub { say 1; }, 2; say %h.kv
p6eval nom c838c1: OUTPUT«_block1011 2␤»
fsergot nom: my %h = sub { say 1; }, 2; $_ for %h.keys; 15:06
p6eval nom c838c1: ( no output )
fsergot I want to see 1 :)
moritz you won't
hash keys are strings
fsergot Only? :)
benabik nom: my %h = sub { say 1; }, 2; say %h.perl 15:07
p6eval nom c838c1: OUTPUT«("_block1011" => 2).hash␤»
fsergot nom: my %h = <a b c>, <d e f>; say %h.kv;
p6eval nom c838c1: OUTPUT«a b c d e f␤»
fsergot nom: my %h = <a b c>, <d e f>; say %h.k.WHAT;
p6eval nom c838c1: OUTPUT«Method 'k' not found for invocant of class 'Hash'␤ in block <anon> at /tmp/dsPQYbPkll:1␤ in <anon> at /tmp/dsPQYbPkll:1␤»
fsergot nom: my %h = <a b c>, <d e f>; say %h.keys.WHAT; 15:08
p6eval nom c838c1: OUTPUT«List()␤»
moritz nom: my %h = <a b c>, <d e f>; say %h.perl
p6eval nom c838c1: OUTPUT«("a" => "b", "c" => "d", "e" => "f").hash␤»
fsergot Ok. :) 15:09
PerlJam masak: congrats on your grant! 15:51
JimmyZ congratulations!
arnsholt masak: Did you ever do anything more with your "MAIN for Perl 5" idea? 15:57
fsergot What masak did? :) 16:47
daxim fsergot, [16:49] * rssbot PerlFoundation: Hague Grant Accepted: Implementation of Macros in Rakudo (Karen) - news.perlfoundation.org/2011/11/hag...ement.html 17:01
join MagNET #news for news
fsergot Thanks daxim++. Congratulations masak++. :) 17:02
colomon masak++! 17:09
jnthn o/ from Bratislava :) 17:17
(just for a moment, will be dinner time soon :))
daxim you decommuted! \o/
jnthn :D
jnthn ok, dinner :) 17:27
dalek ecza: 22aed0b | diakopter++ | docs/compiler.pod:
typo
18:20
moritz nom: class A::B { ... }; class A::B { }
p6eval nom c838c1: ( no output )
moritz wonders why that doesn't seem to work in the setting
tadzik Setting is Special :)
seen mberends 18:21
aloha mberends was last seen in #perl6 7 days 23 hours ago joining the channel.
tadzik :(
moritz mberends is special too :-)
tadzik that's why I'm looking for him :)
moritz if it's urgent, I could dig up his mobile phone number for you 18:22
tadzik I think I have it, but I don't think I need to bother him that much
I have to think of some nice database I'd like to design and implement, for my RDBMS classes. I thought about design something alike popolnik, the db storing smoketests of perl6 modules 18:23
[Coke] tadzik: ... there's a DB for storing smoketests of perl6 modules that isn't smolder? 18:34
tadzik [Coke]: nope
[Coke] tadzik: also see coke/muddle on github.
tadzik but there were plans for that
and it was also supposed to measure performance
[Coke] tadzik: muddle can probably do that to, if I ever get back to it. ;) 18:35
tadzik (: 18:37
I don't need _it_, I need to implement it :)
I just want something more appealing to me than another internet shop or such
[Coke] tadzik: I am very happy to have another pair of hands. It's mojo, and I plan to jQuerify the front end. 18:38
tadzik [Coke]: I'm interested in db-side only; well, fsvo interested. I would probably be interested in every aspect of it, but what i need is the db side 18:39
[Coke] github.com/coke/muddle/blob/master...mpledb.sql 18:40
[Coke] restarts feather.perl6.nl:2653/rakudo/ 18:42
tadzik [Coke]: ohh, that will be useful to me, thanks!
[Coke]++
[Coke] tadzik: if nothing else, you've motivated me to carve out some time here. 18:43
tadzik++
tadzik I'll just need to put more bloat in it, they want like a 20-table-big database
flussence just stick a login system on it, that'll easily add 3-5 tables :) 18:44
tadzik I think performance measurement will put something in it
also, the number of things I can force into it and still make it some minimal of sense is much bigger than 20 tables :) 18:45
[Coke] tadzik: hey, don't forget to contribute upstream. ;)
tadzik [Coke]: only the good parts, ok? :P
tadzik like, connecting contributors to commits, and then figuring out who commited the most performance improvements, introduced the most bugs... ;) 18:46
[Coke] tadzik: nifty. 18:49
tadzik shopping & 18:50
[Coke] perl6.org - in IE8, if I mouse over camelia, the blue box contracts. mouse out, it expands. very distracting. 18:58
[Coke] tries to trick his boss into playing with Perl 6. 19:00
moritz [Coke]: does anything else change on mouse-over? 19:01
like, text underlining, borders or so?
diakopter doesn't do it in ie9 19:03
flussence maybe it just needs a use strict at the top... XHTML 1.0 Transitional triggers quirks mode
UncleFester6 rakudo: package A { our %h; %h{'A'} = 2 } 19:03
p6eval rakudo c838c1: OUTPUT«Method 'at_key' not found for invocant of class 'Any'␤ in method postcircumfix:<{ }> at src/gen/CORE.setting:1039␤ in <anon> at /tmp/XrWJS1ZeNQ:1␤ in block <anon> at /tmp/XrWJS1ZeNQ:1␤ in <anon> at /tmp/XrWJS1ZeNQ:1␤»
UncleFester6 rakudo: package A { my %h; %h{'A'} = 2 }
p6eval rakudo c838c1: ( no output )
[Coke] moritz: nope. 19:06
moritz UncleFester6: looks like a bug in rakudo 19:07
[Coke] flussence: the page is rendering in Ie8 standards mode. 19:08
UncleFester6 Thx - still doing some research - if I don't find a good match I'll send it in ...
flussence oh well, I'm not all that familiar with IE8's rendering. IE6, I know more about than I'd like... 19:13
moritz broken browser is broken 19:15
Woodi »ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'perl6: say 3;' or rakudo:, niecza:, std:, or /msg p6eval perl6: ... | irclog: irc.perl6.org/ | UTF-8 is o 19:24
19:20 <+dalek> niecza: review: github.com/sorear/niecza/commit/22aed0b992
19:20 < moritz> nom: class A::B { ... }; class A::B { }
19:20 <+p6eval> nom c838c1: ( no output )
19:20 * moritz wonders why that doesn't seem to work in the setting
19:20 < tadzik> Setting is Special :)
19:21 < tadzik> seen mberends
19:21 < aloha> mberends was last seen in #perl6 7 days 23 hours ago joining the channel.
19:21 < tadzik> :(
19:21 < moritz> mberends is special too :-)
19:21 < tadzik> that's why I'm looking for him :)
19:22 < moritz> if it's urgent, I could dig up his mobile phone number for you
19:22 < tadzik> I think I have it, but I don't think I need to bother him that much
19:23 < tadzik> I have to think of some nice database I'd like to design and implement, for my RDBMS classes. I thought about design something alike popolnik, the db storing
smoketests of perl6 modules
19:34 < [Coke]> tadzik: ... there's a DB for storing smoketests of perl6 modules that isn't smolder?
oops ?
moritz oops.
think before you paste
tadzik woot 19:25
Woodi sorry, mis-readed. and realy going sleep...
gn ppls
tadzik gn
flussence I'll be the creepy guy who points out that paste comes from, approximately, a terminal with 12px font maximised on a 1280x1024 screen... :) 19:27
(or is it 12pt...)
benabik I think px and pt are fairly similar on most computers. 19:28
colomon woah, wonder what mberends is off doing? 19:36
moritz probably traveling 19:46
(or teaching)
dalek kudo/nom: 4b4f5ef | moritz++ | src/core/ (2 files):
throw X::OutOfRange exception from Date and DateTime constructors
19:52
masak oh hai #perl6! 20:25
PerlJam masak: congrats again in case you don't read the scrollback! :)
diakopter o.
masak thanks -- I didn't, but I will.
moritz \o masak
fsergot hey masak 20:26
dalek ecs: 9950d83 | masak++ | S13-overloading.pod:
[S13] unspec multiple signatures

S06 is fairly stable at this point, and the suggestion in S13 to support multiple signatures for one single routine never made it into S06. Neither of three major implementations support multiple signatures. There's no sense of a general demand for them. The feature is probably implementable, but the torment to the implementors isn't proportionate to the benefit for the users.
20:44
PerlJam masak++ 20:47
(besides, it's easily doable with macros! ;-) 20:48
masak whimpers :)
moritz PerlJam: is it?
PerlJam moritz: I don't know, I was just being flippant. 20:49
masak .oO( anything's possible with 'is parsed'... )
PerlJam masak: I think the question was about "easily"
masak nothing's easy with 'is parsed' :P
dalek ast: 5e7be3e | moritz++ | S02-types/native.t:
binding slurpy param to list of natively typed variables
20:50
PerlJam I was just thinking about how I'd do the equivalent of multiple sigs with only one routine body and it occurs to me that "is parsed" is "structured monkey typing" 20:53
(not really, but that's how we get augment and augmenting the grammar is what "is parsed" does) 20:54
[Coke] masak: is there a perl6-level tailcall? 21:00
(if I had to deal with multi-multis in another language, I'd just make the second one call the first one.) 21:01
moritz nextwith, nextsame
still one more dispatch 21:02
s/dispatch/call/
PerlJam [Coke]: me too :)
masak sorear: fwiw, I've been mostly on Niecza for the past month or so. 21:03
except when tinkering with macros. ;) 21:04
colomon masak: you know, it's not that hard to imagine cases where multiple signatures would be really nice in a DRY sense... 21:06
dalek kudo/nom: 16b498b | moritz++ | docs/ChangeLog:
update ChangeLog
21:07
masak colomon: I actually agree.
colomon: I just don't like the proposed solution. 21:08
colomon masak: and (naively speaking) it doesn't seem like it would be wildly hard to implement.
masak colomon: I'll reinstate the spec if you implement the feature.
colomon heh.
colomon I did add new actions to Niecza's grammar last night during a bout of insomnia... 21:09
ingy o/ 21:16
masak \o
colomon: I'd much rather see an 'is symmetric' subroutine trait for the case of symmetric binary operators. it's much less of an overkill feature than general multiple siggies. it doesn't necessarily have to be core. 21:17
jnthn Probably can be implemented in a module...Rakudo has most of what's needed to do that, I suspect. 21:19
colomon ooooo, yes, is symmetric would indeed get every use case I've actually considered 21:21
masak: sounds like the implementation is in your court, then. ;)
masak dang. :) 21:22
masak I'll just charge you on the macro lateness account, then... :> 21:22
fsergot gn! o/ 21:31
masak fsergot: 'branoc! 21:38
colomon jnthn: would the obvious way of implementing it in a module mean that one direction was slower than the other? 21:39
dalek odel: fb12a3b | diakopter++ | lua/ (14 files):
more bugfixes; jnthn++ jnthn++
21:40
jnthn colomon: Probably a little, but that may be possible to overcome too. 21:44
colomon: In fact, I can think of a way to do so...I think. :) 21:45
colomon :) 21:46
colomon how do you add a trait, anyway? 21:49
jnthn Just declare a multi 21:53
See my Grammar::Debugger module for an example
jnthn sleep & 21:56
dalek odel: f41b903 | diakopter++ | lua/compiler/PAST2LSTCompiler.pm:
fix scoping problem for Context locals
22:10
dalek odel: 21470b5 | diakopter++ | lua/compiler/ (3 files):
store blocks in a table and use locals for one-off private functions. try.bat makes x.lua start by dofile('RakudoRuntime.lua');
23:52