Search Discussions

34 discussions - 635 posts

  • Michael Lazzaro said: An exception or 5. Maybe undefining an element could always set it to the default value. No, because it's unnecessary. You can always do my $value = @a[$x] //= $x ** 2; or skip ...
    Paul JohnsonPaul Johnson
    Jan 28, 2003 at 7:47 pm
    Feb 4, 2003 at 1:50 pm
  • Hello, I just got a question from Lee Pumphret regarding Hook::Scope POST in loops. Currently it treats every iteration as a scope entry and scope exit so. for(1..3) { POST { print 2 }; print 1; } ...
    Arthur BergmanArthur Bergman
    Jan 2, 2003 at 6:22 pm
    Jan 8, 2003 at 11:06 am
  • Can the type of a variable vary independenty of its value? Consider the following: my @a = (1,2,3); my $b := @a; @a and $b both refer to the same object. $b's object has methods such as PUSH, POP, ...
    Dave WhippDave Whipp
    Jan 3, 2003 at 12:42 am
    Jan 13, 2003 at 6:54 pm
  • I think this may be another case of "it depends on what the word 'object' means", e.g. we're talking past each other. I hope. Let's operate from the assumption -- or somebody please CORRECT ME IF I'M ...
    Michael LazzaroMichael Lazzaro
    Jan 7, 2003 at 6:01 pm
    Jan 18, 2003 at 6:32 am
  • This may sound like a silly idea but ... Has anyone considered removing with the syntactic distinction between numeric and string indexing -- that is, between array and hash lookup? In particular, it ...
    Jan 27, 2003 at 11:20 pm
    Jan 29, 2003 at 8:15 pm
  • Has there been any discussion of how to create code in Perl 6 that's there under some conditions, but not there under others? I'm thinking of the spiritual equivalent of #ifdef, only Perlish. In Perl ...
    John SiracusaJohn Siracusa
    Jan 10, 2003 at 12:55 am
    Aug 20, 2005 at 2:07 am
  • In my quest to eliminate as many explicit conditionals from my code as possible, I found myself wondering if Perl 6's multidispatch mechanism would allow one to write: sub gmttime ( $time = time() ) ...
    Piers CawleyPiers Cawley
    Jan 24, 2003 at 7:30 am
    Jan 24, 2003 at 9:51 pm
  • Many people have pointed out the 'semicolon problem' with if and else--that is, if Perl intuits a semicolon after every codeblock that ends a blank line, you would have to cuddle all your elses: if ...
    Brent DaxBrent Dax
    Jan 20, 2003 at 7:05 pm
    Jan 27, 2003 at 3:49 pm
  • The Perl 6 Summary for the week ending 20021229 This is not your normal summary. It's been Christmas, things have been quiet, I've been concentrating on mince pies, roast goose and all that other ...
    Piers CawleyPiers Cawley
    Jan 2, 2003 at 8:21 am
    Jan 14, 2003 at 8:30 pm
  • From: Damian Conway Hmm... If the Larry and the Perl Foundation would be agreeable. I'd just as soon see a grant set up for Larry again this year. And if so, I'd like to see the Perl Foundation ...
    Garrett GoebelGarrett Goebel
    Jan 17, 2003 at 10:45 pm
    Jan 26, 2003 at 1:20 am
  • I just finished skimming this write-up, located at http://paulgraham.com/arcll1.html I'm not a Lisp enthusiast, by and large, but I think he makes some interesting observations on language design. ...
    Rich MorinRich Morin
    Jan 21, 2003 at 9:05 pm
    Jan 25, 2003 at 9:38 am
  • Apologies in advance for beating this dead horse... Damian Conway wrote: Ok $0 is special. But isn't it _the_ special case? And strictly speaking, its an ordered associative array right? It doesn't ...
    Garrett GoebelGarrett Goebel
    Jan 30, 2003 at 6:14 pm
    Feb 2, 2003 at 9:33 pm
  • This is just to let everybody know that I will be unsubscribing from p6-lang for the foreseeable future, effective immediately. I deeply regret that I simply no longer have the time to cope with the ...
    Damian ConwayDamian Conway
    Jan 30, 2003 at 8:38 pm
    Feb 3, 2003 at 7:49 pm
  • Given discussions about "hyper" operators in the past, I found this rather interesting in the release notes. http://pike.idonex.com/download/notes/7.4.10.xml Automap To perform per-element operations ...
    Chris DuttonChris Dutton
    Jan 1, 2003 at 4:34 am
    Jan 9, 2003 at 3:52 pm
  • What was the reason again which Larry rejected unifying the syntax for array and hash indexing? As Piers said, we know whether $a is an array or hash reference when we do: print $a- {foo}; Someone ...
    Garrett GoebelGarrett Goebel
    Jan 30, 2003 at 4:56 pm
    Jan 30, 2003 at 7:47 pm
  • Here's something that I'm still confused about. We have: print STDOUT : $a; as indirect object syntax. The colon means "STDOUT is the object we're operating on." It works everywhere. We also have for ...
    Michael LazzaroMichael Lazzaro
    Jan 23, 2003 at 6:10 pm
    Jan 24, 2003 at 7:35 pm
  • I still remember the first time I saw a computer program, before I had learned anything about programming myself. A friend showed me his first Fortran program, and it included the following line: N = ...
    Thom BoyerThom Boyer
    Jan 21, 2003 at 6:09 pm
    Jan 21, 2003 at 11:23 pm
  • And what's to prevent that collection object from handling: my $queue = SomeQueue.new; $queue.push('foo'); $queue.push('bar'); $queue.push('baz'); my $index_of_foo = $queue['foo']; # undef if no foo ...
    Garrett GoebelGarrett Goebel
    Jan 30, 2003 at 6:20 pm
    Jan 31, 2003 at 6:47 am
  • From: Piers Cawley [...] Got it. Conflating indexed and named lookups (creating a syntactic homonym), isn't desirable or reasonably feasible. If we went down that route, it'd wind up being more ...
    Garrett GoebelGarrett Goebel
    Jan 31, 2003 at 5:42 pm
    Feb 2, 2003 at 8:20 pm
  • Corrected in accordance with design team member feedback. These should be solid, now. Thanks much for the responses. 1) Edge cases in array indexing: my @a = (1,2,3); @a[0] # 1 @a[1] # 2 @a[2] # 3 ...
    Michael LazzaroMichael Lazzaro
    Jan 28, 2003 at 9:07 pm
    Jan 28, 2003 at 10:27 pm
  • In the L2R thread, I made a comment where I contrasted a for loop with a junction. On reflection, I think we could go further. If we defined my $prev = 0; sub mangle($value) { $value + $prev; ...
    Dave WhippDave Whipp
    Jan 17, 2003 at 8:31 pm
    Jan 20, 2003 at 12:47 am
  • oh , this is damn *PERFECT* ! a) easy reading b) 'type' and 'property' adjacent without hopping through list of varnames or complex property-constructs c) "variable/keys" adjacent to init value You ...
    Murat ÜnalanMurat Ünalan
    Jan 5, 2003 at 12:05 pm
    Jan 8, 2003 at 11:06 am
  • The Perl 6 Summary for the week ending 20030119 Summary time again, damn but those tuits are hard to round up. Guess, what? perl6-internals comes first. 141 messages this week versus the language ...
    Jan 22, 2003 at 9:37 pm
    Jan 27, 2003 at 5:34 pm
  • Sure. But managing the funding budget isn't a business, where basic research will enable more income. It's the allocation of scarce resources. And from that viewpoint, Larry and P6 is an iceberg, ...
    Austin HastingsAustin Hastings
    Jan 21, 2003 at 10:22 pm
    Jan 21, 2003 at 11:28 pm
  • Don't forget giving credit where credit is due. YetAnother has accomplished a good deal. I don't understand the current relative silence, but they did setup and administer The Perl Foundation (TPF). ...
    Garrett GoebelGarrett Goebel
    Jan 31, 2003 at 7:08 pm
    Jan 31, 2003 at 7:08 pm
  • A little blue-sky, here... need Seems to me this dual-aspectedness could be useful in representing the sort of tree nodes one would get from parsing XML. The hash aspect allows access to the ...
    Jan 30, 2003 at 8:10 pm
    Jan 30, 2003 at 8:10 pm
  • Thinking about this some more, and considering the desirability of lazy evaluation, I think incremental execution might be the right way. (Also, at the bottom is a weird version of switch/case that's ...
    Austin HastingsAustin Hastings
    Jan 24, 2003 at 2:29 am
    Jan 24, 2003 at 2:29 am
  • This, I think, is where I beg and plead--given how much effort it takes for Larry to get new apocalypses out, I'd really rather not make it so we want him to revisit old decisions while an apocalypse ...
    Dan SugalskiDan Sugalski
    Jan 23, 2003 at 11:41 pm
    Jan 23, 2003 at 11:41 pm
  • This is a valuable discussion, and I hope people will take this up on advocacy@perl.org as well. Thanks, John A see me fulminate at http://www.jzip.org/
    John AdamsJohn Adams
    Jan 21, 2003 at 10:00 pm
    Jan 21, 2003 at 10:00 pm
  • IIRC, it's also being used in some browsers (elinks, at least) as a lightweight stand-in for javascript. Not that anyone actually uses it, of course. - --hobbs
    Andrew RodlandAndrew Rodland
    Jan 21, 2003 at 8:41 pm
    Jan 21, 2003 at 8:41 pm
  • Whoever is working for qlcomm.com tech support and subscribed from work should probably unsubscribe and use a personal account, unless your boss wants 20+ messages per day coming in to your corporate ...
    Austin HastingsAustin Hastings
    Jan 16, 2003 at 7:54 pm
    Jan 16, 2003 at 7:54 pm
  • The Perl 6 Summary for the week ending 20030105 Hello and welcome to the first summary of 2003, welcome to the future. This summary covers 2 weeks, but they've been quietish what with Christmas and ...
    Jan 8, 2003 at 11:34 pm
    Jan 8, 2003 at 11:34 pm
  • I'm replying to your coffee-mug-throwing posting *very* late simply because I got so far behind on p6l that I had 1000 unread messages. Largely because of the "hellacious thread reworking operators." ...
    Thom BoyerThom Boyer
    Jan 8, 2003 at 8:43 pm
    Jan 8, 2003 at 8:43 pm
  • Do list objects automatically turn lazy if they are assigned another lazy list. Could I make a lazy list of the natural numbers like this:? @natural = 0..Inf; Or would that end up consuming ...
    Luke PalmerLuke Palmer
    Jan 4, 2003 at 2:35 am
    Jan 4, 2003 at 2:35 am
Group Navigation
period‹ prev | Jan 2003 | next ›
Group Overview
groupperl6-language @

79 users for January 2003

Damian Conway: 69 posts Michael Lazzaro: 56 posts Austin Hastings: 53 posts Dan Sugalski: 32 posts Piers Cawley: 31 posts Simon Cozens: 27 posts Mr. Nobody: 22 posts Luke Palmer: 21 posts Brent Dax: 17 posts Jonathan Scott Duff: 17 posts Aaron Sherman: 16 posts Smylers: 14 posts Dave Whipp: 13 posts Murat Ünalan: 13 posts Attriel: 11 posts David Storrs: 11 posts John Williams: 11 posts Mark J. Reed: 11 posts Nicholas Clark: 11 posts Rafael Garcia-Suarez: 11 posts
show more