»ö« | perl6-projects.org/ | nopaste: paste.lisp.org/new/perl6 | evalbot usage: 'perl6: say 3;' or rakudo: / pugs: / std: | irclog: irc.pugscode.org/ | UTF-8 is our friend!
Set by sjohnson on 21 August 2009.
00:03 KatrinaTheLamia left 00:08 japhb left 00:09 KatrinaTheLamia joined 00:14 nihiliad joined
pmichaud rakudo: class A { }; multi sub infix:<+>(A $a, $b) { 5 }; say A + 1; 00:16
p6eval rakudo 0d4fe0: OUTPUT«5␤»
pmichaud \o/
rakudo: class A { }; multi sub infix:<+>(A $a, $b) { 5 }; say (* + 1).(A); 00:18
p6eval rakudo 0d4fe0: OUTPUT«5␤»
pmichaud \o/!
00:24 ihrd joined 00:25 Avada left
dalek kudo: 81d6216 | pmichaud++ | (6 files):
Move prefix:<-> into the setting.
00:32
00:37 Whiteknight left
pmichaud rakudo: say -(3|4) 00:40
p6eval rakudo 0d4fe0: ( no output )
quietfanatic Is there a way to make a tail call in p6? 00:43
like goto &sub in p5?
pmichaud yes
(looking it up again in S06)
nextsame and nextwith 00:44
quietfanatic But that just calls the next multi, doesn't it? 00:45
pmichaud right
I guess not, then.
(I was probably mis-remembering the 'tail call' bit.) Although perhaps S04 has something.
quietfanatic Oh wait, there may be a method form
cognominal I suppose that's up to the compiler to decide
quietfanatic rakudo: sub a {say 1}; sub b {&a.nextsame; say 2}; a() 00:46
p6eval rakudo 0d4fe0: ( no output )
quietfanatic rakudo: sub a {say 1}; sub b {&a.nextsame; say 2}; b()
p6eval rakudo 0d4fe0: ( no output )
quietfanatic huh
00:46 jaldhar left
quietfanatic nextsame and nextwith do make tail calls, but apparently not to an arbitrary routine. 00:49
00:52 jaldhar joined 01:05 carlin joined 01:08 jrtayloriv left 01:14 justatheory left 01:21 dukeleto left
dalek kudo: d0b88cf | pmichaud++ | Configure.pl:
Check for some more needed Parrot files during Configure.pl .
01:21
kudo: 586076e | pmichaud++ | (5 files):
Move prefix:<~> into setting.
jnthn pmichaud++ # nice work on operating overloading! 01:23
01:24 aindilis joined 01:40 justatheory joined
cognominal jnthn++ : blizkost now compiles on Mac OS X 01:43
pmichaud jnthn: thanks :-) 01:44
jnthn: even nicer, I ended up just doing it all in p6 settings instead of any special PIR-to-Rakudo conversions 01:45
jnthn: even more bizarre: on many of my spectest runs, the p6 versions end up being _faster_ than the PIR versions. Which means you've either done a great job on dispatch speed for Perl6MultiSubs, or we don't do so well at dispatch of Parrot MultiSubs, or both :-) 01:46
(not much faster, just slightly faster. More importantly: NOT SLOWER)
01:48 nbrown_ joined 01:50 nbrown left, nbrown_ is now known as nbrown
pmichaud I know that infix:<==> is defined as +$a === +$b and infix:<eq> is defined as ~$a === ~$b 01:54
how about the other relational ops -- are they defined similarly in terms of infix:<===> or infix:<cmp> ?
in particular, infix:<le>, infix:«<=», etc? 01:55
02:03 tak11 joined
TimToady depends on where you use the circularity saw 02:04
pmichaud so, implementation-dependent?
(for now, if nothing else?) 02:05
TimToady code that depends on where the circularity saw cuts is probably erroneous
or at least non-portable
pmichaud yeah. 02:06
02:11 rhr_ joined
pugs_svn r28091 | carlin++ | Fixed XHTML validation error 02:14
02:14 agentzh joined 02:24 rhr left 02:27 xomas_ joined 02:33 carlin left 02:34 frew__ joined, colomon left, japhb joined 02:35 colomon joined, aindilis left, nbrown_ joined 02:38 nbrown left, nbrown_ is now known as nbrown 02:42 xomas left
dalek kudo: aab4bf9 | pmichaud++ | src/classes/ (3 files):
infix:<===> should not be defined in terms of infix:<==> or infix:<eq>.
02:46
02:48 xomas_ left 02:53 adam-pwgsc left 02:55 frew___ joined 03:12 frew left
s1n pmichaud: will you be there on saturday? 03:13
pmichaud I plan to be there, yes.
s1n did you see the tentative plan?
i scraped it right from your last talk
pmichaud I didn't see it yet, no.
03:15 drbean_ joined, cls_bsd left 03:16 agentzh left, agentzh joined 03:17 agentzh left, agentzh joined
pugs_svn r28092 | pmichaud++ | [t/spec] Fudge some now-failing tests that don't quite make sense to me 03:21
r28092 | (exactly what Perl 6 feature is being tested?)
03:22 agentzh left, agentzh joined
frew__ looks forward to getting rakudo compiling again 03:23
I haven't had it working since the changes to allow it to build from an installed parrot
03:23 cls_bsd joined
pugs_svn r28093 | lwall++ | [irclog/camelia] unbox the bug, quietfanatic++ 03:24
03:28 meppl left
dalek kudo: f351f60 | pmichaud++ | (4 files):
Move infix:<ne>, infix:<!eq>, infix:<!=>, and infix:<!==> into setting.
03:28
03:39 drbean left 03:41 dukeleto joined
dukeleto quietfanatic: parrot has something called ".tailcall" 03:50
dukeleto is taking blizkost out for a drive 03:51
03:56 mikehh joined
mikehh rakudo (f351f60) builds on parrot r40835, make test / make spectest (up to r28093) PASS - Ubuntu 9.04 amd64 (g++) 03:57
rakudo (f351f60) - t/spec/S05-match/capturing-contexts.rakudo - TODO passed: 14
04:01 mrsaturn_ joined 04:06 mrsaturn_ left
dukeleto "blizkost fails to compile on darwin/perl 5.10.0" (97 lines) at nopaste.snit.ch/17710 04:07
04:09 w0rmie left, w0rmie joined 04:24 mrsaturn_ joined
pmichaud frew__: rakudo doesn't build for you? 04:37
04:38 cognominal left 04:40 PZt left 04:44 cognominal joined
dukeleto jonathan: ping 04:50
quietfanatic dukeleto: Ah, that yields it possible, though it'd take a Q:PIR. 04:52
And of course it can't be delegated to a sub. (Unless it's a macro)
04:53 mberends left 05:05 frew__ left 05:08 justatheory left 05:11 carlin joined 05:14 nihiliad left
pugs_svn r28094 | pmichaud++ | [t/spec]: Unfudge a passing test for RT #64946. 05:20
05:21 duke_leto joined 05:26 Confield left 05:34 JimmyZ joined
pmichaud use.perl.org/~pmichaud/journal/39543 # latest Rakudo day report 05:38
JimmyZ pmichaud++ 05:43
05:43 wayland76 left 05:44 wayland76 joined
pugs_svn r28095 | pmichaud++ | [t/spec]: Unfudge passing test for RT #68680. 05:46
dukeleto pmichaud: latest parrot installs the files that you wanted with "make install" instead of "make install-dev" 05:48
05:53 finanalyst joined, w0rmie left 05:54 Juerd_ joined 05:58 Juerd_ is now known as Juerd 05:59 dbrock left 06:07 molaf joined 06:10 dukeleto left 06:14 molaf left 06:15 frederico joined 06:18 desertm4x joined 06:19 sri_kraih_ joined, krakan left 06:20 krakan joined 06:30 rfordinal3643 left, rfordinal joined 06:35 eMaX joined 06:36 sri_kraih left, sri_kraih_ is now known as sri_kraih 06:45 ihrd left 06:51 ihrd joined 06:52 duke_leto left, rfordinal left 07:02 rfordinal joined 07:04 rbaumer left, iblechbot joined, rbaumer joined 07:08 dukeleto joined 07:10 rbaumer left
pugs_svn r28096 | carlin++ | [Differences.pod] Removing what I think is a superfluous =head1 and possibly the cause of the double-bullets on the HTML converted page 07:16
07:23 mrsaturn_ left 07:24 azawawi joined
azawawi hi 07:24
dukeleto seen jonahtan
azawawi: howdy
wayland76 @seen jnthn 07:25
lambdabot jnthn is in #perl6. I last heard jnthn speak 6h 2m 1s ago.
dukeleto msg jnthn i have created some issues for blizkost at github.com/jnthn/blizkost/issues
@msg jnthn i have created some issues for blizkost at github.com/jnthn/blizkost/issues 07:26
lambdabot Not enough privileges
dukeleto darn
azawawi shouldnt rakudo's "perl6.exe --version" report the actual release and date instead of "This is Rakudo Perl 6."?
wayland76 phenny: tell dukeleto to use you
phenny wayland76: I'll pass that on when dukeleto is around.
dukeleto ?
phenny dukeleto: 07:26Z <wayland76> tell dukeleto to use you
azawawi moritz_: pingo 07:27
wayland76 dukeleto: You have to specifically tell things to phenny, or he doesn't respond
phenny: tell pmichaud azawawi thinks that perl6 --version should report the actual version too :) 07:28
phenny wayland76: I'll pass that on when pmichaud is around.
dukeleto phenny: tell jnthn to check his messages in #parrot 07:29
phenny dukeleto: I'll pass that on when jnthn is around.
07:29 Su-Shee joined
Su-Shee good morning! 07:29
dukeleto Su-Shee: hola
wayland76 consider's Gandalf's respnse to "Good morning", and keeps his mouth shut :) 07:30
azawawi wayland76: im thinking of releasing a Six upgrade installer for strawberry's "Almost Six" on a weekly and release-based timeline...that's why i may need perl6 --version
Su-Shee wayland76: :)) 07:31
07:33 rgrau joined 07:46 mrsaturn_ joined 07:51 mrsaturn_ left, azawawi left
carlin There is an open ticket about --version 07:52
rt #68752
sjohnson carlin thanks for the bot a few days ago 07:58
carlin sjohnson: that's alright :) 07:59
sjohnson is it okay if i saw the bot was cute?
carlin why was that? 08:00
ihrd hi there 08:01
I created Perl6 modules list on the perl6 wiki www.perlfoundation.org/perl6/index....dules_list 08:02
08:02 rbaumer joined
sjohnson oops, say* 08:03
ihrd Just as first approach
I think page on the perl6.org will be better one 08:04
Su-Shee ihrd: cool, I've wanted to put something like this in the redesign anyway. 08:05
carlin sjohnson: depends why you think it was cute
ihrd Su-Shee: very good, do you have redesign drafts? 08:07
I can help with markup if your need any help
sjohnson carlin: for good reasons, it's oaky 08:08
okay*
ihrd and I am dreaming about RSS feed with new perl6 modules
sjohnson i just liked your initiative, carlin 08:10
carlin heh, wasn't that hard 08:14
I'm surprised no one did it before me
correction: wasn't that hard with only getting rakudo to work 08:15
08:15 ewilhelm left
Su-Shee ihrd: drafts are here: sushee.no-ip.org/p6p/ will do some stuff this weekend. 08:17
08:22 ejs joined
ihrd Su-Shee: ok, so let me know how can I help :) 08:24
08:24 ihrd left
Su-Shee ok :) 08:25
08:26 cls_bsd left, cls_bsd joined 08:32 ejs1 joined
carlin someone should update the /topic to point to perl6.org 08:37
08:37 payload joined 08:40 dbrock joined, ejs left
Juerd »ö« | perl6.org/ | nopaste: paste.lisp.org/new/perl6 | evalbot usage: 'perl6: say 3;' or rakudo: / pugs: / std: | irclog: irc.pugscode.org/ | UTF-8 is our friend! 08:42
Juerd carlin: You can also do this yourself. The topic is not locked (channel mode +t). :) 08:43
carlin oh 08:44
carlin doesn't understand IRC flags :p
08:50 JimmyZ left
szbalint :) 08:52
08:56 sjohnson sets mode: +t 09:08 cognominal left 09:12 breinbaas left, breinbaas joined 09:13 tlb joined 09:18 patrickas left 09:21 cotto left 09:22 ejs2 joined 09:23 cotto joined 09:31 ejs1 left
jnthn o/ 09:33
phenny jnthn: 07:29Z <dukeleto> tell jnthn to check his messages in #parrot
dukeleto jnthn: hola 09:34
09:34 cotto left
jnthn dukeleto: hi 09:34
09:35 cotto joined
dukeleto jnthn: i made a bunch of commits and created some issues on blizkost's github 09:35
jnthn dukeleto: nice 09:37
dukeleto jnthn: i can get the repl to start up, but I get $ ./blizkost > print "I am blizkost!\n";Class 'P5Interpreter' not found
jnthn dukeleto: See, you're fulfilling this dream that I'd write the first bit of this, and then @other would write the test. ;-)
dukeleto jnthn: yes, I got the test actually working and failing quite hard :) 09:38
jnthn dukeleto: :-)
dukeleto: I'm guessing it must somehow be failing to load the PMC library.
I'm not sure why it would fail there, but work otherwise though. 09:39
dukeleto i very much dislike that load_bytecode in parrot fails silently
jnthn: the harness gets further
jnthn Yeah, it rather sucks that it fails without telling what/why. 09:40
dukeleto jnthn: $P1 = $P0.'command_line'(args) is what kills the harness
jnthn: positional inside named args at position 3
jnthn That's odd...
dukeleto jnthn: can you make sense of that? 09:41
jnthn OK, I'll have to dig in to that, but I'm kinda tied up right now.
No, that sounds...odd.
dukeleto jnthn: full output at github.com/jnthn/blizkost/issues#issue/2 09:42
jnthn oh hmm, it looks like it's something about the signature of compile... 09:43
If it doesn't already take a slurpy parameter, you could try adding one.
To see if that makes the problem go away.
dukeleto jnthn: i tried every permutation of named and slurpy params :( 09:45
jnthn aww
jnthn wonders if eval looked sane
dukeleto jnthn: coke told me about dumper.pbc in the parrot runtime, but I can't get that to work either 09:47
09:47 M_o_C joined 09:48 sri_kraih left, sri_kraih joined
dukeleto i am going to run against that wall a few more times 09:50
jnthn dukeleto: OK - I'll look too when I get a spare moment (things are kinda crazy here for next couple of days). 09:52
dukeleto jnthn: at your leisure :) 09:53
10:04 donaldh joined 10:06 Chillance joined 10:27 szabgab left, wayland76 left 10:30 cognominal joined 10:44 ruz_ joined, ruz left 10:55 meppl joined 10:58 desertm4x left 11:04 desertm4x joined, xomas_ joined 11:11 maerzhase joined
nothingmuch moritz_: your openid sucks: blog.woobling.org/2009/05/your-openid-sucks.html 11:12
M_o_C nothingmuch: Cool :) 11:17
nothingmuch spread the love =) 11:18
OpenID is misunderstood. it's a shame, it's really well thought out
i want to cry every time I see a Yahoo OpenID in use
11:19 majosee99 joined 11:20 donaldh left, majosee99 left, donaldh joined
M_o_C Can't exactly comment on that, it seems like I should learn more about OpenID first :) 11:21
11:27 agentzh left 12:01 soupdragon is now known as sharada 12:16 ruoso joined
pugs_svn r28097 | ruoso++ | [perl6.org] revert r28089, since it made the layout break in systems with bigger fonts 12:17
pmichaud good morning, #perl6 12:19
phenny pmichaud: 07:28Z <wayland76> tell pmichaud azawawi thinks that perl6 --version should report the actual version too :)
12:20 tak11 left
pmichaud phenny: tell wayland76 I think perl6 --version should report the actual version. But I don't know of a clean way to do that yet... patches welcome. 12:20
phenny pmichaud: I'll pass that on when wayland76 is around.
12:20 Front_slash joined, takadonet joined
takadonet morning all 12:20
pmichaud good morning, takadonet 12:21
takadonet how are you doing pmichaud? 12:22
pmichaud doing well today
12:24 rbaumer left 12:27 szabgab joined
takadonet pretty quiet in here today.... 12:36
pmichaud It is.
takadonet Hopefully that means people are hacking with or on rakudo :) 12:39
12:41 carlin left 12:42 carlin joined 12:43 nihiliad joined, carlin left 12:47 pmurias joined 12:48 smuj joined
smuj rakudo: my $x=10; ++$x; say $x; 12:49
p6eval rakudo 0d4fe0: OUTPUT«11␤»
smuj rakudo: my $x=10; --++$x; say $x; 12:50
p6eval rakudo 0d4fe0: OUTPUT«10␤»
smuj rakudo: my $x=10; ++--++--++$x; say $x;
p6eval rakudo 0d4fe0: OUTPUT«11␤»
smuj rakudo: my $x=10; +-+-+-+$x; say $x;
p6eval rakudo 0d4fe0: OUTPUT«10␤»
smuj rakudo: my $x=10; $x+-+-+-+$x; say $x; 12:51
p6eval rakudo 0d4fe0: OUTPUT«10␤»
smuj perl6: my $x=10; $x+-+-+-+$x; say $x; 12:52
p6eval elf 28097: OUTPUT«Useless use of addition (+) in void context at (eval 129) line 4.␤10␤»
..pugs, rakudo 0d4fe0: OUTPUT«10␤»
13:03 awwaiid_ is now known as awwaiid, rgrau left
smuj rakudo: say "5"..8 13:06
p6eval rakudo 0d4fe0: OUTPUT«5678␤»
smuj rakudo: say "5"..9
p6eval rakudo 0d4fe0: OUTPUT«567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889␤»
smuj rakudo: say "-5"..9
p6eval rakudo 0d4fe0: ( no output ) 13:07
smuj perl6: say "-5"..9
p6eval elf 28097: OUTPUT«-5-4-3-2-10123456789␤»
..rakudo 0d4fe0: ( no output )
..pugs: OUTPUT«␤»
13:08 iblechbot left
smuj perl6: say "-5"..50 13:12
p6eval rakudo 0d4fe0: ( no output )
..elf 28097: OUTPUT«-5-4-3-2-101234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950␤»
..pugs: OUTPUT«-5-6-7-8-9.0.1.2.3.4.5.6.7.8.9/0/1/2/3/4/5/6/7/8/9000102030405060708091011121314151617181920212223242526272829303132333435363738394041424344454647484950␤»
smuj rakudo: say "-5"..50
p6eval rakudo 0d4fe0: ( no output )
smuj rakudo: say "hello" 13:13
p6eval rakudo 0d4fe0: OUTPUT«hello␤»
pmichaud "-5"..50 is considered an empty range
rakudo: say "-5" gt 50 13:14
p6eval rakudo 0d4fe0: OUTPUT«0␤»
smuj gives me 5 here!
pmichaud rakudo: say "-5" gt "50"
p6eval rakudo 0d4fe0: OUTPUT«0␤»
pmichaud checking.
oh, it's timing out 13:15
smuj oops, nope, "5"..50 gives me 5 here
"-5"..50 just loops - ^C required 13:16
pmichaud well, I'll see about cleaning up the range implementation a bit, but some things are just weird in the Perl 6 spec with respect to ranges
smuj yeah, so I've found out :)
not a problem, just playing! 13:17
pmichaud I'm guessing that "-5"..50 should produce (according to the spec): "-5", "-6", "-7", "-8", "-9" 13:18
(five elements)
smuj it's the number 9 which confuses me (and maybe Rakudo) 13:19
rakudo: say "5"..8
p6eval rakudo 0d4fe0: OUTPUT«5678␤»
smuj rakudo: say "5"..9
p6eval rakudo 0d4fe0: OUTPUT«567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889␤»
pmichaud rakudo: say "5".."9"
p6eval rakudo 0d4fe0: OUTPUT«56789␤» 13:20
pmichaud rakudo: say ~9.chars
p6eval rakudo 0d4fe0: OUTPUT«1␤»
pmichaud rakudo say (~9).chars
rakudo: say (~9).chars
p6eval rakudo 0d4fe0: OUTPUT«1␤»
13:20 carlin joined
pmichaud for some reason the ..9 is producing a string with 2 characters 13:20
rakudo: say ("5"..9).perl 13:21
p6eval rakudo 0d4fe0: OUTPUT«"5"..9␤»
smuj yeah, 99 produces 3 etc
pmichaud or there might be a problem with computing the endpoint in string ranges
PerlJam good morning #perl6
"5"..9 looks like it's going 5..90 to me.
pmichaud well, "90" is the first string that is gt "9" 13:22
all of the others are le 13:23
smuj in $x..$y should $y try to transform into the same type as $x? 13:24
13:26 PZt joined
pmichaud smuj: I don't know. 13:26
smuj k
I'll leave ya in peace now! :)
PerlJam maybe it should fial
er, fail
(not dwimmy, I know) 13:27
pmichaud also, the use of the word "longer" in S03:2962 bugs me a bi
*bit
PerlJam pmichaud: why? 13:29
13:38 frew joined 13:39 Confield joined 13:40 ejs1 joined 13:42 rbaumer joined 13:45 drbean_ is now known as drbean, ejs1 left, frettled left 13:52 ejs2 left 13:54 frew left 13:55 Front_slash left
carlin rakudo: sub foo() {}; multi sub foo() {}; 14:09
p6eval rakudo 0d4fe0: OUTPUT«Redefinition of routine foo␤push_pmc() not implemented in class 'Sub'␤»
PerlJam carlin: that only works if you've got a proto in place before hand.
14:12 maerzhase left 14:13 sahadev joined
carlin PerlJam: I know, I don't think the push_pmc bit is right 14:14
and if you do that twice from the command line ...
14:14 alester joined 14:15 jaldhar left 14:21 KyleHa joined, Psyche^ joined 14:22 Patterner left, Psyche^ is now known as Patterner 14:31 rfordinal left, rfordinal joined 14:38 nihiliad left 14:41 ewilhelm joined 14:45 eiro is now known as haiwepa
colomon rakudo: class Integer { has $.n; }; subset Positive of Integer where { $_.n > 0 }; my Integer $i = Positive.new(n => 5); say $i.WHAT; 14:49
p6eval rakudo 0d4fe0: OUTPUT«()␤»
14:51 rfordinal left 14:52 tlb left
colomon rakudo: class Integer { has $.n; }; subset Positive of Integer where { $_.n > 0 }; my Integer $i = Positive.new(n => 5); say $i.n; 14:54
p6eval rakudo 0d4fe0: OUTPUT«set_integer_native() not implemented in class 'Integer'␤in Main (/tmp/XrlwGqCvJc:2)␤»
colomon Okay, that I had not expected.
carlin I get that if I run it twice in a row in the CLI
colomon : rakudo: class Integer { has $.n; }; my Integer $i = Integer.new(n => 5); say $i.n; 14:55
carlin I didn't think the evalbot could show those types of errors though
rakudo: sub foo; 14:56
p6eval rakudo 0d4fe0: OUTPUT«Malformed routine definition at line 2, near "foo;"␤in Main (src/gen_setting.pm:3454)␤»
carlin rakudo: foo
p6eval rakudo 0d4fe0: OUTPUT«Could not find non-existent sub foo␤»
carlin hrm
colomon rakudo: class Integer { has $.n; }; my Integer $i = Integer.new(n => 5); say $i.n; 14:58
p6eval rakudo 0d4fe0: OUTPUT«set_integer_native() not implemented in class 'Integer'␤in Main (/tmp/MFJd1dgG0Q:2)␤»
colomon rakudo: class Frobozz { has $.n; }; my Frobozz $i = Frobozz.new(n => 5); say $i.n; 14:59
p6eval rakudo 0d4fe0: OUTPUT«5␤»
colomon Ah, Integer may be a reserved word of some sort?
15:00 molaf joined
colomon rakudo: class Frobozz { has $.n; }; subset Baz of Frobozz { where $_.n > 0 }; my Frobozz $i = Baz.new(n => 5); say $i.n; 15:01
p6eval rakudo 0d4fe0: OUTPUT«Statement not terminated properly at line 2, near "{ where $_"␤in Main (src/gen_setting.pm:3454)␤»
colomon rakudo: class Frobozz { has $.n; }; subset Baz of Frobozz where { $_.n > 0 }; my Frobozz $i = Baz.new(n => 5); say $i.n;
p6eval rakudo 0d4fe0: OUTPUT«5␤»
15:01 arnsholt joined
colomon rakudo: class Frobozz { has $.n; }; subset Baz of Frobozz where { $_.n > 0 }; my Frobozz $i = Baz.new(n => 5); say $i ~~ Frobozz; 15:02
p6eval rakudo 0d4fe0: OUTPUT«1␤»
colomon rakudo: class Frobozz { has $.n; }; subset Baz of Frobozz where { $_.n > 0 }; my Frobozz $i = Baz.new(n => 5); say $i ~~ Baz;
p6eval rakudo 0d4fe0: OUTPUT«1␤»
colomon rakudo: class Frobozz { has $.n; }; subset Baz of Frobozz where { $_.n > 0 }; my Frobozz $i = Baz.new(n => 5); say $i.isa(Frobozz); 15:03
p6eval rakudo 0d4fe0: OUTPUT«1␤»
colomon rakudo: class Frobozz { has $.n; }; subset Baz of Frobozz where { $_.n > 0 }; my Frobozz $i = Baz.new(n => 5); say $i.isa(Baz); 15:04
p6eval rakudo 0d4fe0: OUTPUT«1␤»
colomon rakudo: class Frobozz { has $.n; }; subset Baz of Frobozz where { $_.n > 0 }; my Baz $i = Frobozz.new(n => 5); say $i.isa(Baz); 15:05
p6eval rakudo 0d4fe0: OUTPUT«0␤»
colomon aha! That's finally got it.
in the August release that returned true. In the current build, it returns false. 15:06
Not sure what the right answer should be.
15:07 donaldh left 15:09 nbrown_ joined 15:10 nbrown_ left 15:12 abra joined 15:13 szabgab left, szabgab joined, IRSeekBot left, nihiliad joined 15:17 Su-Shee left 15:27 nbrown left, justatheory joined
yath hm. would be cool to have something like B::Deparse for rakudo that adds a comment to the statement in which synopsis i'd have to look ;) 15:29
15:32 hobbsc joined
hobbsc anyone have issues/reservations about perl6 in production environments? 15:32
15:33 eMaX left
KyleHa That may depend on what you're producing. 15:34
sjn hobbsc: like as in aeroplanes or nuclear power plants?
KyleHa Do lives hang in the balance, or just your own patience? 15:35
15:35 eMaX joined 15:38 M_o_C left 15:39 rfordinal joined
hobbsc hobbsc: nah, municipal stuff 15:40
just using it for system glue/automation
carlin "Approaching turbulence, raise the Aircraft set_integer_native() not implemented ft"
pugs_svn r28098 | lwall++ | [S03] qualify "longer" to mean graphemes for pmichaud++ 15:41
carlin hobbsc: for most tasks it's just as ready as Perl 5
hobbsc thanks for the input 15:44
15:49 finanalyst left
Tene hobbsc: Perl 6 in theory? No. Rakudo running on Parrot today? Yes, I'd have reservations. 15:50
15:52 finanalyst joined
hobbsc 5.10 seems to be working well, i considered upgrading across the board 15:55
may be too early yet
16:01 carlin left 16:02 haiwepa is now known as eiro
TimToady the design is not entirely stable yet either; we've made no backward compatibility guarantees to the current spec 16:04
16:04 sharada left
yath what's the state of ponie, btw? or is there a successor? 16:07
TimToady the ponie effort was premature and was declared dead at one point 16:08
yath hm
pmichaud I think the current successor (just started) is use.perl.org/~JonathanWorthington/journal/39530
TimToady there will certainly be some kind of successor, but I don't know if it will be called ponie
there are actually several approaches to p5 interop, and we'll probably try them all at some point
16:09 desertm4x left
yath i wonder if it's possible to embed perl5 inside rakudo and use O.pm for creating PIR or so. 16:09
ah
16:09 mrsaturn_ joined
yath blizkost apparently does that 8-) 16:09
16:09 mrsaturn_ is now known as mrsaturn
mrsaturn g'morning everyone 16:10
pmichaud good morning, mrsaturn
16:11 hudnix joined
yath hm, blizkost looks cool. 16:12
TimToady mrsaturn: we're looking forward to your rings disappearing in November :) 16:13
mrsaturn :( 16:15
TimToady temporarily
pmichaud -O- 16:17
lucs geology.com/news/2009/saturns-rings...-811.shtml
TimToady ah, someone messed the data around 16:20
I was reading an article from the other side of the pond, and they thought 8/11 meant 11/8
interesting 16:21
mrsaturn I knew 18 days ago wasn't november
TimToady well, mrsaturn, you're off the hook for another 23 years or so.
16:21 Guest4616 left
TimToady 'course, it's also possible that someone changed the spec 16:21
16:25 M_o_C joined 16:26 JimmyZ joined 16:28 finanalyst left 16:30 zamolxes joined 16:33 szbalint left
quietfanatic Are multi subs supposed to be able to take constant named arguments? 16:38
multi doit (type<a>, *@args) {...}
that's :type<a>
ruoso quietfanatic, I guess they can... the same way as they can take constant positional argumetns 16:39
16:40 pippo_ left
quietfanatic Just Rakudo hasn't implemented them yet. I can work around that for now. 16:40
ruoso std: multi (:type<a>, *@args) {... }
oops
p6eval std 28098: OUTPUT«===SORRY!===␤Malformed parameter at /tmp/LvZHWTfOfI line 1:␤------> multi (⏏:type<a>, *@args) {... }␤ expecting any of:␤ name␤ parameter␤ signature␤ whitespace␤FAILED 00:03 40m␤»
ruoso std: multi a (:type<a>, *@args) {... }
p6eval std 28098: OUTPUT«===SORRY!===␤Malformed parameter at /tmp/wSGsrKdEka line 1:␤------> multi a (⏏:type<a>, *@args) {... }␤ expecting any of:␤ name␤ parameter␤ signature␤ whitespace␤FAILED 00:02 39m␤»
quietfanatic Oh, ruoso. I saw you reverted my change. I don't mind, but would it be better if we shrank the header to line it up with the boxes? 16:41
ruoso quietfanatic, the problem is that the difference scales when the fonts are bigger
quietfanatic ...looks like that doesn't work.
Yeah. I made it scale larger depending on font size, but there's screen size limitations too. 16:42
What would be ideal is to make the boxes never have to squeeze to two columns.
ruoso yeah.. 50 em or so requires a huge screen for bigger fonts
quietfanatic, that could be made by making their size in % 16:43
16:43 Su-Shee joined
quietfanatic Yes, but their statically-determined height means the text could conceivable overflow below them. 16:43
Su-Shee yeah. weekend. my perl instead of office perl. :) 16:44
quietfanatic On a small font size/large screen, the header looks crooked on top right now.
16:50 ruoso left 16:54 beggars joined 16:56 ejs joined 16:57 jrtayloriv joined 16:58 rfordinal3643 joined 16:59 jauaor joined 17:00 rfordinal left, rfordinal3643asd joined 17:05 dukeleto left 17:12 nbrown joined 17:17 ruoso joined 17:19 rfordinal3643 left 17:25 abra left
TimToady there are no good synonyms for 'context'; thinking about changing 'my $FOO is context' to 'your $*FOO' 17:27
(can't use 'context' as declarator because it looks too much like 'constant') 17:28
17:30 mrsaturn left
ruoso TimToady, your is not a bad idea at all 17:30
TimToady it should really probably be 'our', but that one's taken, and probably can't be swiped 17:31
ruoso keeps voting for the death of the globals
TimToady well, I'm close to at least having more things default to 'my' rather than 'our' 17:32
list subs
*like
goodness, neural programming from BASIC...
ruoso that is certainly going to be a shock for p5 programmers, but I do support the idea
TimToady but the fact is, we're already saying that multi dispatch only looks in lexical scopes
so there's not much point in having subs with package aliases at all 17:33
unless you really want one
in which case you can always say 'our sub'
ruoso I wonder if that is really a declarator
since it's just "declare a my with an alias in the package"
TimToady well, other way around, really 17:34
you don't get it cloned