»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:, std:, or /msg camelia p6: ... | irclog: irc.perl6.org | UTF-8 is our friend! | feather will shut down permanently on 2015-03-31
Set by jnthn on 28 February 2015.
SomeStrangeTest alright thanks for the help folks, off to get some dinner 00:01
00:07 yqt left
ugexe if you want a trail just do like i mentioned 00:08
panda look module::name
then you can modify the code or whatever before you do panda install .
00:37 prime joined, prime left, prime joined 00:46 tinyblak joined 00:51 tinyblak_ joined 00:55 tinyblak left 00:56 laouji joined 01:05 prime left 01:09 prime joined, prime left, prime joined
timotimo there's a pull request for giving template-mojo a "provides" section now 01:15
tadzik: ^
oh 01:16
zoffx already made a pull request way before i did
tadzik: ^
masak: Adventure::Engine still says "Actual illucidating example coming soon. Watch this spot." :) 01:18
Zoffix I only added provides though; not all the other stuff you added
timotimo right, but i don't know if the other stuff is even necessary 01:19
01:19 aborazmeh joined, aborazmeh left, aborazmeh joined
timotimo masak: and if you're looking at that, might as well add a "provides" section like panda gen-meta suggests :) 01:19
dalek kudo-star-daily: 7f490c6 | coke++ | log/ (2 files):
today (automated commit)
Zoffix Ah OK. so it's the missing 'provides' that was causing those errors, SomeStrangeTest 01:21
simple \o/
01:23 genio left
timotimo yeah, we just merged the change that makes the provides section necessary a few days ago 01:28
Zoffix 128 modules on modules.perl6.org/ that don't got that... 01:35
ugexe well, he did mention specifically the 'provides' error :P
Zoffix grog-blog.com/wp-content/uploads/20...epted.jpeg
ugexe although maybe it should be more explicit about it not working 01:36
Zoffix It's actually just a warning and it says "Successfully installed" but ... nothing's installed
01:36 aborazmeh left
ugexe successfully installed <- would be something to change in panda 01:38
Zoffix Just bail out after issuing warning maybe? 01:39
ugexe nah, cause you still want to install other modules you explicity told it to install 01:40
panda Fail::Module Success::Module <- i would expect it to install Success::Module even though Fail::Module fails
panda just needs to throw an exception in that circumstance and it would get handled properly 01:42
01:44 adu joined 01:46 dj_goku joined 02:02 uvb joined 02:04 aborazmeh joined, aborazmeh left, aborazmeh joined 02:11 gfldex left
SomeStrangeTest so that last error I had looks like a exception thrown by rakudo c code 02:15
: MVM_exception_throw_adhoc(tc, "No STable at index %d", idx);
this is in sc.c, which I gather is serialization context 02:16
02:16 jack_rabbit joined
SomeStrangeTest but grabbing Bailador from git and copying the libs in results in a working Bailador so I'm not sure what Panda is doing differently 02:16
anyway, it's not a problem for me, but thought I'd mention it in case somebody wants to track down the bug 02:18
02:18 noganex joined 02:21 noganex_ left 02:26 kaare_ joined
dj_goku nine_: you around? 02:28
02:30 raiph joined 02:39 aborazmeh left 02:42 raiph left 02:52 vendethiel- joined 02:54 vendethiel left
Zoffix Looks like I finally made an almost-fully-automated script to create PRs to add "provides" to META for the ~120 dists that are missing it. Gonna submit them all tomorrow, after work. 03:02
03:09 raiph joined 03:16 aborazmeh joined, aborazmeh left, aborazmeh joined 03:21 tinyblak joined 03:24 tinyblak_ left 03:38 sirdancealot left 03:40 raiph left 03:42 BenGoldberg left 03:45 laouji left 04:01 adu left 04:17 adu joined, adu left 04:20 Vlavv_ left 04:27 adu joined 04:29 aborazmeh left 04:37 laouji joined 04:51 fhelmberger joined 04:55 fhelmberger left 04:57 tinyblak_ joined 04:59 adu left, tinyblak left 05:05 kurahaupo left 05:08 skids left 05:17 spider-mario left 05:27 Woodi left, uvb left 05:28 Woodi joined 05:29 adu joined 05:45 telex left 05:46 telex joined 05:50 kurahaupo joined 05:52 yeahnoob joined 05:53 danaj joined
kurahaupo TimToady: I noted your recent commit for the R meta-op, so that the generated op has the opposite associativity of the original operator. That seems sensible, but keeping the same precedence seems a bit crazy. Would anything break if the precedence of generated operators differed minimally from the original operator? My gut feeling is longer-name and/or more letters implies lower precedence, but there could be good arguments either way. 06:03
TimToady why make the user remember more rules? 06:05
there are meta-operators where the valence of the arguments changes from item to list, and there it makes sense to change the precedence, but the shape of the arguments stays the same for R 06:06
so it seems to fit more with the meta-ops that are transparent to precedence 06:07
kurahaupo TimToady: okay, but then how does one parse ( $x - $y R- $z ) ? I would have thought it saner to entirely forbid equal precedence with differing associativity 06:09
TimToady well, there's probably an argument to be made for pickiness there; we do, after all, complain on mixed list infixes 06:10
otoh, R is a lot rarer than X or Y or ..., so it seemed more like a DIHWIDT to me 06:11
06:15 chenryn joined
TimToady I should look at EXPR and see how costly such a check would be on very normal operators like +/- 06:15
06:21 adu left
TimToady there would be some cost to it; currently it uses the associativity of the new incoming operator rather than the old one on the operator stack; looking up the latter would involve saying something like ~@opstack[+@opstack-1]<OPER><O><assoc> // 'left', whereas the existing approach merely has to look up nqp::atkey(%inO, 'assoc') 06:28
so currently the opp will assume that $x - $y R- $z is right associative based on the righthand R- operator, which is handier to look up than the - on the left 06:31
06:33 rindolf joined
[Tux] .msg FROGGS would you be so kind to have another look at excluding reserved words like if/for/while/.. in Slang::Tuxic? 06:33
yoleaux [Tux]: Sorry, this command is admin-only.
[Tux] .tell FROGGS would you be so kind to have another look at excluding reserved words like if/for/while/.. in Slang::Tuxic? 06:34
yoleaux [Tux]: I'll pass your message to FROGGS.
[Tux] m: my$x=\"1,2\n3,4\n";$x.gist.say 06:49
camelia rakudo-moar f65ba9: OUTPUT«\(1,2␤3,4␤)␤»
[Tux] m: my$x=\"1,2\n3,4\n";$x.perl.say
camelia rakudo-moar f65ba9: OUTPUT«Capture.new(list => ("1,2\n3,4\n",))␤»
06:49 kurahaupo left
[Tux] is there a method in between, that returns "1,2\n3,4\n" 06:50
06:51 fhelmberger joined 06:54 brrt joined
moritz I'm not aware of any 06:54
[Tux] my $s-in = $in.gist; $s-in ~~ s:g{\n} = "\\n"; 06:55
that works for me for now
used in generating test messages
06:56 fhelmberger left, fhelmberger joined
moritz why do you deal with captures in the first place? 06:57
[Tux] because I can? :)
I am trying to find out WHAT I should deal with and HOW 06:58
like testing with Supply's is really hard
I first want to experiment with the complete scala of possibilities and *then* decide what is sane to support (if at all) 07:00
07:00 Ven joined
[Tux] so many people, so many users, so many points of view 07:00
moritz understood 07:01
07:01 Vlavv_ joined
[Tux] currently I am thinking that an Array of strings is *way* more logical than a single capture (string reference), as it does not conflict with whatever is already investigated 07:02
07:03 kurahaupo joined 07:04 brrt left 07:05 prime left, tinyblak joined, prime joined, prime left, prime joined 07:06 phdphil left
[Tux] ok, Array of strings done. that was easy :) 07:07
07:09 tinyblak_ left 07:14 eli-se joined, eli-se left, mr-foobar left 07:16 tinyblak left, tinyblak_ joined 07:17 mr-foobar joined 07:22 jack_rabbit left 07:23 brrt joined
[Tux] I really would like to see IO from Str (not needing a tem file) 07:25
makes testing so much easier 07:26
moritz then write a module that does it
shouldn't be all that hard
[Tux] opens a drawer to look for more free time … 07:27
moritz I mean, the typical IO API just consists of get, lines, print, say, close
[Tux] you are right, but I knoiw that will be a Yak-shaving experience 07:28
07:33 espadrine joined 07:35 [particle] joined
nwc10 um, surely, strictly IO from Buf? 07:36
07:37 [particle]1 left
nwc10 actually, you can do IO from either. If the IO system is smart enough to know when it's dealing in octets, and when in characters 07:37
07:45 risou is now known as risou_awy 07:46 risou_awy is now known as risou 07:47 RabidGravy joined 07:54 eli-se joined 07:55 eli-se left 07:58 kjs_ joined 08:01 Rounin joined 08:02 rurban_ joined 08:03 zakharyas joined 08:11 darutoko joined 08:14 pdcawley joined 08:23 gfldex joined 08:27 espadrine left, kjs_ left 08:30 abraxxa joined 08:35 dakkar joined 08:36 yqt joined 08:55 FROGGS joined 08:59 espadrine joined 09:01 kurahaupo left 09:03 FROGGS left 09:05 kjs_ joined 09:08 rurban_ left 09:11 eli-se joined
eli-se good evening 09:11
Ven \o eli-se 09:12
eli-se I want to write a videogame in Perl. 09:15
Ven eli-se: text-based or with graphics? 09:16
eli-se text-based, of course
I'm not a masochist.
Ven we have both :) 09:17
eli-se: timotimo++ made github.com/timo/gtk_cairo_shooter
eli-se Unicode art.
Ven and for text based, we had some module, but no unicode art, only "exploratory" text-based games
eli-se: github.com/masak/Adventure-Engine/ 09:18
eli-se: and as unicode art, github.com/masak/druid/
09:23 brrt left
timotimo Ven: yesterday i found out that gtk_cairo_shooter segfaults with my latest changes to cairo (turning it into a module Cairo; and tweaking gtk_cairo_shooter to use the new imports) and i didn't have time yet to debug it 09:23
Ven timotimo: well, I never managed to get it to run anyhow.. :)
(not sure how turning it into a module can make it segfault, tho) 09:24
09:28 slavik joined 09:29 pecastro joined 09:30 brrt joined 09:35 yeahnoob left
eli-se I want lenses in Perl 6. 09:35
they should make game development more pleasant
timotimo i don't really know what those "lenses" you speak of are :( 09:36
09:36 Ven left
eli-se they're a way to manipulate nested data structures 09:36
basically 09:37
timotimo oh
isn't that what this one person talked about during one of the recent conferences
oh, those were "zippers"
eli-se here's a lens type: gist.github.com/rightfold/1798a0994bc2d663a1a6
they can be composed to form paths into nested data structures 09:38
DrForr I've done soemthing very similar in perl5 when I was playing with destructuring. 09:39
09:39 aborazmeh joined, aborazmeh left, aborazmeh joined 09:41 Ven joined 09:45 sno is now known as [Sno] 09:47 Ven left, eli-se left 09:49 Ven joined 09:54 yqt left 09:56 Tux__ is now known as |Tux| 10:03 cschwenz joined, coffee` joined 10:08 RabidGravy left 10:09 eli-se joined
eli-se Why are lols special? 10:10
Ven eli-se: "special"? 10:11
eli-se yes
there's all sorts of documents on them
and there's a lol method 10:12
so they must be special in some way
I fail to see, however, how a list of lists would be any different from a list of integers.
and a LoL class 10:13
10:14 pdcawley left 10:15 SomeStrangeTest left
eli-se I can see why in Perl 5 arrays of arrays deserve special mention, since arrays can store only scalars. 10:15
10:23 pdcawley joined 10:26 chenryn left
moritz eli-se: iirc they offer both a flat and a nested view 10:29
10:30 pecastro left 10:38 brrt left, eli-se left 10:41 rurban_ joined
Zoffix They aren't really arrays of arrays, but arrays of *arrayrefs* 10:42
my @a = ( 'foo', 'bar', [ 'meow', 'mer', [ 'zer', 'ber' ] ] ); 10:43
10:43 Ven left 10:46 rurban_ left 10:49 FROGGS joined 10:51 xfix joined, xfix left 10:52 Rounin left 10:57 eli-se joined, eli-se left 10:58 pecastro joined 11:04 eli-se joined 11:09 eli-se left, chenryn joined 11:11 azawawi joined
azawawi hi 11:11
yoleaux 31 Mar 2015 22:49Z <timotimo> azawawi: for some reason i had this change locally: $file-name .= subst('~', %*ENV<HOME>); → $file-name ~~ s/'~'/{%*ENV<HOME>}/; inside method open-file in Editor.pm6
azawawi quick question, are we moving into removing the actual panda installed modules files and using an MANIFEST to extract their names? 11:13
so now instead of directly reading the file, i need to query a service to the file that belongs to my module...
any reason behind this big change
FROGGS umm what? I dont understand the question 11:14
yoleaux 06:34Z <[Tux]> FROGGS: would you be so kind to have another look at excluding reserved words like if/for/while/.. in Slang::Tuxic?
FROGGS [Tux]: I can do that but I cannot promise it will happen today or tomorrow :S
azawawi FROGGS: C:\rakudo\share\perl6\site\0..n files now instead of actual module name installed files
|Tux| sure
azawawi FROGGS: C:\rakudo\share\perl6\site\MANIFEST now contains a json file to the actual file numbers 11:15
11:15 eli-se joined
|Tux| but now code like «my @in = gather while ($in.list) -> $x { take $x }» looks really awkward and horrific 11:15
FROGGS azawawi: correct, because storing Foo::Bar as lib/Foo/Bar.pm makes it impossible to install several same named versions of a module
azawawi: so to allow the installation of Foo::Bar v1 and Foo::Bar v1.2 and Foo::Bar made by someone else we need a more database thing to install to, instead of just putting everything under lib/Foo/Bar.pm 11:16
azawawi FROGGS: so we're moving to a database-like structure for installed module names to be filesystem agonistic?
FROGGS azawawi: aye
azawawi FROGGS: cool 11:17
FROGGS azawawi: this also allows us to uninstall modules more easily, or recompile modules that depend on something you just changed etc
azawawi cools down a bit
FROGGS: and later move to be database-based (aka SQLite) if needed (e.g. for fast module queries)? 11:18
FROGGS azawawi: this explains why/how we do that: perl6advent.wordpress.com/2013/12/...g-modules/ 11:19
might be outdated here or there, since it is from 2013
azawawi: that's up to the 'module installation backend' (aka CompUnitRepo::*) you are using
azawawi so basically multiple module versions living in the same perl6 module ecosystem database? 11:20
FROGGS currently we have a CompUnitRepo::Local::Installation, but one can easily plug in a CompUnitRepo::Local::SQLite
azawawi and i can depend on a specific version for my module
FROGGS exactly
azawawi cool
azawawi drooling... :) 11:21
FROGGS or you say "I trust jnthn, but I dont care about the version", then you'd do: use Foo:auth<jnthn>
11:21 Ven joined
azawawi module time/space? :) 11:21
azawawi remembers NTFS Longhorn project... en.wikipedia.org/wiki/WinFS 11:23
11:23 rindolf left, brrt joined 11:24 KCL joined, eli-se left
azawawi so basically with this i can make module database and make a dump of it to be shared by the team... cool :) 11:24
revolutionary thinking 11:25
11:26 rurban_ joined
FROGGS as long as precompilation is not involved you can share such a thing, yes, I think so 11:26
Ven m: role S[::T]{...}; role S[Int]{ constant mzero = 0; }; role M[::T] { constant mzero = S[T].mzero; }; say M[Int].mzero;
camelia rakudo-moar f65ba9: OUTPUT«===SORRY!===␤No appropriate parametric role variant available for 'S'␤»
Ven m: role S[::T]{...}; role S[Int]{ constant mzero = 0; }; role M[::T, _S = S[T]] { constant mzero = _S.mzero; }; say M[Int].mzero; 11:27
camelia rakudo-moar f65ba9: OUTPUT«5===SORRY!5=== Error while compiling /tmp/uEZEvWpykc␤Invalid typename '_S' in parameter declaration.␤at /tmp/uEZEvWpykc:1␤------> 3]{ constant mzero = 0; }; role M[::T, _S7⏏5 = S[T]] { constant mzero = _S.mzero; };␤»
11:28 KCL_ left
Ven m: role S[::T]{...}; role S[Int]{ constant mzero = 0; }; role M[::T, $S2 = S[T].mzero] { constant mzero = $S2; }; say M[Int].mzero; 11:29
camelia rakudo-moar f65ba9: OUTPUT«Could not instantiate role 'M':␤No appropriate parametric role variant available for 'S'␤ in any specialize at src/gen/m-Metamodel.nqp:2244␤ in any specialize at src/gen/m-Metamodel.nqp:2441␤ in any specialize at src/gen/m-Metamodel.nqp:2022␤ …»
11:29 eli-se joined 11:30 chenryn_ joined, chenryn left 11:31 eli-se left
azawawi FROGGS: i see. Thanks for explaining it 11:41
11:43 araujo joined, araujo left, araujo joined 11:46 araujo left, eli-se joined, araujo joined
eli-se s/feather will/feather has/ 11:47
what was feather?
DrForr wonders about ( $a, $b ) <==> ( $.name<first>, $.name<last> ) for lens-ish syntax. 11:48
11:49 araujo left 11:50 araujo joined
DrForr Mm, obviously I've misrememebered. 11:51
11:54 brrt left 11:55 araujo left
eli-se With Visual Perl 6 for Applications we can take over the world. 11:58
11:59 raiph joined
bartolin_ m-star: say 1 ?? Str.new :value("foo") !! "omg" 11:59
abraxxa I just helped a coworker with a php webshop rouding problem. If Perl 6 gets a webshop it will take over the world for the next few years 12:00
bartolin_ star-m: say 1 ?? Str.new :value("foo") !! "omg" 12:01
camelia star-m 2015.02: OUTPUT«foo␤»
bartolin_ m: say 1 ?? Str.new :value("foo") !! "omg"
camelia rakudo-moar f65ba9: OUTPUT«5===SORRY!5=== Error while compiling /tmp/Uc8QdH4Sjp␤Please use !! rather than :␤at /tmp/Uc8QdH4Sjp:1␤------> 3say 1 ?? Str.new :value("foo"7⏏5) !! "omg"␤ expecting any of:␤ statement end␤ statement modifier␤ …»
bartolin_ is that supposed to work? it does not with commit 225a7e3 12:02
FROGGS eli-se: +1 for a VP6 12:03
12:03 eli-se left 12:05 eli-se joined
bartolin_ it works with <EXPR('i=')> but not with <EXPR('j=')> in Grammar.nqp github.com/rakudo/rakudo/blob/nom/....nqp#L4239 12:05
timotimo++ found that yesterday: irclog.perlgeek.de/perl6/2015-03-31#i_10372090 12:06
12:07 eli-se left 12:08 [particle] left, eli-se joined 12:10 sirdancealot joined 12:13 eli-se left
dalek kudo/nom: bc7e480 | peschwa++ | t/02-rakudo/repl.t:
Add a few moreinput related tests.
12:19 konsolebox joined 12:25 laouji left
Ven m: lines; say lines 12:27
camelia rakudo-moar f65ba9: OUTPUT«Failed to seek in filehandle: 9␤ in method eof at src/gen/m-CORE.setting:17691␤ in method get at src/gen/m-CORE.setting:17695␤ in method get at src/gen/m-CORE.setting:18969␤ in code at src/gen/m-CORE.setting:18983␤ in block at src/gen/m-CO…»
12:28 st_iron joined
psch oh meh 12:29
st_iron hey
psch i fudged those tests wrong i think
hi st_iron
dalek kudo/nom: cbbeff8 | peschwa++ | t/02-rakudo/repl.t:
Correct fudging.
kudo/nom: 6caf1d4 | peschwa++ | t/02-rakudo/repl.t:
Actually correctly correct fudging.
Ven is lue++'s p6mode the one mod to use for emacs? 12:36
Ven found what he was looking for on perl6.org/whatever 12:38
actually, that one's from 2010. probably should be removed from perl6.org
Ah, no,it's just an incorrect branch. uh-oh 12:39
12:39 rmgk_ joined, rmgk left, rmgk_ is now known as rmgk
dalek href="https://perl6.org:">perl6.org: 981b7e0 | ven++ | source/whatever/index.html:
Link to the master branch of cperl-mode

I don't see any reason to link to the 2010 branch
Ven Ohhh.. That was supposed to be a PR again...
Ven switches back to vim 12:47
12:49 eli-se joined 12:50 eli-se left 12:51 st_iron left, [particle] joined
azawawi FROGGS: ping 12:53
12:53 sirdancealot left
FROGGS azawawi: pong 13:02
Ven `use ADT "data Tree";` is "still" not possible, right? just checking
(as in, custom EXPORT arguments) 13:03
moritz it is, afaict 13:04
13:08 raiph left
Ven oooh 13:08
yes, yes, that's what jnthn++ demonstrated in his presentation, even!
Ven clones timotimo++'s ADT.p6 13:09
azawawi FROGGS: so how do i quickly find an asset inside lib/Foo/Bar/assets/ using the new CompUnitRepo::Local::Installation? 13:10
13:10 chenryn_ left 13:11 Rounin joined
azawawi FROGGS: best i could find is @binaries[0]<files>.keys.grep({ $_.IO.basename eq 'farabi.js' }); 13:11
13:12 lucasb joined
Ven m: class A{method !x is export{}; }; 13:13
camelia rakudo-moar 6caf1d: OUTPUT«===SORRY!===␤Cannot find method 'has_compile_time_value'␤»
Ven m: class A{method !x is export {}; };
camelia ( no output )
Ven should that error out? :P
m: module F {}; need F; 13:15
camelia rakudo-moar 6caf1d: OUTPUT«===SORRY!===␤Could not find F in any of: /home/camelia/.perl6/2015.03-136-g6caf1d4/lib, /home/camelia/.perl6/2015.03-136-g6caf1d4, /home/camelia/rakudo-inst-1/share/perl6/lib, /home/camelia/rakudo-inst-1/share/perl6/vendor/lib, /home/camelia/rakudo-inst-…»
FROGGS azawawi: @*INC.files('bin/farabi.js') (in case it is in bin/ in the dist) 13:19
Ven still doesn't get how the module system really works. what imports names, what doesn't, when to put `use` inside of declarations, when to put them outside, how to import unqualified class names...
13:19 yqt joined
lucasb Hello. The Any class has some deprecated methods in the middle of the code. Would you mind if I move all of them to the very end of the class or do you prefer them to keep sitting next to their relative current methods? I wanted to do this just as a file editing exercise to get acquainted with the process. :) 13:22
Ven m: 'a' ~~ /a/; say $/<foo>?.made;
camelia rakudo-moar 6caf1d: OUTPUT«5===SORRY!5=== Error while compiling /tmp/BGTNTbeDAy␤Two terms in a row␤at /tmp/BGTNTbeDAy:1␤------> 3'a' ~~ /a/; say $/<foo>7⏏5?.made;␤ expecting any of:␤ infix␤ infix stopper␤ postfix␤ statement en…»
moritz lucasb: don't do editing for the sake of editing
Ven m: my $a = 'heyy'; $a?.made; 13:23
camelia rakudo-moar 6caf1d: OUTPUT«5===SORRY!5=== Error while compiling /tmp/yEwFs10EQl␤Two terms in a row␤at /tmp/yEwFs10EQl:1␤------> 3my $a = 'heyy'; $a7⏏5?.made;␤ expecting any of:␤ infix␤ infix stopper␤ statement end␤ statement m…»
moritz lucasb: it makes it harder to track methods in the git history
Ven ehh
moritz Ven: $var.?made 13:24
Ven moritz: it used to be the other way around, tho ._.
moritz Ven: I won't believe that unless you have some kind of proof for that 13:25
Ven my module worked with the other version
moritz Ven: the ? or + or * are quantifies, just like in regexes
that's... a very vague statement
13:25 konsolebox left
psch maybe it used that one slang? 13:25
Ven definitely didn't :) 13:26
wh.... what the heck happened. Why isn't this file in git!? 13:27
lucasb moritz: They are just deprecated methods anyway, but ok, understood. thanks.
13:28 aborazmeh left
Ven why doesn't "use A::B::C;" allow me to use "C" unqualified?.. 13:29
huf hmm? 13:31
there's no C in that use line
there's just A::B::C
just like the words rumble and crumble are unrelated, so is A::B::C and C
Ven yes. and I expect to be able to use "C" to talk about "A::B::C" from this declaration on
psch you can if A exports B and B exports C
huf oh shit this is the other channel. fuck me. 13:32
Ven psch: heh?
moritz Ven: you can do a use C:name<A::B::C> or so
psch Ven: not? maybe my understanding is also flawed :)
Ven psch: not, I definitely don't understand 13:33
but I find perl6's module system very difficult to understand and not particularly practical
psch sorry for misinformation then
Ven I mean -- I'm the one at loss here 13:35
13:42 Perl6_newbee joined
moritz Ven: there's no automatic aliasing. When you use A::B::C, then you can use the symbol A::B::C 13:43
it's actually quite simple :-)
Ven how do I get automatic aliasing?
moritz you don't 13:44
well, maybe with macros, some day
Ven I'm definitely used to "prior art"... But it seems really, really annoying in the long run to me 13:48
13:50 yqt left
moritz it's OK 13:53
same as p5
Ven that and having to -I lib/ or "use lib 'lib/'"; all over the place, under some rules I don't understand
Ven doesn't know p5
moritz if you want, there's always explicit aliasing
Ven: that's not hard either; if your modules aren't in the search path, you must extend the search path 13:54
Ven: and -Ilib and 'use lib "lib"' are two options to do taht
Ven moritz: I'd definitely expect "something else"... I mean, from "src/Foo/Bar.pm", to be able to `use Foo::Baz;` and have the module found without having to "use lib..".
or even being able to relative-require
huf actually, neither of those options works for perl5 13:55
moritz Ven: you don't have to put a "use lib ..." into a module
huf use lib 'lib/'; will be cwd-relative which is pointless
moritz Ven: because the script or module that loaded your module in the first place must have set up the search path already
otherwise it couldn't have been "use"d 13:56
huf use File::Basename qw/dirname/; use lib dirname(__FILE__).'/lib'; # or something
Ven moritz: well, from a MAIN sub, I still need to add a relative-use-lib-thing
moritz Ven: yes, but not from modules 13:57
Ven: and you only have to do that for development
Ven: for production, you simply install the modules
Ven: so it might more sense to leave it out of the script, and set PERL6LIB env for developing, or using -Ilib 13:58
Ven moritz: how do I install a module with a MAIN?
moritz Ven: same as any other module, really
Ven (also, please don't mention me on every single line, it beeps loudly :P)
moritz stop the beeping, then :-). That's how IRC works. 13:59
Ven I want the beeping, the one time I get mentioned first -- for the 3 following lines, sent 10 seconds later, chances are I havn't read / am still reading :P
nwc10 is this like: <purl> Hey Schwern! honk, honk, honk, honk, honk, honk, honk, honk, 14:00
honk, honk, honk, honk, honk, honk, honk, honk, honk, honk, honk,
honk, honk, honk, honk, honk, honk, honk, honk, honk, honk!
(but on one line)
14:00 skids joined
DrForr That was because Schwern had a text-to-speech translator :) 14:00
[Coke] glares at irc blearily over morning coffee. 14:01
tadzik text-to-speech is quite a hilarity with twitch livestreamers
Ven tadzik: &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& 14:02
tadzik doubleu doubleu doubleu doubleu 14:03
14:06 rindolf joined, pecastro left 14:07 pecastro joined
Ven m: module M{}; module M::X {}; module M::X::Y { constant A = 1; }; constant Y = M::X::Y; say Y::A; 14:10
camelia rakudo-moar 6caf1d: OUTPUT«1␤»
Ven I guess... I guess I'll use that for now..
14:11 tinyblak_ left
Ven can I export another module "as myself"? 14:11
I can I should just override EXPORT as well 14:12
14:13 eli-se joined
Ven I guess*, erm. 14:13
eli-se Don't guess 14:14
14:17 eli-se left 14:19 telex left 14:20 telex joined 14:27 risou is now known as risou_awy, risou_awy is now known as risou 14:32 araujo joined
lucasb At the beginning of S02, in the section Lexical Conventions/Bracketing Characters, some unicode codepoints are mentioned. Do you think it would be nicer to read if the literal character was added after the number? Like this for example: U+301D ("), U+301E (#), U+301F (#) 14:33
14:34 xfix joined
lucasb Well, the characters didn't show correctly here, sorry. :) 14:34
FROGGS hmmm, if we dont run intro trouble when adding these characters then I'd say +1 14:37
lucasb FROGGS: Well, the files are in utf-8, so I would edit it correctly, hopefully. Thanks! 14:40
PerlJam +1 from me too 14:42
14:42 xfix left 14:43 Ven left
PerlJam (I never remember what those code points are and have to look them up each I time) 14:43
14:43 cschwenz left
PerlJam s:2nd/I// 14:43
lucasb: maybe include their long name as well? 14:44
lucasb .u U+301E
lucasb PerlJam: I guess the long name would be too long for the text, don't they? 14:45
FROGGS that woule be a bit too much
14:49 tinyblak joined 14:53 Ven joined
Ven does Panda titlecase its module names? FooO::Bar; won't work (symbol not found) 14:53
moritz you mean there's a FooO::Bar in the ecosystem, and you can't install it? 14:54
tadzik "its" module names?
I think panda has a "did you mean some other module with a different casing" thing though, doesn't it? 14:55
Ven say I have a `lib/FooO/Bar.pm`, I can't `use FooO::Bar;`, it just won't work. If I change both "FooO" to "Fooo", it works.
tadzik resolve stage failed for Term::AnsiColor: Project Term::AnsiColor not found in the ecosystem. Maybe you meant Term::ANSIColor?
Ven sorry, that wasn't clear, that's totally not related to panda. ugh
moritz Ven: if that is indeed the case, it's a bug in rakudo 14:56
tadzik your issue is pretty weird though :o
moritz considering that all-caps names like SVG work, that's pretty surprising
Ven moritz: a friend of mine wanted to try perl6 and hit it, I reproduced it locally as well. he's on windows, I'm on osx with a <1week-old rakudo
PerlJam Ven: probably a FS casing issue.
FROGGS Ven: that veeeeery unlikely
Ven PerlJam: yeah, that's what I thought of first as well 14:57
FROGGS Ven: what s the error message ooc?
PerlJam Ven: got a transcript of what you did and what happened?
Ven I'm running a case-insensitive os x, apparently :)
PerlJam I just tried it locally and had no difficulty
(I'm on ubuntu though)
Ven thought os x had a case-sensitive FS .... 14:58
FROGGS Ven: a case-insensitive would make module lookup more lax, not strict/weird
moritz Ven: it's case-preserving by default, just like Windows
Ven FROGGS: Could not find symbol '&Frontend'
FROGGS Ven: that is something else
Ven moritz: oh, can you configure windows not to be? Or did I interpret your comment wrongly
moritz Ven: you did
FROGGS so it found and loaded lib/FooO/Bar.pm
Ven alright 14:59
moritz Ven: the OS X default is just like windows works
psch windows has special directory names that are equivalent, i recently discovered
creating a directory "Program Files" on C:\ wants to merge it into "Programme"
which made me feel a bit uneasy
FROGGS Ven: can you gist the module? 15:00
Ven FROGGS: wait, apparently it freezes on some cases on windows. ugh
I'll ask for a gist
nwc10 I think that I shall call my module Aux.pm, and see what hilarity follows... 15:01
moritz or Con
PerlJam nwc10: you have the con
nwc10 I shall store all my PRN in it 15:02
dalek ecs: c34d281 | (Lucas Buchala)++ | S02-bits.pod:
Add literal unicode chars in S02/Bracketing Characters
ecs: 008870f | (Zoffix Znet)++ | S02-bits.pod:
Merge pull request #91 from lucasbuchala/unicode1

Add literal unicode chars in S02/Bracketing Characters
15:11 coffee` left 15:12 raiph joined
Ven FROGGS: gist.github.com/wryk/e04068009417edc798b5 15:12
FROGGS: (updated with the command) 15:14
15:15 fhelmberger left, fhelmberger joined
PerlJam Ven: does Client.pm really only contain that text? 15:16
15:16 coffee` joined
Ven PerlJam: yes 15:16
15:17 wryk joined
FROGGS m: say LoL 15:18
camelia rakudo-moar 6caf1d: OUTPUT«(LoL)␤»
PerlJam FROGGS++
FROGGS Ven: that's your issue
Ven FROGGS: ? 15:19
FROGGS btw, I get:
perl6 --ll-exception -Ilib t/00-basic.t
This representation (Null) does not support associative access
at src/Perl6/World.nqp:523 (/home/froggs/dev/nqp/install/share/nqp/lib/Perl6/World.moarvm:install_package:172)
m: class LoL::Meh
camelia rakudo-moar 6caf1d: OUTPUT«===SORRY!===␤This representation (Null) does not support associative access␤»
FROGGS m: class Int::Meh
camelia rakudo-moar 6caf1d: OUTPUT«5===SORRY!5=== Error while compiling /tmp/Begq7NWGKV␤Unable to parse class definition␤at /tmp/Begq7NWGKV:1␤------> 3class Int::Meh7⏏5<EOL>␤ expecting any of:␤ generic role␤»
FROGGS m: class Parcel::Meh
camelia rakudo-moar 6caf1d: OUTPUT«===SORRY!===␤This representation (Null) does not support associative access␤»
moritz wtf.