masak is November early enough to be before the Parrot IO debac^Wrefactor? 00:02
jnthn masak: I remember having to work around the stdin bug for my London Perl Workshop talk.
masak ...which was in November... 00:04
meaning I should probably look towards October.
jnthn sleep, 'night & 00:05
00:05 lue left
flussence b: .get; my $s = .slurp; $s ~~ /\x00/ 00:05
p6eval b 922500: OUTPUT«Method 'get' not found for invocant of class ''␤ in main program body at line 22:/tmp/FgoRUgx0YO␤» 00:06
flussence b: given $*IN { .get; my $s = .slurp; say $s ~~ /\x00/ }
p6eval b 922500: OUTPUT«␤»
flussence there, a working version :P
masak good ol' b. 00:07
00:09 lue joined
masak November release of Rakudo seems to be working better, knock on wood. 00:11
flussence ponders writing a Date class for niecza that uses terrifying amounts of qx[] internally
.oO( class Date { method today { qx[rakudo -e 'say Date.today'] }; ... } )
00:13
masak lue: strangelyconsistent.org/blog/feed.atom should now be readable again. sorry for the inconvenience. 00:14
lue masak: it's fine, just thought I'd let you know (and apparently a really good reason I did)
masak lue: yeah, keep up the good reporting. 00:16
lue: anyway, I hope it worksforyou again.
00:17 Khisanth joined
lue yep, wfm again :) 00:17
masak \o/ 00:18
lue++
Parrot--
diakopter rurban: how does p2 "support dynamic typing" more than jvm? are you simply saying that "variables" (registers? stack?) can store different types? 00:21
rurban: in both places, you have to build a type system
so I don't see the big distinction
00:22 Khisanth left
masak if anyone asks, I'll be over here on Rakudo #58 Walnut, where IO works. 00:23
'night, #perl6 00:24
diakopter 'nite
00:27 [Coke] joined 00:30 Khisanth joined 00:32 lue left 00:39 palakas_ left 00:42 palakas_ joined, lue joined 00:44 Khisanth left 00:50 benabik left 00:54 benabik joined 00:59 Khisanth joined 01:03 Khisanth left 01:06 imarcusthis left
benabik appears to have fixed the NULL bug. 01:08
01:08 Khisanth joined, anuby joined 01:09 imarcusthis joined
benabik If anyone wants to try with parrot master, I'd be appreciative. :-) 01:14
01:19 raiph left 01:20 Util left, Util joined, hypolin joined 01:25 raiph joined 01:42 balders_dod joined 01:45 balders_1od left 01:51 nnunley joined 01:56 kst` joined 01:57 Targen left 01:58 Targen joined 02:00 kst left 02:23 baest_ joined 02:27 Khisanth left
[Coke] Sure. give me a few moments. 02:27
02:39 FROGGS left 02:40 Khisanth joined, dayangkun left
[Coke] build fails: gist.github.com/4688763 02:43
02:52 FROGGS joined 02:55 Khisanth left
colomon benabik++ 02:59
03:04 colomon left 03:12 colomon joined 03:18 Khisanth joined 03:33 [pp]sromanov left 03:45 [pp]sromanov joined
benabik got pulled away by kiddo, back. 03:45
[Coke]: That one's surprising to me, but looks unrelated to I/O issues... 03:46
03:48 Khisanth left
benabik Hm. compilation is much faster without that runaway process from my research. :-D 03:50
03:52 DarthGandalf joined 03:53 dayangkun joined 03:56 ohrmazd left 03:59 alec__ joined 04:04 Khisanth joined 04:05 alec__1 joined, alec__ left 04:09 preflex left 04:11 s1n joined, alec__1 left 04:12 preflex joined 04:16 Khisanth left 04:23 hulu joined
hulu map({say $^a},(1..6)) 04:25
helo
why this no responce
is anyone here? 04:28
japhb hulu, There are some people about, 04:30
but not all of us are watching the channel at the moment.
Were you looking for p6eval?
r: map({say $^a},(1..6))
p6eval rakudo 9ec0a5: OUTPUT«1␤2␤3␤4␤5␤6␤»
hulu thx 04:32
map(->$a,$b {say $a},(1..6)) 04:33
what means of ->$a,$b
japhb That means $a and $b are the names of the parameters of the following block 04:34
The arrow is meant to indicate "inputs are going here" 04:35
or even "input arguments are bound to these variables"
04:35 Khisanth joined
japhb hulu, BTW, it is idiomatic (and sometimes required) to put whitespace in more places than you have. 04:36
You may find that trying to avoid spaces will cause parsing errors. :-)
hulu japhb: thx 04:46
map({say $^a; say @^others;},(a..e)) 04:49
why this can't run
timotimo r: 34 \ 5 04:50
p6eval rakudo 9ec0a5: OUTPUT«===SORRY!===␤Two terms in a row␤at /tmp/4DxqPTB8wv:1␤------> 34 ⏏\ 5␤ expecting any of:␤ postfix␤ infix or meta-infix␤ infix stopper␤ statement end␤ statement modifier␤ statement modi…
timotimo r: 34 ± 5
p6eval rakudo 9ec0a5: OUTPUT«===SORRY!===␤Two terms in a row␤at /tmp/gHqmmRKC5Q:1␤------> 34 ⏏± 5␤ expecting any of:␤ postfix␤ infix or meta-infix␤ infix stopper␤ statement end␤ statement modifier␤ statement modi…
timotimo r: 34 ~~~ 5 04:51
p6eval rakudo 9ec0a5: ( no output )
timotimo oh, that exists? probably multiple prefix:<~>
colomon r: 34~~~5 04:52
p6eval rakudo 9ec0a5: ( no output )
colomon r: 34~~ ~5
p6eval rakudo 9ec0a5: ( no output )
colomon r: say 34~~ ~5
p6eval rakudo 9ec0a5: OUTPUT«False␤»
colomon r: say 34~~~5
p6eval rakudo 9ec0a5: OUTPUT«False␤»
colomon r: say "5"~~~5
p6eval rakudo 9ec0a5: OUTPUT«True␤»
hulu r: map({say $^a; say @^others;},(a..e))
p6eval rakudo 9ec0a5: OUTPUT«===SORRY!===␤Undeclared routine:␤ a used at line 1␤␤»
colomon r: say "5" ~~~ 5
p6eval rakudo 9ec0a5: OUTPUT«===SORRY!===␤Two terms in a row␤at /tmp/Ry7NNWZT9y:1␤------> say "5" ~⏏~~ 5␤ expecting any of:␤ postfix␤ infix or meta-infix␤ infix stopper␤ prefix or term␤ prefix or meta-prefix␤»…
colomon r: say "5" ~~~5
p6eval rakudo 9ec0a5: OUTPUT«===SORRY!===␤Two terms in a row␤at /tmp/qduyrLgH79:1␤------> say "5" ~⏏~~5␤ expecting any of:␤ postfix␤ infix or meta-infix␤ infix stopper␤ prefix or term␤ prefix or meta-prefix␤»… 04:53
colomon r: say "5"~~~5
p6eval rakudo 9ec0a5: OUTPUT«===SORRY!===␤Two terms in a row␤at /tmp/0OwHFbpeFF:1␤------> say "5"~⏏~~5␤ expecting any of:␤ postfix␤ infix or meta-infix␤ infix stopper␤ prefix or term␤ prefix or meta-prefix␤»…
colomon r: say "5" ~~~ 5
p6eval rakudo 9ec0a5: OUTPUT«True␤»
colomon stupid extra characters my irc client throws in sometimes...
hulu japhb: hi, why map({say $^a; say @^others;},(a..e)) can't run
japhb r: map({say $^a; say *@^others;},(a..e)) 04:54
p6eval rakudo 9ec0a5: OUTPUT«===SORRY!===␤Two terms in a row␤at /tmp/xAkRoyN1G6:1␤------> map({say $^a; say *⏏@^others;},(a..e))␤ expecting any of:␤ postfix␤ infix or meta-infix␤ infix stopper␤ statement end␤ statement …
timotimo was just trying to see if rakudo is going ot suggest routines if a infix/prefix/postfix doesn't exist
seems okay, the way it is now. good.
japhb r: map {say $^a; say *@^others}, a..e 04:55
p6eval rakudo 9ec0a5: OUTPUT«===SORRY!===␤Two terms in a row␤at /tmp/kIOBkyyQwu:1␤------> map {say $^a; say *⏏@^others}, a..e␤ expecting any of:␤ postfix␤ infix or meta-infix␤ infix stopper␤ statement end␤ statement mod…
japhb r: map -> $a, *@others {say $a; say @others}, 'a'..'e' 04:57
p6eval rakudo 9ec0a5: OUTPUT«a␤␤b␤␤c␤␤d␤␤e␤␤»
japhb hulu: ^
hulu japhb: why 04:58
japhb hulu, two things: you forgot to quote the letters in the range, and slurpy doesn't work with implicit arguments
Oh, and silly me, I forgot that slurpy is ignored when figuring out how many arguments map should supply to the block. 05:00
So it's only ever filling $a, heh
But:
r: (-> $a, *@others {say $a; say @others})('a'..'e') 05:01
p6eval rakudo 9ec0a5: OUTPUT«"a".."e"␤␤»
japhb r: (-> $a, *@others {say $a; say @others})(('a'..'e').list)
p6eval rakudo 9ec0a5: OUTPUT«a b c d e␤␤»
05:01 alec__ joined
japhb Interesting! 05:01
r: (sub ($a, *@others) {say $a; say @others})(('a'..'e').list) 05:02
p6eval rakudo 9ec0a5: OUTPUT«a b c d e␤␤»
japhb r: (-> $a, *@others {say $a; say @others})(|'a'..'e')
p6eval rakudo 9ec0a5: OUTPUT«===SORRY!===␤CHECK FAILED:␤Undefined routine '&prefix:<|>' called (lines 1, 1)␤»
japhb r: (sub ($a, *@others) {say $a; say @others})(|('a'..'e'))
p6eval rakudo 9ec0a5: OUTPUT«a␤b c d e␤»
japhb Wow, I'm really tired tonight, clearly
r: (-> $a, *@others {say $a; say @others})(|('a'..'e'))
p6eval rakudo 9ec0a5: OUTPUT«a␤b c d e␤»
05:03 kaleem joined
japhb Yeah, there we go, that's what I was trying to say 05:03
hulu japhb: thx 05:06
05:08 Khisanth left
hulu r:map -> $a, *@others {say $a; say @others}, 'a'..'e' 05:12
r: map -> $a, *@others {say $a; say @others}, 'a'..'e' 05:13
p6eval rakudo 9ec0a5: OUTPUT«a␤␤b␤␤c␤␤d␤␤e␤␤»
hulu r: map (-> $a, *@others {say $a; say @others})('a'..'e') 05:17
p6eval rakudo 9ec0a5: OUTPUT«"a".."e"␤␤Cannot call 'map'; none of these signatures match:␤:(&code, *@values)␤␤ in block at /tmp/N2rjr3JNJJ:1␤␤»
hulu r: (-> $a, *@others {say $a; say @others})('a'..'e')
p6eval rakudo 9ec0a5: OUTPUT«"a".."e"␤␤»
05:22 Khisanth joined
hulu japhb: why map({ [ $x, @^others ] }, ('a'..'e')) can with @^others 05:23
geekosaur not even sure what was asked there 05:27
hulu r: $x='v';map({ [ $x, @^others ] }, ('a'..'e'))
p6eval rakudo 9ec0a5: OUTPUT«===SORRY!===␤Variable '$x' is not declared␤at /tmp/NKeM1gZzVM:1␤------> $x⏏='v';map({ [ $x, @^others ] }, ('a'..'e'␤ expecting any of:␤ postfix␤»
05:27 Khisanth left
hulu r: my $x='v';map({ [ $x, @^others ] }, ('a'..'e')) 05:27
p6eval rakudo 9ec0a5: ( no output ) 05:28
geekosaur r: my $x='v';say map({ [ $x, @^others ] }, ('a'..'e'))
p6eval rakudo 9ec0a5: OUTPUT«v a v b v c v d v e␤»
hulu geekosaur: why @^others 05:30
geekosaur er, "others"is just a random name, nothing magical
hulu r: my $x='v';say map({ [ $x, @^others ] }, ('a'..'e')) 05:31
p6eval rakudo 9ec0a5: OUTPUT«v a v b v c v d v e␤»
geekosaur in the pointy block example (which the above is *not*), what made it special was not the name "others" but the specification "*@name" which in a signature is a slurpy argument (i.e. eats everything else available into the list)
hulu r: my $x='v';say map({ [ $x, @^kkk ] }, ('a'..'e'))
p6eval rakudo 9ec0a5: OUTPUT«v a v b v c v d v e␤»
geekosaur note that you do not have a signature in the stuff you;re playing with so it won't work there 05:32
hulu r:my $x='v'; say map({[$x,@^a]},('a'..'e')) 05:36
geekosaur need the space after the colon. "r: ..." 05:37
hulu r:my $x='v'; say map({[$x,@^a]}, ('a'..'e'))
geekosaur don't want the bot to trigger because someone started talking about r::myfunc or something
colon, not comma. "r: ..." 05:38
hulu r: my $x='v'; say map({[$x,@^a]},('a'..'e'))
p6eval rakudo 9ec0a5: OUTPUT«v a v b v c v d v e␤»
hulu geekosaur: ths 05:39
geekosaur: thx
05:45 Khisanth joined
hulu r: map(->$a,$b {say $a},(1..6)) 05:48
p6eval rakudo 9ec0a5: OUTPUT«1␤3␤5␤»
hulu r: map -> $a, *@others {say @others}, 'a'..'e' 05:49
p6eval rakudo 9ec0a5: OUTPUT«␤␤␤␤␤»
TimToady huh
r: map -> $a, *@others {say @others}, ('a'...'e') 05:50
p6eval rakudo 9ec0a5: OUTPUT«␤␤␤␤␤»
05:50 Khisanth left
TimToady I suspect this might be a rakudobug 05:51
it's probably using introspection to determine the arity, and ignoring the slurpy arg
eventually we'd like to get to more of a partial-binding model, and then it would work right
geekosaur n: map -> $a, *@others {say @others}, ('a'...'e') 05:52
p6eval niecza v24-18-gaf64300: OUTPUT«Potential difficulties:␤ $a is declared but not used at /tmp/SfBpTtDpus line 1:␤------> map -> ⏏$a, *@others {say @others}, ('a'...'e')␤␤»
TimToady r: say -> $a, *@others {say @others}.arity
p6eval rakudo 9ec0a5: OUTPUT«1␤»
TimToady in cases like these there should be a backchannel from the binder that says "I matched N args, save the rest for next time" 05:53
or more likely, no N involved, just returns a list tail for the next iteration's use 05:54
moritz \o 05:55
TimToady the ability to reference a list's tail is slightly more problematic when lists aren't represented as pure cons lists as they are in Lisp
so it's one of those hard things we haven't quite got nailed down
moritz: I don't quite understand why / can't be pure even if it's creating Rats 05:58
moritz TimToady: me neither, TBH
TimToady: I think it could be, but the optimizer tries its hand on the setting, and runs into something bootstrappy, I think 05:59
TimToady still thinks we'll probably end up with another level of bootstrap for such reasons... 06:00
it's kinda like trying to construct a single-stage-to-orbit rocket otherwise
moritz maybe a bit experimenting with it that's not past my biological bed time might reveal what#s going on :-)
s/'#'/\'/ 06:01
TimToady it seems to be that it's probably of biological origin that you are up :)
moritz no, that's just the usual $work and $daughter's-daycare routine 06:03
TimToady your daughter is not biological? :)
moritz she is, her daycare facility is... well, a facility :-) 06:04
TimToady perhaps they should think about employing some...humanoids...there...
anyway, guten morgen 06:05
moritz :-)
06:06 Khisanth joined 06:08 nnunley left 06:16 Khisanth left
hulu my $x='v';say map({ [ $x, @^others ] }, ('a'..'e')) 06:17
r: my $x='v';say map({ [ $x, @^others ] }, ('a'..'e')) 06:18
p6eval rakudo 9ec0a5: OUTPUT«v a v b v c v d v e␤»
TimToady say ('a'..'e')[0] ~~ Positional
hulu geekosaur: why my $x='v';say map({ [ $x, @^others ] }, ('a'..'e')) with @^others '@'
TimToady r: say ('a'..'e')[0] ~~ Positional 06:19
p6eval rakudo 9ec0a5: OUTPUT«False␤»
TimToady I guess it's not checking the @ on binding
so, a different rakudobug
geekosaur hulu, I'm not sure, are you asking why the @? it indicates a list 06:20
and it should probably be failing because it's getting a scalar
(hence, rakudobug) 06:21
06:21 dayangkun left
geekosaur n: my $x='v';say map({ [ $x, @^others ] }, ('a'..'e')) 06:21
p6eval niecza v24-18-gaf64300: OUTPUT«Unhandled exception: Nominal type check failed in binding '@others' in 'ANON'; got Str, needed Positional␤ at /tmp/jZN5BNkA8m line 0 (ANON @ 1) ␤ at <unknown> line 0 (KERNEL map @ 2) ␤ at /home/p6eval/niecza/lib/CORE.setting line 2425 (GatherIterator.re…
geekosaur right
06:21 Khisanth joined
hulu n: my $x='v';say map({ [ $x, @^others ] }, ('a'..'e')) 06:22
06:22 dayangkun joined
p6eval niecza v24-18-gaf64300: OUTPUT«Unhandled exception: Nominal type check failed in binding '@others' in 'ANON'; got Str, needed Positional␤ at /tmp/ww7mNz245f line 0 (ANON @ 1) ␤ at <unknown> line 0 (KERNEL map @ 2) ␤ at /home/p6eval/niecza/lib/CORE.setting line 2425 (GatherIterator.re… 06:22
TimToady that's the sort of error rakudo should be giving, but isn't
geekosaur hulu, I think you may still be confused about what japhb was doing with the pointy block (-> $a, *@others {BLOCK}); it was declaring that the block takes a fixed scalar parameter to be referred to as "$a" and an indefinitely sized list that sucks up everything else available, to be called "@others". 06:23
it's a kind of anonymous subroutine 06:24
or function if you prefer
TimToady which shows a different bug
hulu geekosaur: why use @^others ,not $^others
geekosaur the names aren't special; what is special is $ is scalar, @ is list, and *@ in a signature is a slurpy list (= take everything available) 06:25
and as niecza is teling you and rakudo isn't, you do NOT want a list there
TimToady well, but what if hulu *does* want a list there, hence "others"?
geekosaur that said, I think $^others would fail as well because map wants a single parameter 06:26
TimToady yes, you can't get the slurpy semantics of "others" without the *
hulu n: my $x='v';say map({ [ $x, $^others ] }, ('a'..'e'))
p6eval niecza v24-18-gaf64300: OUTPUT«v a v b v c v d v e␤»
hulu why $^others same as @^others
TimToady and you can only put the slurpy * in an official signature
geekosaur hulu, because rakudo has a bug 06:27
TimToady all things are scalars by default in Perl 6, including containers
you have to do something special to get them to act like containers
geekosaur niecza is doing the right thing and cpomplaining if you use @^others (which means it wants a list, but map is passing each scalar in the list separately)
rakudo is for some reason letting it go... 06:28
TimToady I guess my question is, if you really want to bind all of the elements of the list, why are you using map, and not just a normal call to a function with a signature? 06:29
06:31 dayangkun left
moritz three errors in the constant-folding branch 06:31
TimToady three is a constant, so you can fold that too
moritz that is, three spectest files aborting
one is a construct that uses 1 div 0 to generate an exception 06:34
the others seems to be something where a named argument accidentally becomes positional 06:35
ah, might be easy to fix 06:37
named arguments aren't constructed a Pairs, but as ordinary QAST node with .named($name) in addition 06:38
so it's hopefully just a matter of adding the .named to the generated value
hulu r: my $x='v';say map({ [ $x, @^others ] }, ('a'..'e')) 06:39
p6eval rakudo 9ec0a5: OUTPUT«v a v b v c v d v e␤»
hulu r: my $x='v';say map({ [ $x, $^others ] }, ('a'..'e'))
p6eval rakudo 9ec0a5: OUTPUT«v a v b v c v d v e␤»
hulu n: my $x='v';say map({ [ $x, $^others ] }, ('a'..'e'))
p6eval niecza v24-18-gaf64300: OUTPUT«v a v b v c v d v e␤»
hulu n: my $x='v';say map({ [ $x, @^others ] }, ('a'..'e'))
p6eval niecza v24-18-gaf64300: OUTPUT«Unhandled exception: Nominal type check failed in binding '@others' in 'ANON'; got Str, needed Positional␤ at /tmp/sEqT81Wwoy line 0 (ANON @ 1) ␤ at <unknown> line 0 (KERNEL map @ 2) ␤ at /home/p6eval/niecza/lib/CORE.setting line 2425 (GatherIterator.re…
TimToady in most compilers, something like 1 div 0 will just be replaced by code that throws that exception if it's actually executed 06:40
whether it should warn about that at compile time might depend on whether we can show that it is unreachable code 06:41
or if we delay the warning till after unreachable code is deleted, then if 0 { 1 dif 0 } just kind of disappears before the pass that looks for "will throw exception" warnings 06:43
or we could just make people write "eval '1 div 0'" if they mean that 06:44
geekosaur plus.google.com/u/0/10220845651992...ZsZ6mvA4T6
06:48 dayangkun joined
TimToady or just 1 div ($*PID - $*PID) or so 06:53
hulu geekosaur: why my $t = Net::Twitter->new() use -> why not . 06:54
geekosaur er? perl6 doesn't use -> that way any more
TimToady hulu, you must be looking at some Perl 5 code 06:55
hulu github.com/perl6/perl6-examples/bl...ter2irc.pl
look at 72 row
TimToady yes, that is Perl 5 coe
*code
geekosaur why use a 2-character operator for something common? so concatenation was moved to ~ and . was reclaimed for method calls
geekosaur running a bit behind, still loading... 06:56
I don';t think we have POE on perl 6 yet :)
so that's plain old perl5 code 06:57
diakopter r: my \foo 06:58
p6eval rakudo 9ec0a5: OUTPUT«===SORRY!===␤Method 'ast' not found for invocant of class 'NQPMu'␤»
diakopter _._.
hulu TimToady geekosaur : thex 07:00
TimToady geekosaur : thx
TimToady hulu: as a linguist, I am wondering what your native language is 07:01
hulu chinese
TimToady cool
hulu my english is poor
thx a lot 07:02
TimToady well, happy new year in a few days
hulu yes chunjie
TimToady you should speak 中文 with masak when he is on 07:03
hulu 你好 masak
TimToady 睡着, probably 07:04
or 睡眠 maybe 07:05
hulu 睡觉
TimToady okay, thanks 07:06
谢谢, I should say :)
hulu hehe
TimToady 哈哈 07:08
hulu bye bye 07:09
TimToady only really knows some 日本語...
07:10 hulu left 07:11 user joined
user std: say helo 07:12
p6eval std 7deb9d7: OUTPUT«===SORRY!===␤Undeclared routine:␤ 'helo' used at line 1␤Check failed␤FAILED 00:00 41m␤»
user std: say 'helo'
p6eval std 7deb9d7: OUTPUT«ok 00:00 42m␤»
FROGGS TimToady: short question, if -e '$( 1 )' and -e '"$( 1 )"' bot call circumfix:sym<sigil>($( 1 )), why does -e '/$( 1 )/' calls postcircumfix:sym<( )>(( 1 )) instead?
07:12 user left
FROGGS TimToady: I would expect to see circumfix:sym<sigil> for all three, when running ./viv -e ... for example 07:13
TimToady probably a bug 07:14
FROGGS cool, okay, thanks
diakopter std: \my &my ^my ::my $my /my %my *my @my >my (my ).my =my ::My \MY :=my ::mY (my [My ]).my +my $mY -MY
p6eval std 7deb9d7: OUTPUT«ok 00:00 47m␤»
FROGGS TimToady: maybe I'll supply a fix later today 07:15
diakopter TimToady: ^^
TimToady well, it said it was okay, so what's the problem? :) 07:16
diakopter std: \my &my ^my ::my $my /my %my *my @my >my (my ).my =my ::My \MY :=my ::mY (my [My ]).my +my $mY -MY -my-<my &my >.MY 07:17
p6eval std 7deb9d7: OUTPUT«ok 00:00 48m␤»
TimToady FROGGS: see the note that says: # Note: $() can also parse as contextualizer in an expression; should have same effect 07:19
diakopter rn: \my &my ^my ::my $my /my %my *my @my >my (my ).my =my ::My \MY :=my ::mY (my [My ]).my +my $mY -MY -my-<my &my >.MY
p6eval niecza v24-18-gaf64300: OUTPUT«===SORRY!===␤␤GLOBAL::my does not name any package at /tmp/MdkJT2jnsU line 1:␤------> \my &my ^my ::my⏏ $my /my %my *my @my >my (my ).my =my ::␤␤A type must be provided at /tmp/MdkJT2jnsU line 1:␤------> \my &my ^m…
..rakudo 9ec0a5: OUTPUT«===SORRY!===␤Cannot type check against type variable my␤»
TimToady it's possible we should do it all through <variable>, and throw out the circumfix versions
rather than having two code paths 07:20
07:21 dayangkun left 07:25 quester joined
FROGGS TimToady: that sounds reasonable, will try to do that in STD and nom 07:27
07:27 FROGGS left
diakopter std: \my &my ^my ::my $my /my %my *my @my >my (my ).my =my ::My \MY :=my ::mY (my [My ]).my +my $mY -MY -my-<my &my >.MY ^^My +&MY |mY <MY ??My !!mY Z?@my += My &&MY ,mY ;MY 07:30
p6eval std 7deb9d7: OUTPUT«ok 00:01 49m␤»
diakopter no clue what (my ) means 07:32
can't fit a single colon 07:36
07:43 dayangkun joined
moritz std: my: 42 07:47
p6eval std 7deb9d7: OUTPUT«ok 00:00 41m␤»
moritz diakopter: as a label :-)
std: :my
p6eval std 7deb9d7: OUTPUT«ok 00:00 41m␤»
moritz or as a colonpair 07:48
diakopter oh heh
I guess I could've tried
instead of merely imagining with my solid lack of Perl 6 knowledge
:) 07:49
moritz std: /:my $ = :my;/
p6eval std 7deb9d7: OUTPUT«ok 00:00 43m␤»
07:50 dayangkun left 07:55 balders_dod left 08:02 [pp]sromanov left 08:06 baest_ is now known as baest 08:07 brrt joined 08:09 FROGGS joined 08:13 erkan left 08:23 domidumont joined 08:34 hoelzro|away is now known as hoelzro 08:41 dayangkun joined 08:42 quester left 08:44 domidumont left, domidumont joined 08:50 lizmat left 08:52 Liz joined 08:53 Liz is now known as Guest94713 09:00 dayangkun left 09:04 erkan joined, erkan left, erkan joined
hoelzro morning #perl6 09:06
sjn o/ 09:11
09:11 Guest94713 is now known as lizmat 09:13 dayangkun joined 09:19 dakkar joined 09:30 hulu joined
hulu helo mazak 09:31
helo masak
09:34 fhelmberger joined
moritz \o 09:36
FROGGS o/ 09:39
09:44 Psyche^ joined 09:48 Patterner left, Psyche^ is now known as Patterner
jnthn morning o/ 10:00
diakopter o/
FROGGS hi all you happy perl 6 people :o) 10:01
jnthn TimToady: Maybe you could spec or define the partial binding in some more detail. Every time I've thought about it, it seems that it leads to making an already complex bit of code on a hot path even more complex (the binder), and is likely to make performance of map worse. 10:03
brrt is sorry to have missed part of that discussiong 10:05
jnthn TimToady: Things like, if you're doing this kind of bind, can we say you're only allowed to have a signature with positional things and no named things? Does a non-matched type check on an optional parameter cause a bind failure, or just to stop swallowing elements? etc.
10:05 cognominal joined 10:06 hypolin left
jnthn TimToady: And also how it looks. Maybe the answer is that it doesn't tell you how much it ate but just calls munch BUT that means we can't do the "we munched a vlaue but didn't meet they type constraint" thing as there's probably not a way to un-munch... 10:06
10:09 anuby left 10:10 cognominal left 10:11 risou left, yeltzooo left, masak left, odoacre left, TimToady left, prammer left, patspam left, jtpalmer left
jnthn [Coke]: The error you got looks like a very new NQP used with a less-new Rakudo 10:11
10:14 risou joined, yeltzooo joined, masak joined, odoacre joined, TimToady joined, prammer joined, patspam joined, jtpalmer joined
masak good forenoon, #perl6 10:14
diakopter masak: hoydw 10:15
masak lleoh.
diakopter is there a tool to search a whole git history for source code snippets? 10:16
brrt hi masak
moritz diakopter: I usually just do a git log -p and then use less' search
masak diakopter: I would... what moritz said. :) 10:17
diakopter: theoretically, you should also be able to filter out all blobs, and then list their contents.
by the way, "humanoids at the daycare facility" would make a great name for a rock band. 10:19
diakopter yikes, 30MB 10:22
dalek rakudo/constant-folding: 92c30bc | moritz++ | src/core/terms.pm: 10:23
rakudo/constant-folding: reverse order of <perl vendor site> dirs in @*INC
rakudo/constant-folding:
rakudo/constant-folding: we do not have to repeat all of the mistakes Perl 5 has made.
rakudo/constant-folding: nwc10++
10:23 dalek left
moritz that's the branch nom -> constant-folding merge 10:23
10:23 dalek joined, ChanServ sets mode: +v dalek
moritz you might be interested in github.com/rakudo/rakudo/commit/14...1bc72f710a 10:25
:-)
masak hulu: 你好 :) 10:26
diakopter moritz: I'll see your say and raise you a printf 10:27
jnthn moritz: oooh :)
moritz++
diakopter moritz: could you do?: if try { stuff; 1 } { $*W.add_object($ret_value); etc.} 10:31
nqp: say((try { die }).HOW) 10:32
p6eval nqp: OUTPUT«get_string() not implemented in class 'NQPClassHOW'␤current instr.: '' pc 825 (src/stage2/gen/NQPCORE.setting.pir:376) (src/stage2/NQPCORE.setting:404)␤»
diakopter nqp: say((try { die }).WHAT)
p6eval nqp: OUTPUT«␤»
diakopter hmm 10:33
masak: a few fun possible bugs in teh backlog
jnthn nqp doesn't do a Str/gist distinction so .WHAT will produce the empty string. 10:34
diakopter nqp: say((try { die }) ?? "success" !! "fail")
jnthn I'm not planning to change that.
p6eval nqp: OUTPUT«fail␤»
diakopter ... did I suggest you change it? 10:35
jnthn diakopter: Well, reporting a bug would suggest you expect it to ;-)
nwc10 the docs might need to change? 10:36
diakopter what made you think I was reporting a bug?
jnthn diakopter: Well, you suggested masak submit some. I was more writing it for his consideration than yours.
diakopter "masak: a few fun possible bugs in teh backlog" was referring to the backlog. when masak wasn't here.
jnthn diakopter: oh.
diakopter: I'm...not sure I was gonna figure that given the immediate context :) 10:37
diakopter ok, sry
masak I skimmed the backlog, but didn't find any fun bugs. 10:39
maybe I'll look again.
diakopter r: my \foo 10:40
p6eval rakudo 9ec0a5: OUTPUT«===SORRY!===␤Method 'ast' not found for invocant of class 'NQPMu'␤»
moritz jnthn: what do you think about merging the constant folding stuff?