#perl - Wed 28 Mar 2007 between 21:37 and 21:49



actionf00li5h wishes he was drunk
f00li5hwishes he was drunk
alesterwho's drunk?
silifriends don't let friends irc drunk
f00li5halester: <obligitory 'yo mumma joke>
Chris62vwoh, I will be eventually
q[ender]I am so not drunk it's ridiculous. This will not stand.
Randalif you were drunk, you'd not stand either.
f00li5hq[ender]: summon the ale wenches!
q[ender]Randal, really, I'd probably be asleep.
actionabc notices the kids saying "I'm soooooo drunk"
abcnotices the kids saying "I'm soooooo drunk"
actionf00li5h gets music, light, pants and breakfast
f00li5hgets music, light, pants and breakfast
kd_pants free thursday!
Randalgiving away pants for free?
pants without partners
actionQtPlatypus ponders sub refmap (&$) { [ map {$_[0]} @{$_[1]} ] } # Though thats ugly and inefficent.
QtPlatypusponders sub refmap (&$) { [ map {$_[0]} @{$_[1]} ] } # Though thats ugly and inefficent.
And wouldn't work.
actionQtPlatypus ponders sub refmap (&$) { my $sub = shift; my $array_ref = shift;[ map {$sub->()} @{$array_ref} ] } # Still ugly and inefficent.
QtPlatypusponders sub refmap (&$) { my $sub = shift; my $array_ref = shift;[ map {$sub->()} @{$array_ref} ] } # Still ugly and inefficent.
PatternerBonus points if you find something good
nanonymewhat are you trying to do?
QtPlatypusWould be nice if I could just pass map a code_ref and have it treat it as if it was map { }
Randalthe big problem is the interface to the map block
QtPlatypusnanonyme: Reduce the number of times/uglyness of going [ map { ... } @{$array_ref}]
Randalis it expected to look at $_ ?
revdiablomap { $code_ref->($_) } ...; # Is taht really so bad?
Randalor the first parameter?
yeah
that's better
revdiabloThat, even
actionQtPlatypus nods.
QtPlatypusnods.
nanonymeok, if Randal doesn't figure out a better one, i definitely won't figure a better one out while being drunk :)
so maybe i won't even try ^^
QtPlatypusRandal: I was expecting it to look at $_, the idea was to look like map as much as possable just act on array_refs rather then lists.
Randalyeah, in Perl 6 that'll be trivial
maybe you should just wait.
actionCPAN upload: MasonX-StaticBuilder-0.04 by SKUD
CPANupload: MasonX-StaticBuilder-0.04 by SKUD
RandalI got a note from O'Reilly that they *ha* want the learning perl for perl6 done to ship in october *ha*
I think they need a reality check :)
QtPlatypusRandal: But I can't wait untill Chrismass.
Randalstep 1 - stableize perl6
step 2 - wait until I totally understand it

Page: 3 10 17 24 31 38 45 52 59 66 73 80 87 94 101 108 115 122 

IrcArchive