»ö« 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. |
|||
00:01
samlt left
00:12
HarryS left
00:13
HarryS joined
00:26
icwiener_ left
00:33
vlixes left
00:48
bluescreen10 left
01:06
cognominal_ left,
cognominal joined
01:08
cognominal left
01:09
cognominal joined
01:41
mucker left
01:43
xinming left
01:44
xinming joined
01:48
leprevost joined
02:04
fridim_ joined
02:36
orafu left
02:37
orafu joined
02:43
cognominal left
02:44
cognominal joined
03:12
fridim_ left
03:15
erkan left
03:47
tokuhiro_ joined
03:54
tokuhiro_ left
03:55
thelazydeveloper left
03:56
araujo left
03:57
jaldhar_ joined
03:59
kaare_ joined
04:07
thou joined
04:32
thou_ joined,
thou left
04:42
sisar joined
04:45
leprevost left
04:50
thou_ left
04:53
thou joined
04:57
thou_ joined,
thou left
05:05
thou joined,
thou_ left
05:09
thou left,
thou joined
05:25
[particle] joined
05:48
glitchmr joined
|
|||
thou | > ([3, 4, 5] Z 'a')[0] ~~ Pair | 05:50 | |
False | |||
? | 05:51 | ||
flattening, i think i need to remind myself about this... | 05:53 | ||
05:53
wamiks joined
05:55
glitchmr is now known as GlitchMr
|
|||
GlitchMr | eval: ([3, 4, 5] Z 'a')[0].WHAT | 05:55 | |
buubot_backup | GlitchMr: ERROR: syntax error at (eval 20) line 1, near "] Z " | ||
GlitchMr | perl6: ([3, 4, 5] Z 'a')[0].WHAT | ||
p6eval | rakudo 74e183, niecza v19-13-g442e075: ( no output ) | ||
GlitchMr | perl6: print ([3, 4, 5] Z 'a')[0].WHAT | ||
p6eval | niecza v19-13-g442e075: ( no output ) | ||
..rakudo 74e183: OUTPUT«use of uninitialized variable $v of type Parcel in string context in block <anon> at /tmp/2_umBiTVBH:1» | |||
GlitchMr | perl6: print ([3, 4, 5] Z 'a').perl | ||
thou | rakudo: say [(3, 4, 5) Z ('a'..*)].perl | 05:56 | |
p6eval | niecza v19-13-g442e075: OUTPUT«([3, 4, 5], "a").list» | ||
..rakudo 74e183: OUTPUT«((3, "a"),).list» | |||
rakudo 74e183: OUTPUT«[3, "a", 4, "b", 5, "c"]» | |||
thou | rakudo: say ((3 4, 5) Z ('a'..*)).perl | 05:57 | |
p6eval | rakudo 74e183: OUTPUT«===SORRY!===Unable to parse postcircumfix:sym<( )>, couldn't find final ')' at line 2, near "(3 4, 5) Z"» | ||
thou | rakudo: say ((3, 4, 5) Z ('a'..*)).perl | ||
p6eval | rakudo 74e183: OUTPUT«((3, "a"), (4, "b"), (5, "c")).list» | ||
thou | rakudo: say ((3, 4, 5) Z ('a'..*))[0] ~~ Pair | 05:58 | |
p6eval | rakudo 74e183: OUTPUT«False» | ||
GlitchMr | perl6: say ((3, 4, 5) Z ('a'..*))[0].perl | ||
p6eval | rakudo 74e183, niecza v19-13-g442e075: OUTPUT«(3, "a")» | ||
thou | rakudo: say ((3, 4, 5) Z ('a'..*))[0].WHAT | ||
p6eval | rakudo 74e183: OUTPUT«Parcel()» | ||
thou | where did my Pair go? :-) | 05:59 | |
GlitchMr | perl6: print ([3, 4, 5] Z 'a'..*) ~~ List | ||
p6eval | rakudo 74e183, niecza v19-13-g442e075: OUTPUT«True» | ||
GlitchMr | class Parcel is Cool does Positional { } | ||
class List is Iterable does Positional { .. } | |||
It's not this same thing | |||
thou | rakudo: say ((3,4,5) Z 'a') ~~ Pair | ||
p6eval | rakudo 74e183: OUTPUT«False» | ||
thou | gah | 06:00 | |
GlitchMr | perl6: print (1, 2, 3).WHAt | ||
p6eval | rakudo 74e183: OUTPUT«No such method 'WHAt' for invocant of type 'Parcel' in block <anon> at /tmp/e02kIv5Nbz:1» | ||
..niecza v19-13-g442e075: OUTPUT«Unhandled exception: Unable to resolve method WHAt in type Parcel at /tmp/SvW3UVRaXJ line 1 (mainline @ 3)  at /home/p6eval/niecza/lib/CORE.setting line 3918 (ANON @ 3)  at /home/p6eval/niecza/lib/CORE.setting line 3919 (module-CORE @ 562)  at /hom… | |||
GlitchMr | perl6: print (1, 2, 3).WHAT | ||
p6eval | niecza v19-13-g442e075: ( no output ) | ||
..rakudo 74e183: OUTPUT«use of uninitialized variable $v of type Parcel in string context in block <anon> at /tmp/c4v6r0M9BQ:1» | |||
GlitchMr | perl6: print [1, 2, 3].WHAT | ||
p6eval | rakudo 74e183: OUTPUT«use of uninitialized variable $v of type Array in string context in block <anon> at /tmp/kfgKA4svPz:1» | ||
..niecza v19-13-g442e075: ( no output ) | |||
thou | IT NEVER WAS THERE | ||
GlitchMr | perl6: print [1, 2, 3] ~~ List | ||
p6eval | rakudo 74e183, niecza v19-13-g442e075: OUTPUT«True» | ||
GlitchMr | [1, 2, 3] is List, but (1, 2, 3) isn't | 06:01 | |
If you want array-like object, use Positional | |||
thou | Z makes a list of lists, not a list of pairs | ||
erm, list of parcels, rather | 06:02 | ||
but, yeah, thanks for that advice. unfortunately at the moment i don't have a specific need for this, i was just trying to figure out how it works. | 06:03 | ||
GlitchMr | (a => "b") is Pair, {a => "b"} is Hash, ("a", "b") is Parcel, ["a" => "b"] is Array | 06:04 | |
(a => "b") is Pair, {a => "b"} is Hash, ("a", "b") is Parcel, ["a", "b"] is Array | 06:05 | ||
thou | rakudo: my $foo = (1..5 Z 'a'..* Z 'A'..*); say $foo.perl; | 06:08 | |
p6eval | rakudo 74e183: OUTPUT«((1, "a", "A"), (2, "b", "B"), (3, "c", "C"), (4, "d", "D"), (5, "e", "E")).list.item» | ||
thou | what does .item do? | 06:09 | |
GlitchMr | I don't know and I don't see it in documentation. I guess it's documentation error | 06:10 | |
thou | S04 says "# $c.item produces Seq((1,10),(2,20)) -- coerced to Seq of unresolved Parcels" | ||
GlitchMr | I think it's useful with generators to get full list | 06:11 | |
perl6: say (gather for ^7 { take 2, 3 }).list.perl | 06:12 | ||
p6eval | niecza v19-13-g442e075: OUTPUT«(2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3).list» | ||
..rakudo 74e183: OUTPUT«((2, 3), (2, 3), (2, 3), (2, 3), (2, 3), (2, 3), (2, 3)).list» | |||
GlitchMr | I've feeling it's niecza bug | ||
(not like you usally need to get full list with generators) | 06:14 | ||
thou | S02 has quite a bit of stuff about item context, mentions $@a is the same as item @a. perhaps a docs bug: | 06:15 | |
rakudo: my @a = 1..5; say (@a).perl; say (item @a).perl; say ($@a).perl; | |||
p6eval | rakudo 74e183: OUTPUT«===SORRY!===Invalid hard reference syntax at line 2, near "@a).perl;"» | ||
thou | rakudo: my @a = 1..5; say (@a).perl; say (item @a).perl; | ||
p6eval | rakudo 74e183: OUTPUT«Array.new(1, 2, 3, 4, 5)Array.new(1, 2, 3, 4, 5)» | ||
thou | odd, my rakudo says "[1, 2, 3, 4, 5]" for (item @a).perl | 06:17 | |
GlitchMr | niecza: my @a = 1..5; say (@a).perl; say (item @a).perl; | 06:18 | |
p6eval | niecza v19-13-g442e075: OUTPUT«[1, 2, 3, 4, 5].list[1, 2, 3, 4, 5]» | ||
thou | perhaps i will stop tinkering with minutiae | ||
(for now :-)) | 06:20 | ||
06:55
thou left
07:10
[particle]1 joined
07:14
[particle] left
07:17
GlitchMr left
07:41
[particle] joined
07:44
[particle]1 left
07:59
araujo joined,
araujo left,
araujo joined
08:11
sisar left
08:46
snearch joined
|
|||
moritz | \o | 08:53 | |
08:58
benabik_ joined
09:02
benabik left,
benabik_ is now known as benabik
09:08
MayDaniel joined
09:19
araujo left,
araujo joined
09:35
tokuhiro_ joined
09:42
[particle]1 joined
09:44
[particle] left
|
|||
tadzik | Files=682, Tests=17054, 1775 wallclock secs | 10:14 | |
(rakudo on toqast) | 10:15 | ||
10:24
Patterner left
10:25
Psyche^ joined,
Psyche^ is now known as Patterner
10:26
sisar joined
11:01
[particle]1 left
|
|||
jnthn | tadzik: That's more than I get. I think that must mean a bunch of tests marked #icu are passing again too :) | 11:03 | |
11:07
snearch left
11:15
thelazydeveloper joined
|
|||
tadzik | probly ;) | 11:31 | |
11:33
erkan joined
|
|||
dalek | kudo/toqast: 8700bce | jnthn++ | src/QPerl6/Actions.pm: Fix loop code-gen. |
11:34 | |
kudo/toqast: 8c9c94b | jnthn++ | src/QPerl6/Actions.pm: Largely get Whatever currying to work again. |
|||
11:34
Coleoid2 joined
11:35
Coleoid left
|
|||
jnthn | There's another 600. :) | 11:35 | |
tadzik | hoo | 11:36 | |
11:36
Chillance joined
|
|||
tadzik | on _your_ machine :) | 11:36 | |
11:40
Chillance left
11:41
Chillance joined
11:42
cognominal_ joined
11:45
cognominal left
11:47
Coleoid joined
11:49
Coleoid2 left
11:51
fridim_ joined
12:07
spider-mario joined
12:08
araujo left
12:09
araujo joined,
crab2313 joined
|
|||
dalek | p/toqast: 51fa282 | jnthn++ | src/QAST/Operations.nqp: Implement defor. |
12:21 | |
12:23
lue left
|
|||
dalek | kudo/toqast: 00efc81 | jnthn++ | src/QPerl6/Grammar.pm: def_or => defor. |
12:25 | |
kudo/toqast: 1051dc7 | jnthn++ | src/QPerl6/Actions.pm: A little more PAST to QAST. |
|||
kudo/toqast: d7ecca7 | jnthn++ | src/QPerl6/ (2 files): Get package lookup compilation in better shape. |
|||
kudo/nom: 23d186c | moritz++ | src/core/IO.pm: [IO] implement binary slurp also coerce filename to Str before unboxing. Should avoid the LTA error message reported in RT #114124 |
12:29 | ||
12:35
lue joined
|
|||
dalek | ecs/io-refactor: bee1ba3 | moritz++ | S32-setting-library/IO.pod: fix duplicate type constraints |
12:37 | |
ecs/io-refactor: 8db8fd6 | moritz++ | S32-setting-library/IO.pod: slurp(:createonly) |
|||
12:38
JimmyZ joined
12:42
lue left
|
|||
dalek | ecs: fb68e55 | moritz++ | S (2 files): [IO] start IO refactoring with an overview over the new design The rest of S32::IO still reeks of over-engineering |
12:45 | |
12:46
dalek joined,
ChanServ sets mode: +v dalek
|
|||
dalek | ast: e30db6b | moritz++ | TODO: [TODO] remove lots of outdated stuff also add a TODO for testing slurp($filename, :bin) |
12:47 | |
moritz | phenny: tell Coleoid I've added an up-to-date item to roast/TODO | ||
phenny | moritz: I'll pass that on when Coleoid is around. | ||
dalek | kudo/nom: 55cf00a | moritz++ | docs/ChangeLog: [docs/ChangeLog] &spurt, &slurp with :bin |
12:55 | |
p/toqast: 30ab35b | jnthn++ | src/QAST/Compiler.nqp: Set block name. |
|||
12:56
lue joined
|
|||
dalek | kudo/nom: ee86a54 | moritz++ | src/core/IO.pm: [IO] spurt :new is now :createonly |
12:58 | |
cognominal_ | I have the following code @res.push: .map: { .key => recurse .value } What I need to do for the {…} to be interpreted as code instead of a hash? | 12:59 | |
13:02
mucker joined,
mucker left
13:03
mucker joined,
JimmyZ left
13:04
JimmyZ joined
|
|||
tadzik | add a ; at the beginning :) | 13:04 | |
{ ; foo => bar } | |||
13:05
leprevost joined
|
|||
dalek | ast: 9336c1c | moritz++ | TODO: more TODOs: &spurt |
13:06 | |
kudo/toqast: 39bd6cf | jnthn++ | src/QPerl6/Actions.pm: Fix compilation of indirect method calls. |
|||
kudo/toqast: e08c1dd | jnthn++ | src/QPerl6/ (3 files): Fix state, START. |
|||
cognominal_ | tadzik. thx, sometimes I miss the easy stuff | 13:08 | |
13:12
lue left
13:16
mtk left
13:17
localhost left
13:18
localhost joined
13:24
mtk joined
13:27
lue joined
13:28
tokuhiro_ left,
tokuhiro_ joined
|
|||
moritz | Files=682, Tests=18362, 513 wallclock secs ( 4.78 usr 3.02 sys + 1631.13 cusr 190.84 csys = 1829.77 CPU) # on toqast | 13:32 | |
13:32
lue left
13:33
tokuhiro_ left,
crab2313 left
|
|||
JimmyZ | wow | 13:33 | |
13:35
crab2313 joined
|
|||
moritz | currently warnings are fatal in toqast | 13:38 | |
because the warning printer dies | |||
I guess fixing that would enable quite a few more tests to run | |||
jnthn | Hm, interesting. | 13:40 | |
Example of a test file that exhibits taht? | |||
moritz | ./qperl6 -e '+Any; say "alive"' | ||
though if you do want a test file, t/spec/S02-types/hash.t | 13:41 | ||
use of uninitialized value of type Any in numeric contextNo such method 'message' for invocant of type 'Any' | |||
funny, it did print the warning properly, and died afterwards :-) | |||
jnthn | Odd. It printed alive here. | 13:42 | |
(After the warning.) | |||
Maybe it's one of my local patches. | |||
dalek | kudo/toqast: dda694c | jnthn++ | src/QPerl6/Actions.pm: Fix whatever currying of prefix and postfix ops. |
||
kudo/toqast: cfbb2fc | jnthn++ | src/QPerl6/Actions.pm: Fix quoted private method calls. |
|||
kudo/toqast: ceade33 | jnthn++ | src/QPerl6/ (2 files): Start unbusting various phasers a bit. |
|||
moritz | maybe :-) | ||
no, that wasn't it | 13:44 | ||
(unless you also have unpushed nqp changes) | |||
jnthn | No | 13:45 | |
Hm | |||
moritz | morepypy.blogspot.de/2012/07/hello-everyone.html # anyone want to write perl 6 on pypy? :-) | ||
13:47
lue joined
|
|||
JimmyZ | a new big project! | 13:48 | |
13:49
tokuhiro_ joined
13:51
plobsing left
13:52
lue left
|
|||
dalek | c: 0420300 | moritz++ | lib/EnumMap.pod: start to document EnumMap |
13:54 | |
kudo/toqast: 836b1a3 | jnthn++ | src/QPerl6/ (2 files): First crack at getting the CATCH and CONTROL stuff updated for QAST. Along the right lines, though when/default not done yet, so not so useful. |
14:10 | ||
14:18
tokuhiro_ left
14:19
tokuhiro_ joined
14:23
tokuhiro_ left
14:29
awwaiid left
|
|||
jnthn | afk for a bit | 14:32 | |
14:34
awwaiid joined
14:35
eviltwin_b joined
|
|||
cognominal_ | S02 says that List is a role. In rakudo that's a class. Something is wrong on the internet. | 14:56 | |
15:01
araujo left
15:02
[particle] joined
15:12
GlitchMr joined
|
|||
tadzik | :) | 15:16 | |
15:22
wamiks left
|
|||
masak | o/, #perl6 | 15:24 | |
tadzik | \o masak | ||
15:27
araujo joined,
araujo left,
araujo joined
|
|||
crab2313 | \o | 15:28 | |
15:35
snearch joined,
xinming left
|
|||
jnthn | hi masak | 15:36 | |
flussence | jnthn: take a look at the scrollback ~15h ago, I found something interesting | 15:37 | |
jnthn | flussence: Yes, I noticed that. It's...weird. :S | 15:38 | |
flussence | well... at least it's not that 4-line diff alone that broke it | 15:40 | |
15:43
xinming joined
15:57
lue joined
16:03
JimmyZ left
|
|||
diakopter | r: say 7.114407 / 0.5355681 | 16:07 | |
p6eval | rakudo ee86a5: OUTPUT«13.28385130» | ||
16:11
Teratogen left
|
|||
tadzik | rakudo at 18k tests :) | 16:18 | |
jnthn | tadzik: toqast? | 16:19 | |
tadzik | yep | ||
jnthn | Nice :) | ||
tadzik | yeah :) jnthn++, keep up the good work! | ||
jnthn | I hope to get given/when and other exceptiony bits fixed later today, which should be another little boost. | 16:20 | |
16:42
vmspb joined
16:46
snearch left,
Tango_Sierra joined
|
|||
Tango_Sierra | rakudo: say 1 | 2 * 3 | 4 | 16:47 | |
p6eval | rakudo ee86a5: OUTPUT«any(1, 6, 4)» | ||
Tango_Sierra | perl6: say 1 | 2 * 3 | 4 | ||
p6eval | rakudo ee86a5, niecza v19-13-g442e075: OUTPUT«any(1, 6, 4)» | ||
16:47
PacoAir joined
|
|||
Tango_Sierra | niecza: say 1 | 2 * 3 | 4 | 16:48 | |
p6eval | niecza v19-13-g442e075: OUTPUT«any(1, 6, 4)» | ||
mauke | perl6: say qq{ {2 * 3}} | ||
p6eval | rakudo ee86a5: OUTPUT« 6» | ||
..niecza v19-13-g442e075: OUTPUT« {2 * 3}» | |||
moritz | nieczabug, I think | ||
Tango_Sierra | niecza: say 1|2 * 3|4 | 16:49 | |
p6eval | niecza v19-13-g442e075: OUTPUT«any(1, 6, 4)» | ||
moritz | Tango_Sierra: spaces don't affect precedence. But you can use parens for grouping | ||
Tango_Sierra | I thought I should get 3, 6, 4, 8 or something like that. | ||
mauke | perl6: say (1 | 2) * (3 | 4) | 16:50 | |
p6eval | rakudo ee86a5, niecza v19-13-g442e075: OUTPUT«any(any(3, 4), any(6, 8))» | ||
Tango_Sierra | Yeah, that 'any' thing is what I see, not the actualy results I expect. | ||
Oh! | |||
Hang on, I'll try it locally. | |||
moritz | there's no difference between any(3, 4, 6, 8) and any(any(3, 4), any(6, 8)) | ||
Tango_Sierra | Doh. | ||
All I noticed whas I was getting that 'any' construct instead of an array-looking result. I didn't pay any attention to the fact that the values inside were exactly what should have been there. Again, I say Doh! | 16:51 | ||
moritz | you can get array-like results in other ways: | 16:52 | |
16:52
thou joined
|
|||
Tango_Sierra | Old hand at perl5, trying to pick up perl6. | 16:52 | |
moritz | p6: say (1, 2) X* (4, 5) | ||
p6eval | rakudo ee86a5, niecza v19-13-g442e075: OUTPUT«4 5 8 10» | ||
Tango_Sierra | Ah! Now that's more like what I expected. | ||
moritz | X just makes the carethesian product | 16:53 | |
and X* applies * to the sublists | |||
and that works with other operators too, of course | |||
r: say (1, 2, 3) X+ (10, 20) | |||
p6eval | rakudo ee86a5: OUTPUT«11 21 12 22 13 23» | ||
moritz | r: say (1, 2, 3) X~ (10, 20) # concatenation | 16:54 | |
p6eval | rakudo ee86a5: OUTPUT«110 120 210 220 310 320» | ||
Tango_Sierra | A quick question if you don't mind: What is the meaning of $!variable, versus $variable? | ||
moritz | r: say (1, 2, 3) X** (2, 3) # power | ||
p6eval | rakudo ee86a5: OUTPUT«1 1 4 8 9 27» | ||
16:54
sisar left
|
|||
moritz | Tango_Sierra: $!var is an attribute (ie per-object storage, or field, or however you call it in other languages) | 16:54 | |
what you'd write as $self->{var} in p5 | 16:55 | ||
and $var is just a normal variable | |||
17:09
spaceships left
17:13
spaceships joined
17:18
Tango_Sierra left
|
|||
thou | masak: why is it $m instead of $^m in: my %commands = map { $^m.name => params($m) }, $game.^methods; | 17:18 | |
17:21
fridim_ left
|
|||
moritz | thou: $^m declares $m | 17:23 | |
thou | ah, i did not realize that! | ||
moritz | thou: the reason is that it allows you to the form with the twigil in a sub-scope | ||
if you write something like | 17:24 | ||
map { $^m.name => params({$^m + 2 }) } | |||
then the second $^m would be a parameter to the inner block, not the same as the one in the outer block | |||
thou | mmmh | 17:25 | |
thank you, moritz++ | |||
moritz | but in the case you asked about earlier, both ($^m and $m) would work the same | ||
sorear | good * #perl6 | 17:26 | |
moritz | good morning sorear | 17:27 | |
erm, maybe not quite morning :-) | 17:28 | ||
huf | it's always morning in space. the earth is in space. sorear is on earth, i assume. tada :) | ||
thou | it might be good to issue a warning if using { $^m; ...; { $^m }}. I mean, I think that is more likely to be a bug than it is intended behavior | ||
moritz doesn't have data to support or contradict that | 17:30 | ||
thou | unless it's done by some macro | ||
yeah, i don't either | |||
perhaps just my current surprise talking | |||
i would at least say that it seems like bad form, and i'd recommend choosing a different name for clarity :-) | 17:31 | ||
moritz | but usually it's a non-issue, because you only use those placeholder parameters in very small blocks | 17:32 | |
thou | agreed. just another little bit of syntax i needed to know to understand that code. | 17:37 | |
17:40
Chillance left
17:41
Chillance joined
17:43
vmspb left
17:47
thou left
17:55
birdwind1pbird joined
17:59
vlixes joined
18:23
seldon joined
18:29
sergot joined
|
|||
sergot | hi o/ | 18:29 | |
moritz | \o sergot | ||
18:30
PacoAir left
18:34
mucker left
18:36
PacoAir joined
18:37
PacoAir_ joined,
PacoAir left,
PacoAir_ is now known as PacoAir
18:39
PacoAir_ joined,
PacoAir left,
PacoAir_ is now known as PacoAir
18:41
PacoAir_ joined,
PacoAir left,
PacoAir_ is now known as PacoAir
18:42
PacoAir left,
PacoAir joined
|
|||
masak pops back in | 18:43 | ||
thouwhat moritz++ said. my kvetching made it possible to use $m there after using $^m once. my personal rule is "use $^m once, then $m the rest of the time". then I don't have to walk into the trap of inner blocks causing trouble. | 18:44 | ||
thou: what* | |||
and trouble is more easily caused than it may look. a refactor may cause it. add an if block, and you're toast. | 18:45 | ||
moritz | which would be an argument for not using $^m in the first place, but -> $m { ... } | 18:46 | |
18:46
crab2313 left
18:47
PacoAir left
|
|||
masak | right. $^m should be for small bits of code. preferably with just one use of $^m. | 18:49 | |
well, of $^m or $m, I should say. | 18:50 | ||
18:50
leprevost left
18:51
PacoAir joined
18:54
PacoAir_ joined,
PacoAir left,
PacoAir_ left
18:55
PacoAir joined
18:59
PacoAir left
|
|||
masak | rn: class A { method foo { self }; method bar { say "OH HAI" } }; A.new.foo#`[ahahahahah].bar | 19:00 | |
p6eval | niecza v19-13-g442e075: OUTPUT«===SORRY!===Method call found where infix expected (change whitespace?) at /tmp/MO0O5O6dNY line 1:------> ay "OH HAI" } }; A.new.foo#`[ahahahahah]⏏.barParse failed» | ||
..rakudo ee86a5: OUTPUT«===SORRY!===Confusedat /tmp/a_QgmAMkhH:1» | |||
masak | rn: class A { method foo { self }; method bar { say "OH HAI" } }; A.new.foo\#`[ahahahahah].bar | ||
p6eval | rakudo ee86a5, niecza v19-13-g442e075: OUTPUT«OH HAI» | ||
19:04
lue left
19:06
PacoAir joined
19:10
jaldhar_ left,
[particle]1 joined,
PacoAir left,
GlitchMr left
19:12
PacoAir joined
19:13
[particle] left
19:15
sisar joined
19:16
lue joined
19:17
PacoAir left
19:25
moukeddar joined
19:29
PacoAir joined
19:31
PacoAir_ joined,
PacoAir left,
PacoAir_ is now known as PacoAir
19:33
PacoAir left,
PacoAir_ joined
19:35
PacoAir_ left
19:39
adu joined
|
|||
adu | Hi all | 19:39 | |
moritz | hi adu | ||
seldon | o/ | 19:40 | |
19:41
adu left,
adu_ joined
|
|||
adu_ | Maybe it doesn't work so well | 19:42 | |
19:43
adu_ left,
kaare_ left
20:01
fridim_ joined
|
|||
felher | moritz++ #started to document enumMap and mentioning that Hash is mutable :) | 20:03 | |
20:06
vlixes left
20:21
jaldhar_ joined
20:28
vmspb joined
20:29
PacoAir joined
20:30
PacoAir_ joined,
PacoAir left,
PacoAir_ is now known as PacoAir
20:31
Pleiades` left,
PacoAir left
20:32
PacoAir joined
|
|||
masak | general announcement: defining and using your own exception types is le awesome. | 20:33 | |
20:33
PacoAir left
20:34
PacoAir joined
|
|||
[Coke] | welcome to java! | 20:35 | |
20:35
PacoAir left,
PacoAir_ joined
|
|||
flussence | I used to do that in php. It made things a lot less painful in places :) | 20:35 | |
masak | [Coke]: I don't understand that objection, if it even is one. just because it is in Java doesn't mean it isn't kinda nice. | 20:36 | |
[Coke] | ... it's not an objection. | ||
masak | and just because it's there in Perl 6 doesn't mean you should use it for everything. | ||
it's nice for my current use case. | |||
sorry for biting back on something that probably wasn't trolling ;) | 20:37 | ||
moritz | but please, "l'awesome" | ||
mauke | how about "awesome"? | ||
masak | :P | ||
20:37
Pleiades` joined
|
|||
masak | "das awesome". | 20:37 | |
[Coke] | news.perlfoundation.org/2012/07/201...posal.html | 20:38 | |
mauke | "les awesomes" | ||
[Coke] | rjbs's has a list of nice perl5 suggestsions. It would be nice to see a nice list of perl6 suggestions. | ||
er, rjbs++ | |||
20:38
jaldhar_ left
|
|||
moritz has an idea: "make doc.perl6.org awesome" | 20:39 | ||
20:39
PacoAir_ left
20:40
PacoAir joined,
jaldhar_ joined
|
|||
masak | that could likely be made concrete enough, yes. | 20:41 | |
does it mean something beyond "give it a nice CSS"? | |||
moritz | yes | 20:42 | |
1) add the usual navigation links, header, footer etc. | 20:43 | ||
2) proper layout | |||
3) more intelligent link processing (currently all links are relvative, and class names with a :: break, because the browser thinks the piece in front of it is a link schema/protocol) | 20:44 | ||
20:44
PacoAir left,
PacoAir joined,
MayDaniel left
|
|||
moritz | 4) create pages that lists methods from composed roles and superclasses, recursively | 20:44 | |
5) add a search facility | |||
6) more docs, of course | 20:45 | ||
jnthn | +1 | ||
moritz | ok, now we just need a taker :-) | ||
20:45
crab2313 joined
20:46
PacoAir left,
PacoAir joined
20:48
PacoAir_ joined,
PacoAir left,
PacoAir_ is now known as PacoAir
20:50
PacoAir_ joined,
PacoAir left,
PacoAir_ is now known as PacoAir
20:51
birdwind1pbird left,
PacoAir left,
snearch joined
|
|||
dalek | p/toqast: cee5640 | jnthn++ | src/QAST/Operations.nqp: Implement compiling handlers besides CATCH and CONTROL. |
20:56 | |
kudo/toqast: 0d56787 | jnthn++ | src/QPerl6/Actions.pm: First pass at updating 'when' for QAST. |
20:58 | ||
flussence | is there anything in parrot I could turn on to spew some extra debug stuff during an nqp build? I really want to figure this one out. | 21:00 | |
jnthn | flussence: It's not so much extra debug info, but if you can run Parrot with the -G flag on the step that fails, it'll disable GC, which will let us know whether to consider that as a possible issue or not. | 21:04 | |
21:06
Pleiades` left
|
|||
flussence | IT WORKS | 21:07 | |
jnthn | Hmm. | 21:08 | |
And ouch. | |||
But that's a major clue. | |||
flussence | rest of build seems to be proceeding without problems so far... (slowly) | 21:10 | |
I only added the -G on the NQPCORE.setting command. | 21:11 | ||
now it fails on the stage2/NQPCORE command :( | 21:13 | ||
and -G fixes it again | 21:14 | ||
21:15
Pleiades` joined
|
|||
rjbs | [Coke]: Make one! | 21:16 | |
flussence | ok, build finished with those two changes | 21:20 | |
Coleoid | masak: Where does U4X live? use.perl.org is where links point me, but that's static since late 2010, and I guess your journal transcends the static, as it's pure 404... :D | 21:21 | |
phenny | Coleoid: 12:47Z <moritz> tell Coleoid I've added an up-to-date item to roast/TODO | ||
Coleoid | moritz++: Thanks for the Roast TODOs! | 21:22 | |
masak | Coleoid: I could point you to it, but there's not much there. moritz++' recent effort supersedes u4x. | 21:26 | |
lol, I blough! \o/ strangelyconsistent.org/blog/july-1...e-revealed | |||
21:27
Pleiades` left
|
|||
Coleoid | masak: Will the on_try_exit and on_examine be caught or lost by your event-replay save scheme? | 21:28 | |
dalek | kudo/toqast: e506623 | jnthn++ | src/QPerl6/ (2 files): Update closure clone fixup code-gen. |
21:29 | |
masak | Coleoid: right now they're lost. I'm currently mulling. | 21:30 | |
Coleoid | I've wanted to see the nitty-gritty of an event-stream replay/undo in development for a while now. | 21:31 | |
I look forward to the outcome of the mullery. | 21:32 | ||
masak | yeah. it's possibly a real issue in the system. | ||
events are made to be serializable, so they can't easily contain code objects. | 21:33 | ||
Coleoid | Ooh. | ||
masak | this isn't really a problem in my current system, though. it would be if I ever wanted to save to file. | 21:34 | |
21:41
Pleiades` joined
21:52
prettyrobots joined
21:53
spider-mario left
|
|||
dalek | kudo/toqast: 25b9f19 | jnthn++ | src/QPerl6/Actions.pm: Get module compilation/export essentially working again. |
21:58 | |
kudo/toqast: cec243e | jnthn++ | src/QPerl6/Actions.pm: Guard against failures like type checking against type variables. |
|||
22:03
spider-mario joined
22:05
moukeddar left
22:07
vmspb left
22:08
dovahkiin joined,
dovahkiin left
|
|||
dalek | kudo/toqast: 85cdbc8 | jnthn++ | src/QPerl6/World.pm: Eliminate the final mentions of viviself. |
22:12 | |
22:16
thelazydeveloper left
22:27
edit_21 joined
22:34
thelazydeveloper joined
22:39
snearch left
|
|||
masak | 'night, #perl6 | 22:43 | |
22:57
PacoAir joined
23:03
Khisanth left
23:12
Pleiades` left
23:17
Khisanth joined
23:19
Pleiades` joined
23:55
Pleiades` left
23:56
crab2313 left
|