»ö« 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:10
Rotwang joined
00:11
donri left
00:18
Moukeddar_ joined
00:22
Moukeddar left
00:29
Rotwang left
00:55
Moukeddar_ left
00:58
cdarroch left
01:07
rublind joined,
whiteknight joined
01:08
rublind left
|
|||
Tene | Anyone here know anyone looking for work? | 01:37 | |
01:39
rdesfo left
02:05
whiteknight left
02:07
lichtkind left
02:11
alester joined
02:13
Chillance left
|
|||
perigrin | Tene: autarch is looking for work | 02:14 | |
02:25
envi joined
02:54
leprevost joined
03:06
bacek left
03:07
bacek joined
|
|||
aesop | Tene: what kind | 03:07 | |
03:09
risou joined
|
|||
Tene | aesop: linux sysadmin, lots of automation written in perl | 03:09 | |
aesop | full time? | 03:10 | |
Tene | Yes. | ||
aesop | argh | 03:11 | |
i've been looking for something to do on the side | |||
Tene | although, we're getting pretty desperate, so we're trying to consider how to expand our candidate pool. They've had bad experiences with telecommuting before, but I'm trying to talk them into it, as it's not going to be worse than staying understaffed. :P | 03:12 | |
I hadn't heard anyone suggest part-time contracts, though. | 03:13 | ||
I'll bring it up. | |||
aesop | yea, if the scheduling for the position changes ping me in here, i might be available for it | 03:14 | |
03:21
jaldhar joined
03:23
Su-Shee_ joined
03:27
Su-Shee left
03:42
ruben1194navarr1 joined
03:45
ruben1194navarro left
03:59
hudnix left
04:04
leprevost left
04:19
orafu left
04:22
orafu joined
04:35
xinming left,
xinming joined
04:41
risou left,
risou joined
04:44
ruben1194navarro joined,
newtonrunz joined
04:46
ruben1194navarr1 left
04:48
risou_ joined
04:50
bacek left
04:51
risou left
05:01
alester left
05:11
coldhead left
05:13
risou_ left
05:15
Khisanth left
05:19
justatheory left
05:29
Khisanth joined
05:41
risou joined
05:42
Enzo joined
05:47
ruben1194navarr1 joined
05:50
ruben1194navarro left,
risou left
05:53
risou joined
05:54
molaf__ left
06:16
masak joined
|
|||
masak | lol hi from a train | 06:16 | |
sorear | how does that work? satellites? | 06:17 | |
broadband over third rail? :) | |||
masak | :P | ||
i have a little Huawei device that I plug in, like almost everyone nowadays. | 06:18 | ||
the little Huawei device... I don't know what it communicates with. but probably ordinary ground stations. | |||
I think it's slightly uncanny, because I plug it in right next to my left hand, and it emits a very faint but detectable heat field. | 06:19 | ||
sorear | like radiative/convective heating, or like your hand is absorbing the transmitter radiation? | 06:21 | |
masak | the former. | ||
06:25
coldhead joined,
masak left
06:29
risou left
06:36
jaldhar left,
jaldhar joined
06:39
ruben1194navarr1 left
06:40
masak joined
|
|||
masak | bah, tunnels. | 06:40 | |
06:40
Helios` left
06:41
Helios` joined
06:42
donri joined
|
|||
lestrrat | hmm, not quite getting how p6 handles parameters. sometime I get [ ( ... ) ] instead of [ ... ] (1 element seq of seq, insead of the entire seq) when I pass arguments to my object constructor. | 06:44 | |
is there a general guideline for passing around parameters sot that they DWIM ? | |||
not quite groking the conversion... | 06:45 | ||
masak | lestrrat: I recognize what you're describing. | 06:46 | |
lestrrat: it all comes down to signature binding being... binding. | |||
06:46
birdwindupbird joined
|
|||
lestrrat | I guess if I'm writing my own sub, I can just do stuff like *@list or whatever, but how do you handle it when you're passing stuff to your constructor? | 06:47 | |
in simple case, this worked for me : class Foo { @.list }; Foo.new( list => (...) ) | 06:48 | ||
but then I started making object factories, and things started getting hairy. | |||
say, Factory.create_foo( args_for_foo1 => { list => (...) } ) | |||
I then tried iterating for @.list -> $v, and $v contains the entire list instead of the listing being initialized with the values | 06:49 | ||
I might be approaching this too P5-ish, but ... just not groking it :) | |||
masak | I think you're doing fine. | 06:50 | |
at this point, a gist from you with a minimal piece of code would help me. | |||
lestrrat | yeah I know. I wrote a rather long hairy piece of code, so I'm having problems extracting a minimal case :) | 06:51 | |
will try though. | |||
masak | it's usually possible. | ||
lestrrat | masak: gist.github.com/938427 | 06:56 | |
06:57
masak left,
masak joined
|
|||
lestrrat | masak: gist.github.com/938427 (repost just in case) | 06:58 | |
afk | 07:01 | ||
07:02
mj41 joined
07:04
masak left
|
|||
lestrrat | man, damn the train :) | 07:05 | |
07:06
nymacro joined
07:11
bacek joined
07:23
envi left
07:24
envi joined
07:35
masak joined
|
|||
masak | lestrrat: I think your expectation is a very reasonable one. | 07:36 | |
partly because I'm sometimes bitten by this one myself :) | |||
lestrrat: here's my previous take on it: rt.perl.org/rt3/Ticket/Display.html?id=67872 | 07:38 | ||
no, wait. that one was resolved. | |||
hm. it's not this one either. | 07:39 | ||
rt.perl.org/rt3/Ticket/Display.html?id=76242 | |||
I know there was a spec change involved. maybe I can find it that way. | 07:40 | ||
it was around March last year, because I was discussing this in the car with jnthn and mberends while jnthn was moving house. | 07:41 | ||
07:43
coldhead left
|
|||
masak | ah. here is the spec commit: github.com/perl6/specs/commit/7420...c13774c18d | 07:45 | |
07:48
Axius joined
|
|||
lestrrat | does that mean you need to bind the parameters via ref binding in order to achieve what I'm trying to do? | 07:49 | |
07:50
Su-Shee_ is now known as Su-Shee
07:52
masak left
07:54
Axius left
|
|||
moritz | you can try @.list.list | 07:59 | |
not sure if it helps, or if it is what you want | |||
I find the behavior weird too | |||
08:25
pmurias joined
08:31
mj41 left
08:53
mj41 joined
08:59
mj41 left
09:03
yegor joined
09:10
yegor left
|
|||
dalek | ecza: 90a60f5 | pmurias++ | hoopl/.gitignore: [hoopl] added .gitignore |
09:18 | |
ecza: 4db171f | pmurias++ | hoopl/ (5 files): [hoopl] simple-test/if.t is converted to Op |
|||
lestrrat | hmm, I can't really find a way to do what I want other than creating a BUILD that flattens the incoming list | 09:39 | |
09:52
IllvilJa left
10:07
woosley joined
10:15
bacek left
10:21
mj41 joined
10:25
dorlamm joined
10:39
f00li5h left,
MayDaniel joined
10:46
Axius joined
10:47
dorlamm left
10:55
f00li5h joined,
bacek joined
10:56
bacek left,
bacek joined
11:01
Bucciarati joined
11:03
donri left
11:06
yegor joined
11:09
MayDaniel left
11:15
Axius left
11:17
whiteknight joined
11:19
icwiener joined,
icwiener left,
icwiener joined
|
|||
jnthn | afternoon, #pelr6 | 11:26 | |
...oops :) | |||
Juerd | Is that the secret channel? :) | 11:27 | |
jnthn | ;) | 11:28 | |
11:39
hudnix joined
11:41
mj41 left
11:46
tewk joined
11:47
Solarion left,
Solarion joined
11:55
Patterner left
11:57
Psyche^ joined,
Psyche^ is now known as Patterner
12:18
pmurias left
12:19
Bzek left,
risou joined,
bacek left
12:27
Chillance joined
12:45
am0c joined
12:53
MayDaniel joined
13:02
birdwindupbird left
13:19
risou_ joined
13:22
risou left
13:39
skangas_ joined
13:40
Tedd1 left
13:41
Tedd1 joined,
skangas left,
skangas_ is now known as skangas
13:51
whiteknight left
13:58
Helios` left
14:00
Helios` joined
14:11
woosley left
14:17
MayDaniel left
14:22
risou joined,
JimmyZ joined
14:23
risou_ left
|
|||
JimmyZ | good evening, #perl6 | 14:23 | |
moritz | \o | 14:24 | |
14:44
am0c left
14:50
krakan joined
14:56
krakan left
14:57
am0c joined
14:58
isBEKaml joined
|
|||
isBEKaml | good *, #perl6! | 14:59 | |
sjn | heh | 15:08 | |
I actually read that as "good Whatever" | 15:09 | ||
sjn is obviously damaged already | |||
isBEKaml | sjn: * holds your boat. :) | ||
sjn | meh, * | 15:10 | |
:) | |||
sjn wonders if there's a "meh" operator or method, and what it would do | |||
maybe "meh" would just be an alias for "Whatever"? :) | 15:11 | ||
isBEKaml | you could add that to ouch.pm, yeah. :) | ||
15:18
JimmyZ left
15:19
JimmyZ joined
|
|||
sorear | \o/ I started a meme | 15:20 | |
isBEKaml | sorear: \\o | 15:21 | |
15:22
justatheory joined
15:23
risou_ joined
15:25
Helios` left,
risou left
15:26
Helios` joined
15:28
birdwindupbird joined
15:29
JimmyZ left
|
|||
moritz | sjn: I think 'good *' was actually meant as 'good Whatever', given that people have different timezones, so wishing a good morning would be off in most parts of the world | 15:30 | |
isBEKaml | mostly like good localtime() used by moritz++ . :) | 15:31 | |
however, people in eastern timezones have it easy - they just have to wish "good evening" and chances are, they'd not be far off the mark. unless you count alaska. :) | 15:34 | ||
moritz | or you can answer with the canonical "it's always morrning somewhere" - still I like 'good *' :-) | 15:39 | |
sorear | I did start that one, right? | 15:40 | |
15:41
krakan joined
|
|||
moritz | sorear: yes | 15:41 | |
isBEKaml | irc and timezones remind me of a certain blog I read. It talked about introducing new devs into their projects by organiziing a build-it conference or something. It included GNOME Vidalia team too, I think. | 15:42 | |
ah, here it is: blog.lydiapintscher.de/2011/04/18/h...by-asking/ | 15:45 | ||
16:10
fglock joined
16:25
pmurias_ joined
16:26
pmurias_ left,
pmurias joined
|
|||
pmurias | fglock: hi | 16:26 | |
fglock | pmurias: hi | 16:27 | |
pmurias | fglock: how's perlito doing? | ||
fglock | I've released version 7.0 - I think it looks ok :) | 16:28 | |
pmurias | do you use it for anything? | 16:29 | |
fglock: it's released as v6 on CPAN? | 16:30 | ||
fglock | nferraz is trying to use it for programming an app in the iPhone, but I don't use it myself | ||
yes - v6.pm in cpan | |||
I've used your code to make it more generic | |||
so it can also use other backends | |||
pmurias | fglock: he is using the js backend? | 16:31 | |
fglock | yes, with Titanium | ||
www.appcelerator.com/products/titan...velopment/ | 16:32 | ||
pmurias | fglock: will you be at YAPC::EU? | 16:36 | |
fglock | hmm - probably not, but I haven't decided yet | 16:38 | |
are you going? | 16:39 | ||
pmurias | yes | 16:41 | |
fglock: you now live in the Netherlands? | 16:51 | ||
fglock | yes, I'm in Amsterdam | 16:53 | |
moritz | at booking.com? | ||
fglock | yes | ||
moritz wonders if there any perl hackers in Amsterdam *not* working for booking :-) | |||
fglock | yes, there are :) | ||
16:59
Vlavv_ joined
17:03
Vlavv left
|
|||
sorear | WOAH! | 17:09 | |
fglock \o/ | |||
17:10
hudnix left
|
|||
tadzik | fglock: working with Bruno? | 17:10 | |
fglock | tadzik: yes | 17:12 | |
sorear: hi | |||
17:13
Axius joined
17:14
mj41 joined
|
|||
fglock | sorear: somebody asked me about Perl 6 for the Windows phone, I've pointed out to Niecza | 17:18 | |
sorear | Perl 6 exists offline now? | ||
fglock | offline? | ||
17:19
Axius left
|
|||
sorear | outside #perl6 / perl.org ezmlm | 17:19 | |
fglock | heh - yes, it does | ||
many people can't stay online, I guess | 17:20 | ||
17:29
isBEKaml left
|
|||
dalek | rixel: db6b67f | diakopter++ | / (7 files): add simple scalar variable interpolation into string literals; add modulus operator |
17:31 | |
17:32
risou_ left
|
|||
dalek | rixel: c73fd92 | diakopter++ | sprixel/src/ (3 files): interpolate only in double-quoted strings |
17:42 | |
fglock | hmm - the compiler in Perlito is now 5 years old | 17:49 | |
it is based on lrep, which started about february or march 2006 | |||
pmurias remembers lrep | 17:52 | ||
sorear | lrep? | ||
pmurias | it was used to bootstrap mp5 | ||
* mp6 | |||
mp6 then evolved into kp6 (which died) and perlito (which lives on) | 17:53 | ||
sorear is very new here | 17:58 | ||
18:08
birdwindupbird left
|
|||
dalek | p/ctmo: d59b19a | jonathan++ | src/ (3 files): Pass along current view of $*GLOBALish to module loader. Needs to be optional param now until we take another trip around the bootstrapper. |
18:10 | |
p/ctmo: 22efd68 | jonathan++ | src/stage0/ (6 files): Update bootstrap. |
|||
p/ctmo: 184a976 | jonathan++ | src/ModuleLoader.pm: The dumbest GLOBAL merger that could possibly work (TM). Seems it actually will handle what NQP needs - or at least, it doesn't complain about anything. |
|||
p/ctmo: 2882b8e | jonathan++ | src/ModuleLoader.pm: Make sure multiple uses of the same module won't run into issues. |
|||
p/ctmo: e46af01 | jonathan++ | src/ModuleLoader.pm: A symbol can never conflict with itself. |
|||
p/ctmo: 57da2ce | jonathan++ | src/NQP/Actions.pm: Extend find_lex, which finds a compile-time known lexical, to find_sym, which knows how to look in packages too. |
|||
p/ctmo: 772f1f5 | jonathan++ | src/HLL/SerializationContextBuilder.pm: Fix a thinko. |
|||
18:21
Helios` left
18:22
Helios` joined
18:32
justatheory left
18:33
justatheory joined
18:37
justatheory left
18:39
am0c left
18:41
am0c joined
18:47
whiteknight joined
18:59
MayDaniel joined
19:00
Holy_Cow joined,
Holy_Cow left
19:12
birdwindupbird joined
|
|||
lue | hello world! o/ | 19:14 | |
colomon | \o | ||
tadzik | hello lue o/ | 19:15 | |
birdwindupbird | o/ | ||
19:19
Helios` left
19:20
Helios` joined
19:22
mj41 left
|
|||
dalek | p/ctmo: c15d820 | moritz++ | build/Makefile.in: [build] fix whitespaces in Makefile.in |
19:24 | |
19:26
justatheory joined
|
|||
tadzik | :) | 19:27 | |
jnthn | meh, that jnthn guy sucks... :P | 19:33 | |
moritz++ :) | 19:34 | ||
moritz | it's more that the file format sucks | ||
distinguishing blanks and tabs... meh. | |||
jnthn | :) | ||
Well, the problem is that my make program agrees. So doesn't. :) | 19:35 | ||
19:36
bacek joined,
Helios` left
19:37
Helios` joined
|
|||
jnthn | moritz: Can I take your lack of other "oh noes" comments to mean the ctmo branch built fine for you other than this fix? :) | 19:44 | |
19:48
aindilis left
19:52
daxim joined,
MayDaniel left
19:53
silent_h_ joined
19:55
sftp left
19:56
Helios` left
19:57
Helios` joined
19:59
tomaw left
20:00
GinoMan joined
20:01
envi left
|
|||
moritz | jnthn: yes | 20:01 | |
20:02
phenny left
|
|||
jnthn | moritz: OK, thanks. | 20:04 | |
moritz | jnthn: parallel build is borked, but that's nothing new | ||
jnthn | moritz: I've just added a bunch of makefile dependencies here. | 20:05 | |
20:05
silent_h_ left,
phenny joined
|
|||
jnthn | moritz: Hit the point where I need it to be a bit more honest about those ever for normal build. :) | 20:05 | |
20:05
tomaw_ joined
|
|||
jnthn | Oh gah. I just also ran into Match not being a 6model class yet... | 20:05 | |
diakopter | perlesque: gist.github.com/938925 | 20:06 | |
p6eval | perlesque: OUTPUT«socks 4 50sunglasses 7 20note-case 22 80waterproof overclothes 43 75waterproof trousers 42 70suntan cream 11 70banana 27 60glucose 15 60sandwich 50 160water 153 200compass 13 35map 9 150value: 1030 weight: 396» | ||
diakopter | oh good; that still works. | ||
20:09
tomaw_ is now known as tomaw
|
|||
dalek | p/ctmo: da7760a | jonathan++ | src/ (3 files): Add a --module-path option so we can make sure we load the correct module during the bootstrap. |
20:09 | |
p/ctmo: e67c854 | jonathan++ | build/Makefile.in: Build Regex.pbc in the stages, like everything else. Also add a bunch of dependencies to try and get things a bit more honest. May go some way to helping the parallel build also. |
|||
moritz tests | 20:11 | ||
jnthn: parallel build now succeeded (with -j3 ) | 20:13 | ||
failures in 4 tests - you probably expect those | 20:14 | ||
20:15
ruoso joined
|
|||
jnthn | yay :) | 20:15 | |
20:15
sftp joined
|
|||
jnthn | moritz: Can you remember how far match-nom was from working? | 20:15 | |
moritz: Looking at the branch, it's hard to guess... :) | |||
moritz | jnthn: build fails | 20:16 | |
jnthn: something related to vtables, you said, but I always got a different (and non-helpful) error message | |||
jnthn | moritz: OK | 20:19 | |
Whoa. I think git just managed to merge all of ctmo into that branch with just one conflict I had to fix by hand! | |||
20:19
SHODAN left
|
|||
moritz | now imagine you'd have to do that with svn... :-) | 20:20 | |
jnthn | "Can only use get_how on a SixModelObject" | ||
jnthn looks at how hard it'll be to fix | 20:21 | ||
diakopter | Johnny Six is not alive | ||
jnthn | Wasn't planning to do this now but...it may be less hassle to do it than work around it. | ||
20:22
aindilis joined
|
|||
colomon | do it! | 20:26 | |
20:29
fglock left
20:31
birdwindupbird left
|
|||
dalek | Heuristic branch merge: pushed 200 commits to nqp/match-nom by jnthn | 20:32 | |
jnthn <3 git | 20:34 | ||
dalek | p/match-nom: b39657f | jonathan++ | / (5 files): Various twiddles to bring that was done in the original match-nom branch up to date with the latest changes in ctmo. |
20:49 | |
jnthn | OK, now I seem to be at a "real" error: "Malformed package declaration at line 10, near "('P6str') "" | ||
e.g. something is busted with Match that affects the parse. | 20:50 | ||
moritz | that's the error I've been seeing all along, and which isn't helpful at all :( | ||
20:51
justatheory left,
justatheory joined
|
|||
jnthn | At least we see the same error now | 20:55 | |
Well, it's hard for the parser to give a good error if it's broken. ;) | |||
The bug is that it actually hits the error condition. | |||
Which I guess is because somehow it ends up with corrupted match state. | |||
20:56
justatheory left
|
|||
moritz | now it shows that we don't have tests for the Match object | 20:58 | |
21:02
starcoder left
|
|||
jnthn | Well, at the moment we can't even parse a source file that just contains "1"...so something is fundementally busted somewhere. | 21:02 | |
21:02
starcoder joined
|
|||
jnthn | Oh.. | 21:09 | |
$I0 = repr_get_attr_int self, cur_class, '$!from' | |||
$I0 = repr_get_attr_int self, cur_class, '$!to' | |||
$I2 = isge $I1, $I0 | |||
...I'm guessing one of those should set $I1. | |||
moritz | ... yes. | ||
the second one, presumably | 21:10 | ||
jnthn | I presume so | ||
The parsetraces made it look like every match always matched... | |||
Which led here. :) | |||
21:11
donri joined
|
|||
dalek | p/match-nom: 6677389 | jonathan++ | src/Regex/Cursor-builtins.pir: Restore some DEBUG capabilities. |
21:12 | |
p/match-nom: e886b7e | jonathan++ | src/Regex/Match.pir: Fix a probable copy-pasto. Also toss some useless :vtable declarations - we set those up via the meta-object now. |
|||
jnthn | moritz: With that fixed we can actually parse and compile simple programs using the match-nom branch. | ||
21:12
lue left
|
|||
jnthn | Latest error is about get_string_keyed() not implemented, which is probably not too hard to fix. | 21:14 | |
21:14
lue joined
|
|||
jnthn | But it goes pretty deep into the parse of the meta-objects now. | 21:14 | |
21:20
donri left
21:38
justatheory joined
|
|||
dalek | p/match-nom: 48e3d16 | jonathan++ | src/HLL/Grammar.pm: We don't implement the string-returning keyed variants of the v-table yet; just work around that, since the values for now are all stored boxed anyway, so it doesn't matter to much where we unbox. |
21:40 | |
p/match-nom: ad848d0 | jonathan++ | src/ops/nqp.ops: Make sure we really do consider all available Parrot v-table indexes when building the overloads array; we missed some off the end. |
|||
p/match-nom: 8b9383f | jonathan++ | src/pmc/sixmodelobject.pmc: Make unshift_pmc and push_pmc overridable. |
|||
p/match-nom: af53a9b | jonathan++ | src/core/NQPCapture.pm: Override unshift_pmc and push_pmc in NQPCapture. |
|||
21:44
tomaw left
21:45
tomaw_ joined
|
|||
dalek | rixel: 2b2adbf | diakopter++ | / (9 files): more p6 grammar interpreter work - end-of-input, string literals |
21:47 | |
p/match-nom: af16e75 | jonathan++ | src/core/NQPCapture.pm: Implement .list and .hash on NQPCapture. |
22:08 | ||
p/match-nom: 354eff8 | jonathan++ | src/HLL/Grammar.pm: Fix an earlier fix. D'oh. |
|||
jnthn | With this, match-nom now parses the meta-objects and module loader. Now just to track down that's going on in the setting... | 22:09 | |
22:12
f00li5h left,
f00li5h joined
|
|||
dalek | p/match-nom: 15a19ea | jonathan++ | src/core/NQPCapture.pm: Unfortunately, we rely on the semantics of Capture returning PMCNULL; mimic that for now in NQPCapture. This is the last bug that stood in the way of NQP completely building on match-nom. No test regressions either! No speed win, though that's not entirely surprising at this point - there's several known sub-optimalities. moritz++ for most of the work on match-nom. |
22:20 | |
jnthn | To clarify, I expect the object-y bits are mostly more optimal, but moving Capture to NQP has produced other costs that we can't yet optimize away. And we're not even emitting the object-y bits optimally yet either (can't until I finish up this compile-time meta-objects work). | 22:24 | |
It *should* be a memory win as match objects now inline the from/to directly as ints in the object, rather than making Integer PMCs. | 22:25 | ||
22:26
donri joined
|
|||
dalek | p/ctmo: 05aa5ed | jonathan++ | / (117 files): Merging ctmo into match-nom. |
22:26 | |
p/ctmo: b39657f | jonathan++ | / (5 files): Various twiddles to bring that was done in the original match-nom branch up to date with the latest changes in ctmo. Update bootstrap. |
|||
22:26
dalek left
22:27
dalek joined,
ChanServ sets mode: +v dalek
|
|||
22:41
polettix joined
|
|||
polettix | perl6: any <one two three> | 22:42 | |
p6eval | niecza v4-69-g4db171f: OUTPUT«===SORRY!===Undeclared routine: 'any' used at line Any()1Unhandled exception: Check failed at /home/p6eval/niecza/boot/lib/CORE.setting line 388 (CORE die @ 2) at /home/p6eval/niecza/src/STD.pm6 line 1141 (STD P6.comp_unit @ 75) at | ||
../home/p6eval/niecza/… | |||
..pugs, rakudo ecc4ef: ( no output ) | |||
polettix | perl6: any <one two three>; | 22:43 | |
p6eval | niecza v4-69-g4db171f: OUTPUT«===SORRY!===Undeclared routine: 'any' used at line Any()1Unhandled exception: Check failed at /home/p6eval/niecza/boot/lib/CORE.setting line 388 (CORE die @ 2) at /home/p6eval/niecza/src/STD.pm6 line 1141 (STD P6.comp_unit @ 75) at | ||
../home/p6eval/niecza/… | |||
..pugs, rakudo ecc4ef: ( no output ) | |||
polettix | perl6: my $x = any <one two three>; $x.say; | 22:44 | |
p6eval | rakudo ecc4ef: OUTPUT«any("one", "two", "three")» | ||
..niecza v4-69-g4db171f: OUTPUT«===SORRY!===Undeclared routine: 'any' used at line Any()1Unhandled exception: Check failed at /home/p6eval/niecza/boot/lib/CORE.setting line 388 (CORE die @ 2) at /home/p6eval/niecza/src/STD.pm6 line 1141 (STD P6.comp_unit @ 75) at | |||
../home/p6eval/niecza/… | |||
..pugs: OUTPUT«any(VStr "one",VStr "three",VStr "two")» | |||
polettix | perl6: my $x = any<one two three>; $x.say; | ||
p6eval | niecza v4-69-g4db171f: OUTPUT«===SORRY!===Undeclared routine: 'any' used at line Any()1Unhandled exception: Check failed at /home/p6eval/niecza/boot/lib/CORE.setting line 388 (CORE die @ 2) at /home/p6eval/niecza/src/STD.pm6 line 1141 (STD P6.comp_unit @ 75) at | 22:45 | |
../home/p6eval/niecza/… | |||
..pugs: OUTPUT«*** Odd number of elements found where hash expected: VJunc any() at /tmp/Ajx7q3sCzH line 1, column 4-27» | |||
..rakudo ecc4ef: OUTPUT«any()» | |||
polettix | is that space really necessary? | ||
sorear | yes | ||
polettix | where can I found out more about it? | 22:46 | |
(which I hope to be a polite way of asking "why?") | 22:47 | ||
sorear | I forgot | 22:48 | |
22:48
pmurias left
|
|||
sorear | but the issue has to do with ambiguities | 22:48 | |
for instance, "if %foo{12} { ... }" | |||
the required lack of space on hash subscripts allows Perl 6 to parse that | 22:49 | ||
jnthn | S02 talks about it a bit, starting "In general, whitespace is optional in Perl 6..." | 22:50 | |
polettix | thanks! | 22:52 | |
cheers | 22:56 | ||
22:56
polettix left
22:58
icwiener left
23:07
hudnix joined
23:11
ymasory joined
23:12
Mowah left
23:18
herzen joined
23:23
Sarten-X left,
noganex_ left
23:27
noganex joined
23:34
Sarten-X joined
23:47
gavin2u joined
|
|||
gavin2u | hi buddy | 23:47 | |
sorear | ? | 23:49 | |
23:52
gavin2u left
|