irclog.perlgeek.de/perl6book/today | source: github.com/perl6/book/
Set by moderator on 11 November 2009.
01:39 dalek left, dalek joined 04:02 hicx174 joined 04:07 snarkyboojum left 04:11 dalek joined 08:04 aigon joined 10:53 dalek joined 10:57 dalek joined 10:58 dalek joined 13:18 aigon joined 13:37 masak joined
moritz_ likes wip/hangman.p6, but thinks it might be a bit too heavy on non-function code to serve as a leading example for chapter 2 13:45
masak has a look 13:56
it's bordering on being long, too. 13:58
I get a segfault when the program reads in the dictionary. :/ 14:01
moritz_ tries with latest rakudo and parrot 14:02
PerlJam the rpn calculator could be expanded a bit to make a good example for Ch2 14:28
moritz_ doesn't really like it, because RPN is so non-real-world 14:29
PerlJam It's real-world if you've got to parse and execute a postscript document :) 14:30
masak
.oO( Lojban parser )
14:39
if we can get the -n and -p flags working in Rakudo, it'd be pretty nice to devote a chapter to those, and to one-liners. 16:03
moritz_ right
jnthn I also was pondering a chapter on "extending the language". Things like writing trait mods, or putting in new operators, and so on. 16:06
Not got any thoughts on an example yet though.
moritz_ good idea, yes
but it should work a bit better than now :-)
jnthn More pressingly, I'm still struggling on a roles example. I think I'll try and write more in the OO chapter this week. 16:07
e.g. try and have some inheritance in there, if nobody beat me to it, and/or delegation.
I dunno if someone++ already did those yet :-)
I know masak++ was doing some exercises.
masak fun work. 16:08
jnthn ML was a very fun language.
.oO( heh, nobody else did ML. surprise! )
masak beats jnthn on the head with a pun-stick
jnthn Apparently there was a book on "ML for the working programmer" :-) 16:09
masak sounds like kind of a drag. :)
jnthn I'm pretty sure the person who told me it had one page with the words "This is not the language you're looking for." was lying though.
masak probably a jedi.
moritz_ I thought jedis don't lie? :-) 16:10
masak moritz_: a jedi told you that? :)
moritz_ masak: no, the internetz
masak ah. I stand corrected, then.
jnthn But internetz would never like us though, would they? 16:11
I mean, I used it to learn all kinds of important things. 2 + 2 = 5, how is babby formed, and so on. 16:12
masak oh! how is babby formed! 16:13
I promised to find that out some day.
things always keep coming up, though.
jnthn www.somethingawful.com/flash/shmorky/babby.swf 16:14
masak: ^^ I learned from here
masak curls up in laughter
I've seen it before, but... 16:15
"I am truly sorry for your lots."
s/truly/truely/
jnthn "to lady to rest" 16:16
masak "a mother in ar"
jnthn "these babby cant frigth back?"
OK, I should actually do something, like, useful today. 16:20
19:37 masak joined 23:05 chromatic joined
masak I'd like to try and create Perl 6 versions of each of these one-liners: www.catonmat.net/blog/perl-one-line...-part-two/ 23:23