»ö« 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. |
|||
tadzik | sjn: hahaha, awesome :) | 00:01 | |
I hope she'll show up | 00:02 | ||
sjn | yeah, me too :) | 00:08 | |
her twitter profile even says "loves sarcasm", so she might just do it :D | |||
00:12
thelazydeveloper left
00:29
drbean joined
00:32
tokuhiro_ joined
00:35
am0c left
00:36
spider-mario left
|
|||
dalek | kudo/nom: eb6c7d4 | (Geoffrey Broadwell)++ | src/core/Str.pm: Fix off-by-one in one of the Str.Numeric error messages |
00:36 | |
kudo/nom: c91826d | (Geoffrey Broadwell)++ | src/core/Str.pm: Support complex numbers (including pure imaginary numbers) in Str.Numeric |
|||
00:57
thou left
01:06
scott_ joined,
scott_ is now known as Guest38562
01:52
benabik left
|
|||
japhb | r: class A is Num { }; class B is Str { }; .^mro.say for A, A.new(), B, B.new(); | 01:53 | |
p6eval | rakudo c91826: OUTPUT«A() Num() Cool() Any() Mu()Num() Cool() Any() Mu()B() Str() Cool() Any() Mu()B() Str() Cool() Any() Mu()» | ||
01:53
benabik joined
|
|||
japhb | What the heck?!? | 01:53 | |
That looks like a Rakudobug, but an awfully strange one. Anyone have an explanation or differing opinion? | 01:54 | ||
sorear | r: class A is Num { }; say A.new.WHAT | 01:55 | |
p6eval | rakudo c91826: OUTPUT«Num()» | ||
01:56
replore_ joined
02:06
Guest1438 left
02:11
tokuhiro_ left
02:17
benabik left,
replore_ left
02:25
benabik joined
02:26
drbean left
|
|||
dalek | rl6-roast-data: 2edeaf2 | coke++ | p (2 files): today |
02:29 | |
02:34
raiph joined
|
|||
raiph | phenny, tell [Coke] "I'm kind of distracted with perl6 stuff at the moment." (2010) --> blog.timbunce.org/tag/perl6/ | 02:35 | |
phenny | raiph: I'll pass that on when [Coke] is around. | ||
02:36
Chillance left
02:39
replore_ joined
02:41
Patterner left
02:42
raiph left
|
|||
[Coke] | danke | 02:42 | |
phenny | [Coke]: 02:35Z <raiph> tell [Coke] "I'm kind of distracted with perl6 stuff at the moment." (2010) --> blog.timbunce.org/tag/perl6/ | ||
02:43
Psyche^ joined,
Psyche^ is now known as Patterner
|
|||
[Coke] | yah, that was the db stuff that I didn't think went anywhere. | 02:43 | |
02:48
orafu left,
orafu joined
02:51
drbean joined
02:59
benabik_ joined,
benabik left,
benabik_ is now known as benabik
03:15
localhost left
03:16
localhost joined
03:18
leprevost joined,
jeffreykegler left
03:58
quietfanatic_ joined
03:59
quietfanatic left
|
|||
TimToady | japhb: I don't see that .Numeric needs to handle <> | 04:00 | |
04:12
raiph joined
04:13
crab2313 joined
04:14
raiph left
04:20
fgomez joined
04:23
skids left
04:28
replore_ left
04:49
replore joined
|
|||
diakopter | I told the blogger girl she shouldn't have used the photos without permission, and she replied that she agreed and then took all the photos off the post | 04:59 | |
05:05
GlitchMr joined
05:09
am0c joined
05:12
jeffreykegler joined
05:13
leprevost left,
jeffreykegler left
|
|||
sorear | good of her | 05:17 | |
05:23
birdwindupbird joined
05:37
crab2313 left
05:56
adu joined
06:11
SamuraiJack joined,
brrt joined
|
|||
moritz | \o | 06:17 | |
06:21
kaleem joined
06:28
wtw joined
|
|||
japhb | TimToady, excellent, that's what I'd hoped, thank you. | 06:33 | |
masak, Finally getting a chance to read your July blog series. For July 2, in the section 'Moving disks', the last two bullet point links are the same (both point to the first commit of the two). Also, the next two paragraphs explain the !apply method, which is not in evidence yet at that point. | 06:34 | ||
masak, ah, appears to occur in commit caea86f6 | 06:44 | ||
06:49
kaleem left
06:53
brrt left
06:57
SamuraiJack left
06:58
SamuraiJack joined
|
|||
japhb | masak, again in July 2, the last two bullet point links in the 'Command-line client' section are the same (both pointing to the first commit of the two again). | 07:01 | |
07:03
kaleem joined
|
|||
felher | moritz: about 34e8d4d83fe8e0e79fd75c1f3ea98d0f3445fd4d : is "+@($rhs) && [...] && +@($rhs) == 2" really what you wanted? | 07:05 | |
mhasch | sjn++ for inviting the stitch bi^h^h girl to a hackathon | 07:06 | |
07:09
replore left
|
|||
masak | good morning, #perl6. | 07:12 | |
japhb: thanks. will fix. this seems to have happened a lot in my copy-pasting of links. :/ | 07:13 | ||
japhb | :-) | ||
07:14
brrt joined
|
|||
moritz | felher: I guess reordering the alternatives is a better fix | 07:24 | |
felher | moritz: :) | 07:26 | |
moritz | spectesting now | 07:28 | |
GlitchMr | Just wondering, does Perl 6 have something like unimport? | 07:32 | |
moritz | it has lexical scopes | 07:35 | |
you can just import stuff into an inner scope | |||
and close the scope if you don't want the stuff anymore | 07:36 | ||
in due time we will need some routine or macro that is triggered by 'no foo;' | |||
but that's not yet specced, afaict | |||
07:38
adu left
|
|||
dalek | kudo/nom: 4e14470 | moritz++ | src/Perl6/Actions.pm: simplify code from commit 34e8d4d8, felher++ |
07:49 | |
07:49
hoelzro|away is now known as hoelzro
|
|||
felher | moritz++ :) | 07:49 | |
07:56
adu joined
|
|||
TimToady | added a second solution to rosettacode.org/wiki/Sorting_algori...ort#Perl_6 (dunno if the first solution even works--it looks kinda bogus to me) | 07:57 | |
I think this is the first time I've used ^«@list | 07:58 | ||
it was originally 2 X..^ @list | |||
which is kinda ugly | |||
s/2/0/ | |||
08:13
adu left
|
|||
felher | ^<<@list is sweet :) | 08:13 | |
TimToady++ #additional entry | |||
felher -> off to catch the bus. | 08:14 | ||
masak | ooh, ^« | 08:17 | |
I haven't seen that thought expressed before in code. | 08:18 | ||
TimToady++ | |||
08:22
nimiezko joined
|
|||
GlitchMr | ^<<? | 08:22 | |
tadzik | I'm not sure what it does | ||
huf | does it create a 0..n list for each element of @list? | ||
GlitchMr | ^<<(2, 3) gives 0 1 0 1 2 | ||
^2 is 0 1 | 08:23 | ||
^3 is 0 1 2 | |||
huf | yeah so 0..n-1 | ||
GlitchMr | This is combined and we get a list | ||
huf | oh and concats it all together? | ||
GlitchMr | But if I would see ^« in real code... well... | 08:24 | |
Those operators are confusing | |||
TimToady | well, if you know what ^ is, and what « is, it's not confusing | ||
huf | yeah, you can sortof guess at the meaning if you only vaguely recall what those mean | 08:25 | |
which is pretty good | |||
GlitchMr | It's worse than 1, 2 X~ 3, 4 | ||
arnsholt | r: say ^<<(2,3) | ||
p6eval | rakudo 4e1447: OUTPUT«0..^2 0..^3» | ||
GlitchMr | When will my Perl 6 compile... I'm still using Rakudo Star 2011.07 on virtual machine] | 08:26 | |
glitchmr@strawberry ~/g/rakudo> perl6 | 08:27 | ||
fish: Job 1, 'perl6' terminated by signal SIGSEGV (Address boundary error) | |||
wat | |||
I guess I did something wrongly during compilation | |||
huf | get a passport... :) | ||
GlitchMr | But why make test works if perl6 doesn't? | ||
08:28
frettled left,
frettled joined
|
|||
TimToady ==> sleep; | 08:30 | ||
mhasch | o/ | ||
GlitchMr | ^Inf X** 2 ==> grep * %% 3 | 08:33 | |
I'm almost sure I do something wrongly | |||
08:34
nimiezko left
|
|||
GlitchMr | Should make do nothing? | 08:34 | |
oh, right... I called make two times | 08:35 | ||
08:35
mattp_ joined
08:38
bbkr joined
|
|||
GlitchMr | ok, I found problem. I accidentally gave wrong directory as --prefix | 08:39 | |
I written /home/glitchmr/perl6 when I wanted /home/glitchmr/rakudo | |||
I have* | |||
NQP has been built and installed. | 08:42 | ||
===SORRY!=== | |||
NQP revision 2012.07-278-ge401db5 required (currently 2012.07-227-g26a8bc1). | |||
So, I've installed NQP but it's too old | |||
masak | do it again, but right this time? | 08:43 | |
08:46
nimiezko joined,
mhasch left
08:48
nimiezko left
|
|||
hoelzro | I just noticed the "GCC Bug" section on the Rakudo site | 08:52 | |
has that been there long? | |||
arnsholt | GCC bug section? | 08:56 | |
GlitchMr | It works :) | 08:57 | |
hoelzro | "Note On GCC Version 4.1.2/4.1.3" on rakudo.org/how-to-get-rakudo/ | ||
I was wondering if that has been there long | 08:58 | ||
if so, I'll feel quite dumb | |||
GlitchMr | Who uses GCC 4.1 anymore? | ||
hoelzro shrugs | 08:59 | ||
I saw this same bug a few weeks ago, though | |||
on 4.7 | |||
GlitchMr | Even stable Debian has GCC 4.4.5-1 | ||
Debian stable* | 09:00 | ||
Also... gcc.gnu.org/gcc-4.1/ | 09:01 | ||
I don't see GCC 4.1.3 on this page for some reason | |||
upload.wikimedia.org/wikipedia/comm....10_de.png | |||
Interesting... | |||
tadzik | well, 7.10 | 09:02 | |
GlitchMr | my Car $car = Car.new | 09:26 | |
You can write Java in Perl 6 | |||
masak | yes. | ||
or FORTRAN. or Lisp. | |||
sorear | now, now, GlitchMr | 09:27 | |
that's an unfair comparison | |||
GlitchMr | I should go back to C | ||
Car car = {} | |||
sorear | Java was designed to strongly support static typing, and it can intuit the "my", you don't need to explicitly *say* you're declaring a global | 09:28 | |
s/global/lexicaal/ | |||
masak | GlitchMr: "go back to"? are you only doing one language at a time on principle? | ||
that sounds terribly boring. :) | |||
GlitchMr | Or Python | ||
car = Car() | |||
tadzik | (car cdr) | ||
masak | tadzik++ | 09:29 | |
masak tries to assume GlitchMr is rambling, not trolling | |||
09:30
mhasch joined
|
|||
GlitchMr | But not like length of class construction matters | 09:31 | |
masak | ok, let's assume that sigils and 'my' are non-negotiable. | 09:32 | |
r: class Car { method postcircumfix:<( )>() { self.new } }; say my $car = Car(); # like Python | |||
p6eval | rakudo 4e1447: OUTPUT«Too many positional parameters passed; got 2 but expected 1 in method postcircumfix:<( )> at /tmp/SfG1jUHFMe:1 in <anon> at src/gen/BOOTSTRAP.pm:824 in any <anon> at src/gen/BOOTSTRAP.pm:820 in block at /tmp/SfG1jUHFMe:1» | ||
masak | r: class Car { method postcircumfix:<( )>($c) { self.new } }; say my $car = Car(); # like Python | 09:33 | |
p6eval | rakudo 4e1447: OUTPUT«Car.new()» | ||
masak | GlitchMr: better? | ||
GlitchMr | r: class Car { has $.colour; method postcircumfix:<( )>($c) { self.new } }; say my $car = Car(:colour<yellow>); # like Python | 09:34 | |
p6eval | rakudo 4e1447: OUTPUT«Car.new(colour => Any)» | ||
masak | r: class Car { has $.colour; method postcircumfix:<( )>($c) { self.new(|$c) } }; say my $car = Car(:colour<yellow>) | 09:35 | |
p6eval | rakudo 4e1447: OUTPUT«Car.new(colour => "yellow")» | ||
09:39
fhelmberger joined
09:43
daxim joined
09:51
fhelmberger left
|
|||
felher | Well, one can at least write "my Car $car .= new()", if one wants to use normal Perl6 and not write "Car" twice... | 09:58 | |
masak | yes, that's the idea. | 10:00 | |
that was even in the Apocalypses. | |||
from the idea of .= doing initialization the way it does, we essentially got type objects like we have them today. | 10:01 | ||
felher | masak++ # interesting background information :) | 10:03 | |
masak | your friendly neighborhood Perl 6 historian. | ||
felher | :D | 10:04 | |
10:05
Guest38562 left
10:06
MayDaniel joined
10:17
GlitchMr left
10:55
spider-mario joined
11:00
brrt left
11:11
JimmyZ joined
|
|||
[Coke] | doin the things a histor can. | 12:05 | |
masak | :P | ||
12:13
gongyiliao left
12:21
xinming_ joined
12:24
xinming left
12:59
leprevost joined
13:15
kaleem left
13:19
bluescreen10 joined
13:20
fgomez left
13:32
Chillance joined
13:36
skids joined
13:41
leprevost left
13:44
leprevost joined
13:53
tokuhiro_ joined
13:58
leont joined
14:03
cognominal__ joined
14:06
cognominal_ left
14:12
SamuraiJack left,
brrt joined,
brrt left
14:13
adu joined
14:14
brrt joined,
SamuraiJack joined
|
|||
masak | quiet day today. | 14:22 | |
14:22
bluescreen10 left
|
|||
masak | jnthn++ and I are doing a CQRS hackathon today, by the way :) | 14:22 | |
14:23
preflex_ joined,
preflex_ is now known as preflex
|
|||
moritz | \o | 14:24 | |
moritz back from zoo in Hannover | |||
jnthn | .oO( Hannover...Hangover... ) |
14:25 | |
Hope it was a nice zoo trip :) | |||
brrt | \o moritz | ||
masak .oO( zoff im zoo in Hannover ) | 14:30 | ||
phenny: de en "Zoff im Zoo"? | |||
phenny | masak: "Down and Out at the Zoo" (de to en, translate.google.com) | ||
masak | :D | ||
tadzik | er, is Zoff so hard? | ||
14:30
bluescreen10 joined
|
|||
masak | "Down and out" sounds like a description of the arrow on my "Enter" key. | 14:31 | |
tadzik | more like Down and in, imho :) | 14:32 | |
masak | really? you *in*dent to the right. | 14:33 | |
tadzik | hmm, well | ||
okay. Picture a car going from left to right. Is it going "to", or "from"? | 14:34 | ||
masak | east :P | ||
tadzik | :) | ||
14:34
wtw left
|
|||
masak | but yeah. it's going "to". | 14:38 | |
tadzik | that's why Enter is Return | ||
the car example works because we're used to typing from left to right | 14:39 | ||
arabic people would probably think another way around | |||
arnsholt | Apparently there was a commercial for some painkiller tablets that failed horribly in the Middle East | 14:40 | |
masak | .werbeH dnA. | ||
arnsholt: because they got the before/after direction wrong? :) | 14:41 | ||
tadzik | :) | ||
arnsholt | It was a comic, going from left to right: man has head-ache, man takes pill, man is happy =) | ||
tadzik | :D | ||
masak | arnsholt: I heard the same story but against child obesity. | ||
tadzik | and you though comic people should know their stuff | ||
I mean, Manga | |||
daxim | enwp.org/Down_and_out_in_the_magic_kingdom | ||
arnsholt | masak: Heh. Might be apocryphal | ||
masak | arnsholt: like the "Nova car" one in Brazil. | 14:42 | |
phenny: en de "Down and out in the magic kingdom"? | |||
phenny | masak: "Zoff in der Magic Kingdom" (en to de, translate.google.com) | ||
masak | :P | ||
moritz | "no va" -- doesn't work? | ||
arnsholt | Oh, right ^_^ | ||
jnthn | doesn't go, iirc :) | ||
masak | aye. | ||
daxim | www.snopes.com/business/misxlate/nova.asp | 14:43 | |
masak | snopes++ | ||
moritz | plus.google.com/u/0/11098103006171...aSKeg4vQtz # software liberalism and conservativsm | 14:46 | |
felher | jnthn: in multidispatch.c, should one ever get to >>error = "Circularity detected in multi sub types.";<< ? :) | ||
jnthn | felher: It's relatively hard to construct a case where it happens. | 14:47 | |
14:47
adu left
14:48
adu joined
|
|||
jnthn | It's a legit check, but using the built-in meta-objects shouldn't really lead to it. | 14:48 | |
(So if you've hit it and are surprised to have done so, I'd be interested to know how you managed it.) | 14:49 | ||
tadzik | . o O ( This car is a no-go ) | 14:50 | |
14:52
thou joined
14:53
adu left
|
|||
moritz | iirc I submitted a bug report where that error was triggered | 14:53 | |
jnthn | moritz: How long ago? | ||
14:53
adu joined
|
|||
jnthn | I know I fixed one involving native types a whlie back. | 14:53 | |
felher | jnthn: here you go: gist.github.com/3314278 <- i don't know if the fix really is a fix or if you would do it in some other way. I stumbled upon it and hunted it down just for fun without diving in too deep because i don't have that much free time. I couldn't resist to try, though :) | ||
moritz | maybe two or three month ago? | 14:54 | |
felher | I just weighted slurpyness more than the need to bind_check... :) | ||
jnthn | felher: that's a genuine bug | ||
14:55
adu left
|
|||
jnthn | not surprised, given how many things people have insisted work in arity related bits of calcs though... :S | 14:55 | |
14:55
adu joined
|
|||
felher | :) | 14:55 | |
jnthn looks over the patch | |||
Does it spectest cleanly, ooc? | |||
felher | jnthn: it does :) | 14:56 | |
jnthn | Seems reasonable. | ||
felher++ # fixing a fehler | 14:57 | ||
I'll apply it this evening, if nobody beats me to it. | |||
14:57
leprevost left,
kaare_ joined
|
|||
felher | \o/ :) | 14:57 | |
moritz | rt.perl.org/rt3/Ticket/Display.html?id=107638 # it was 7 months ago | 14:58 | |
jnthn | moritz: Yes, that was the one I was thinking of. | ||
Was fixed fairly swiftly. :) | |||
moritz | indeed, jnthn++ | 14:59 | |
felher | jnthn: thnx. I'll do another spectest. Just to be sure. I don't want my first internals patch to break stuff just because i did screw up spectesting :) | ||
jnthn | A spectest to cover this would also be good :) | 15:01 | |
moritz does a spectest run with that patch | |||
15:02
ryan_ joined
15:03
tokuhiro_ left,
JimmyZ left
15:04
ryan_ left
15:05
topo joined
|
|||
dalek | kudo/nom: 8f97220 | (Felix Herrmann)++ | src/binder/multidispatch.c: fix issue in binder/multidispatch.c where A is narrower than B is narrower than A Signed-off-by: Moritz Lenz [email@hidden.address] |
15:16 | |
masak | felher++! | 15:18 | |
moritz | jnthn, felher: applied that for you | ||
jnthn | felher++, moritz++ | ||
15:20
snearch joined
|
|||
felher | jnthn++, moritz++ # review, spectest, apply :) | 15:20 | |
moritz only did the latter two :-) | 15:21 | ||
15:22
raiph joined,
snearch left
15:28
brrt left
15:29
jeffreykegler joined
|
|||
sorear | good * #perl6 | 15:35 | |
felher | o/ | ||
masak | good morning, sorear. | 15:36 | |
jnthn | o/ sorear | 15:37 | |
TimToady | * | ||
sorear | o/ | 15:38 | |
15:43
leprevost joined
15:45
hoelzro is now known as hoelzro|away
15:49
raiph left
|
|||
moritz | r: (-> $p { .key } )( (a => 1) ) | 15:49 | |
p6eval | rakudo 4e1447: OUTPUT«No such method 'key' for invocant of type 'Any' in block at /tmp/MARkAeVDKG:1» | ||
moritz managed a similar block to produce a NPMCA | 15:50 | ||
r: ( (a => 1) ).map: -> $p { .key } | |||
p6eval | rakudo 4e1447: ( no output ) | ||
moritz | r: say ( (a => 1) ).map: -> $p { .key } | ||
p6eval | rakudo 4e1447: OUTPUT«No such method 'key' for invocant of type 'Any' in block at /tmp/4r0OULtunU:1» | ||
15:50
thelazydeveloper joined
|
|||
moritz | r: say ( (a => 1) ).map: -> $p { say(.key) } | 15:50 | |
p6eval | rakudo 4e1447: OUTPUT«No such method 'key' for invocant of type 'Any' in block at /tmp/7F9ub5EIJ0:1» | ||
15:51
crab2313 joined
|
|||
japhb | jnthn, did you see the "Num takes over when you inherit from it" issue I found last night? | 15:53 | |
moritz | r: class A is Num { }; say A.new.WHAT | 15:54 | |
p6eval | rakudo 4e1447: OUTPUT«Num()» | ||
moritz | sorear++ golfed it down | ||
just needs a better contructor | |||
japhb | ? | ||
I don't understand that last comment, moritz | |||
moritz | class Num needs a better constructor | ||
japhb | Oh, it has a specialty one of its own? Freaky. | 15:55 | |
japhb goes to look at it. | |||
jnthn | multi method new() { nqp::p6box_n(0) } | ||
d'oh. :) | |||
moritz | needs to be | ||
nqp::box_n(self, 0) | |||
jnthn | nqp::box_n(0, self) | ||
moritz | oh, the other way round? | ||
jnthn | I think so | 15:56 | |
r: nqp::box_n(0, Num) | |||
p6eval | rakudo 4e1447: ( no output ) | ||
jnthn | r: nqp::box_n(Num, 0) | ||
p6eval | rakudo 4e1447: OUTPUT«Cannot unbox a type object as a native num in any <anon> at src/gen/BOOTSTRAP.pm:100 in block at /tmp/03G4QmRIbD:1» | ||
jnthn | Yeah | ||
jeffreykegler | Where does one go for the latest, freshest S05 synopsis? | 16:15 | |
moritz | perlcabal.org/syn/S05.html | ||
github.com/perl6/specs/blob/master...-regex.pod is the source | 16:16 | ||
jeffreykegler | Ok, I though someone earlier was diss'ing perlcabal's copy as stale. (It's the one I have) | ||
TimToady | masak: I've got irclog.perlgeek.de/perl6/2012-08-10#i_5889088 the other way around my head, so I guess we need citations :) | 16:17 | |
masak | TimToady: oh! | ||
good to know. | |||
TimToady | coulda been one of those things rattling around in my head that I didn't say loud enough before .= happened though | 16:18 | |
masak | I think I just assumed that it was one of those "given that we want this syntax, what does Car have to be" things? | ||
s/\?/./ | |||
a bit like .[*-1] led to whatever closures. | |||
TimToady | but to me the important thing is the ability to reason about Socrates isa Man, and .= is epiphenomenal | 16:19 | |
I don't usually install a syntax till I've wanted it for several different reasons | 16:20 | ||
masak | nod | ||
[Coke] | how much effort to get rakudo to support <== feeds? | 16:21 | |
TimToady | but by the necessities of communication, people tend to see the syntax first | ||
16:21
bbkr left
|
|||
TimToady | [Coke]: I thought it did, for limited cases | 16:21 | |
or maybe it was just ==> ? | 16:22 | ||
r: 1..3 ==> say | |||
p6eval | rakudo 8f9722: OUTPUT«1..3» | ||
TimToady | r: say <== 1..3 | ||
16:22
birdwindupbird left
|
|||
p6eval | rakudo 8f9722: OUTPUT«===SORRY!===Preceding context expects a term, but found infix <== insteadat /tmp/Ru3a7KUahq:1» | 16:22 | |
TimToady | yeah | ||
[Coke] | r: say (.WHAT <== "again") # --samuel jackson | 16:23 | |
p6eval | rakudo 8f9722: OUTPUT«===SORRY!===Sorry, do not know how to handle this case of a feed operator yet. at line 2, near " \"again\") "» | ||
TimToady | which is funny, since you could just s[ '<==' ] = '' and it'd work | ||
r: say() <== 1..3 | 16:24 | ||
p6eval | rakudo 8f9722: OUTPUT«1..3» | ||
TimToady | there we go | ||
[Coke] | r: say .WHAT "again" | ||
p6eval | rakudo 8f9722: OUTPUT«===SORRY!===Confusedat /tmp/Hqv3mv3KzS:1» | ||
[Coke] | r: say (.WHAT "again") | ||
p6eval | rakudo 8f9722: OUTPUT«===SORRY!===Unable to parse postcircumfix:sym<( )>, couldn't find final ')' at line 2, near "\"again\")"» | ||
TimToady | r: say WHAT "again" | ||
p6eval | rakudo 8f9722: OUTPUT«Str()» | ||
[Coke] | hurm. why no dot there | 16:25 | |
? | |||
TimToady | it's a macro really | ||
jnthn | std: say <== 1..3 | ||
p6eval | std f43a358: OUTPUT«===SORRY!===Unable to parse quote words at /tmp/f8LccSH_p6 line 1:------> say ⏏<== 1..3Couldn't find final '>'; gave up at /tmp/f8LccSH_p6 line 1 (EOF):------> say <== 1..3⏏<EOL>Parse failedFAILED 00:00 41… | ||
TimToady | so more naturally in function form than method form | ||
jnthn | Was gonna say... :) | ||
[Coke] | I know it's supposed to be a macro, but I didn't think it really was a macro anywhere. | ||
jnthn | .WHAT is | ||
To the degree that the compiler magics it | |||
TimToady | we want people to think of those as macros in any case | 16:26 | |
masak | the more I understand about macros, the less I understand how .WHAT can be one. | ||
jnthn | It's not a macro in *that* sense. | 16:28 | |
TimToady | macro ≅ special to the compiler | ||
jnthn | It's an AST transformation. | ||
So it's close enough. | |||
TimToady wonders if <== could be considered heavy enough to override quote word parsing in term position | 16:31 | ||
at one point we considered feed operators to be terminators | 16:32 | ||
sorear | I lean towards yes | ||
I mean, LTM | |||
<-> in term position isn't quotewords | 16:33 | ||
std: <-> $x { $x++ } # let me check that assertion | |||
p6eval | std f43a358: OUTPUT«ok 00:00 42m» | ||
TimToady | std: say <-> $x { $x++ } | 16:35 | |
p6eval | std f43a358: OUTPUT«ok 00:00 43m» | ||
masak | I also vote for "heavy enough". | 16:36 | |
16:36
leont left
|
|||
TimToady | std: sort ==> sort | 16:38 | |
p6eval | std f43a358: OUTPUT«===SORRY!===Preceding context expects a term, but found infix ==> instead at /tmp/u13Yo655o_ line 1:------> sort ⏏==> sortParse failedFAILED 00:00 41m» | ||
TimToady | std: sort or sort | 16:39 | |
p6eval | std f43a358: OUTPUT«===SORRY!===Undeclared routine: 'or' used at line 1Check failedFAILED 00:00 41m» | 16:40 | |
16:42
adu left
|
|||
dalek | c: 3d6fb61 | moritz++ | htmlify.pl: [htmlify] write disambiguation files for example doc.perl6.org/Str now says it is a type and a method |
16:43 | |
[Coke] | -> (12:43) From Kazrak, to random: | 16:44 | |
- "The First Rule of Robot Fight Club is you DO NOT TALK about Robot Fight | |||
- Club, or, through inaction, allow Robot Fight Club to be talked about." | |||
masak | *lol* | 16:45 | |
sorear | haha | 16:46 | |
moritz | [Coke]++ | ||
TimToady | much merriment all around at the Wall Nuthouse | ||
masak | today's mini-challenge: find another funny merge of two memes according to the same pattern. | 16:47 | |
moritz | nr: say (1e2 * 1.FatRat).WHAT | 16:48 | |
p6eval | rakudo 8f9722, niecza v19-15-g051783d: OUTPUT«Num()» | 16:49 | |
mhasch | walnuts are great, Wall nuts maybe more so :-) | ||
[Coke] | insaniquariumguide.com/pvz/index.ph...e=Wall-nut # Any relation? | 16:52 | |
16:53
REPLeffect left
|
|||
dalek | c: b7cae64 | moritz++ | lib/FatRat.pod: document FatRat |
16:53 | |
kudo/nom: e5e9e79 | moritz++ | src/core/Num.pm: make Num.new better suitable for subclassing. japhb++ and sorear++ |
16:54 | ||
16:54
REPLeffect joined
|
|||
masak | dinner & | 16:59 | |
moritz | on the upside, features of doc.perl6.org and volume of the docs are increasing | 17:04 | |
on the downside it takes now 8.5 minutes to run htmlify | |||
dalek | c: 91e7c16 | moritz++ | lib/Failure.pod: document Failure |
17:11 | |
moritz profiles htmlify.pl | 17:12 | ||
wow, the most time is consumed in... *drumrolls*... method close | 17:17 | ||
ie writing files | |||
and 3% in the get_integer vtable | 17:18 | ||
there might be something to gain here by unboxing instead | 17:19 | ||
moritz.faui2k3.org/tmp/htmlify.profile | 17:20 | ||
now if I could figure out where that's called from, that would help tremendously | 17:43 | ||
17:44
crab2313 left
17:50
Tedd1 joined
17:52
birdwindupbird joined
|
|||
TimToady | I sure hope the new driving instructions they're sending to the Curiosity rover don't allow texting while driving. | 17:57 | |
masak: ^ there's one | 17:58 | ||
18:00
jeffreykegler left
|
|||
diakopter | oh, the instructions are texts | 18:06 | |
took me a while | |||
TimToady | Curiosity was supposedly tweeting during the landing | ||
rjbs | Think it's on FourSquare? | 18:09 | |
Doesn't look like it. :( | 18:10 | ||
moritz | jnthn, pmichaud: List.gimme calls the get_integer vtable | ||
set $I502, $P514 | |||
perl6_booleanize $P508, $I502 | |||
eeks | 18:11 | ||
18:12
jeffreykegler joined
|
|||
moritz | gist.github.com/3316379 | 18:15 | |
I'm not sure if that's a bug in the codegen or in List.gimme | 18:16 | ||
but we surely should avoid it | |||
$ ack 'set \$I\d+, \$P\d+$' src/gen/CORE.setting.pir |wc -l | 18:18 | ||
130 | |||
18:22
sirrobert joined
18:24
daxim left
18:26
sirrobert left
18:27
jeffreykegler left
18:36
jeffreykegler joined,
bluescreen10 left
18:37
bluescreen10 joined
19:14
bluescreen10 left
19:19
jeffreykegler left
19:20
jeffreykegler joined
19:22
bluescreen10 joined
|
|||
[Coke] | radar.oreilly.com/2012/08/damian-co...-perl.html | 19:25 | |
Damian Conway weighs in on new features, best practices and Perl’s future | |||
Moose, Regular Expressions and how Perl 6 is influencing Perl 5 | |||
... fastest dynamic language sounds familiar, which means someone already posted this, didn't they. ;) | |||
19:26
jeffreykegler left
19:29
kaare_ left
19:30
leont joined
19:43
leprevost left
|
|||
dalek | d: 2e62059 | larry++ | / (3 files): recover from several months of specrot The bootstrap of STD was completely hosed by the sigspace and +% changes, as well as various other dysfunctions. We now have a complete bootstrap of the new sigspace model, and a partial implementation of +% (sufficient only to bootstrap a STD containing +% rather than **). With the new sigspace rules we can rewrite many of the tokens to rules and still preserve LTM correctness. |
20:01 | |
[Coke] listens to the damien video, and wonders why there is an... envelope wrapping the video. :P | 20:03 | ||
flussence | if they didn't put that there it'd show all the ugly wires and props in the recording studio! | 20:06 | |
diakopter | I find it interesting that many tokens became rules | 20:10 | |
cognominal__ | I just got burned in javascript by 1.mymethod() because '1.' is interpreted as a token. How Perl 6 interprets that? I thought it did LTM. Or may be I don't understant what it entails. | 20:11 | |
p6: say 1.Int | 20:12 | ||
p6eval | rakudo e5e9e7, niecza v19-15-g051783d: OUTPUT«1» | ||
moritz | it does the sensible thing :-) | ||
cognominal__ | but how? | ||
moritz | I guess with LTM :-) | 20:13 | |
cognominal__ | so it backtracks? | ||
moritz | I think it parses the whole <term><postfixish> as a single LTM token | ||
at least that would be my first guess | |||
flussence | eval: print 1.2.3.4.5 # not sure what to expect here | ||
buubot_backup | flussence: 1 | ||
flussence | wat. | ||
huf | so it parses the 1 and then looks for .Int before it looks to see if a float literal follows? | ||
TimToady | std: 1. | 20:15 | |
p6eval | std f43a358: OUTPUT«===SORRY!===Decimal point must be followed by digit at /tmp/F76BTxTFrw line 1:------> 1.⏏<EOL>Unsupported use of . to concatenate strings; in Perl 6 please use ~ at /tmp/F76BTxTFrw line 1 (EOF):------> 1.⏏<EOL>… | ||
TimToady | that's part of it | ||
huf | or when parsing the ., it doesnt immediately figure out what it is, only one token after it? | ||
cognominal__ | ho, so the trick is to require a digit after the dot. | 20:16 | |
20:18
MayDaniel left
|
|||
moritz has submitted a rakudo ticket for the LTA codegen | 20:18 | ||
20:18
benabik left
20:19
benabik joined
|
|||
TimToady | STD now does sigspace well enough for copying, I think | 20:21 | |
dalek | kudo/nom: cb065c8 | moritz++ | src/core/control.pm: avoid a vtable call in get_integer |
20:22 | |
rl6-roast-data: cc86974 | coke++ | p (2 files): today |
20:34 | ||
20:36
leont left
20:39
Targen left,
PacoAir joined
20:40
Targen joined
|
|||
dalek | href="https://perl6.org:">perl6.org: aadb728 | (John Gabriele)++ | source/ (2 files): change some headings from h2/h4 --> h3 to match rest of the site |
20:44 | |
20:53
birdwindupbird left
21:00
MayDaniel joined
21:02
skids left
21:18
SamuraiJack left
21:19
adam7504 joined,
adam7504 left,
adam7504 joined
21:33
adam7504 left
21:44
bluescreen10 left
21:46
tokuhiro_ joined
21:50
PacoAir left
21:51
PacoAir joined
21:58
PacoAir_ joined,
PacoAir_ left,
PacoAir_ joined
21:59
PacoAir_ left,
PacoAir left
22:07
tokuhiro_ left
22:08
fgomez joined
22:09
PacoAir joined
22:23
PacoAir_ joined,
PacoAir left,
PacoAir_ is now known as PacoAir
22:31
tokuhiro_ joined
|
|||
diakopter listens for the other shoe to drop | 22:36 | ||
22:39
quietfanatic_ left,
bbkr joined
|
|||
TimToady | what if it's a horse? | 22:49 | |
geekosaur | or an Andorian | ||
TimToady | or a Dufflepud | 22:50 | |
diakopter | well, no one was around to hear it anyway, so it must not have made a sound | ||
benabik | If a shoe falls in the middle of the forest and nobody's around, who waits for the other one? | 22:51 | |
22:52
whiteknight joined
|
|||
diakopter | I don't know, but earlier I heard a billion angels fall off the head of a pin, when it dropped. | 22:52 | |
22:53
whiteknight is now known as Guest45820
|
|||
jnthn | evening o/ | 22:54 | |
diakopter | oy | ||
22:57
Moukeddar joined,
Moukeddar left
23:01
MayDaniel left
23:07
ChanServ sets mode: +o diakopter,
diakopter sets mode: -o diakopter
23:15
MayDaniel joined
23:25
quietfanatic joined
23:27
fgomez left,
fgomez joined
23:28
MayDaniel left
23:30
PacoAir_ joined,
tokuhiro_ left
23:31
PacoAir left,
PacoAir_ is now known as PacoAir
23:43
sudokode is now known as nub
23:46
fgomez left
23:52
PacoAir left
|