Search Discussions

58 discussions - 523 posts

  • talking about nested subs brought up another related idea, static (not on the stack) lexicals inside subs. the current solution in p5 is to declare them in a surrounding block and that is slightly ...
    Uri GuttmanUri Guttman
    Mar 15, 2003 at 5:42 pm
    Apr 3, 2003 at 3:00 pm
  • method x ($me: $req, ?$opt, +$namedop, *%named, *@list) { ... } Yikes. And I thought we were trying to get *away* from line noise? :^) Seriously, can't we use something rather prettier, like this? ...
    Brent DaxBrent Dax
    Mar 11, 2003 at 6:31 am
    Apr 7, 2003 at 10:50 pm
  • In A6, it is confirmed that you can have "complex" types such as: my %pet is Hash of Array of Array of Hash of Array of Cat; It is also confirmed that you can indeed use such types in sub signatures, ...
    Michael LazzaroMichael Lazzaro
    Mar 11, 2003 at 1:41 am
    Mar 17, 2003 at 7:12 pm
  • A quick note before I begin: the stuff in this email isn't just an implementation detail - it impacts the language too, that's why I'm posting it here. Should I cross-post to perl6-internals ? (I'm ...
    Matthijs van DuinMatthijs van Duin
    Mar 18, 2003 at 7:55 pm
    Mar 20, 2003 at 9:20 pm
  • Dan, Sorry if I'm flogging a dead horse, but I just caught this call via the summarizer. Add to that: *) A superclass (obviously, but I consider it to be the same level as Properties, Methods and ...
    Sam VilainSam Vilain
    Mar 4, 2003 at 11:00 am
    Mar 7, 2003 at 3:29 pm
  • Forgive me; a very minor style & efficiency question... what would the canonical way to do this be, given what we know of Perl6? # the hapless, inefficient version: ... return ...
    Michael LazzaroMichael Lazzaro
    Mar 31, 2003 at 6:59 pm
    Apr 12, 2003 at 6:39 pm
  • 26


    So, is anyone working on a P6ML, and/or is there any discussion/agreement of what it would entail? MikeL
    Michael LazzaroMichael Lazzaro
    Mar 25, 2003 at 6:41 pm
    Mar 27, 2003 at 1:23 am
  • While this looks pretty in email, it makes me wonder what the :: operator does outside of regular expressions and how that operator interacts with ??:: And don't forget these other argument ...
    Jonathan Scott DuffJonathan Scott Duff
    Mar 25, 2003 at 7:08 pm
    Mar 26, 2003 at 8:04 pm
  • Okay, I've been thinking about closures, continuations, and coroutines, and one of the interfering points has been threads. What's the P6 thread model going to be? As I see it, parrot gives us the ...
    Austin HastingsAustin Hastings
    Mar 31, 2003 at 3:45 pm
    Apr 4, 2003 at 8:31 pm
  • First of all, Larry, do you have *any* idea how difficult you're making my life? :^) This stuff is damn hard to implement--I'm at 450 lines and counting, and I haven't even started the semantic ...
    Brent DaxBrent Dax
    Mar 18, 2003 at 9:06 pm
    Mar 25, 2003 at 5:17 am
  • I think that the issue here isn't so much good perl support for XML as it is good support for attributed DAGs, something which would be of general good use for perl, since the ASTs the parser feeds ...
    Dan SugalskiDan Sugalski
    Mar 26, 2003 at 3:26 pm
    Mar 26, 2003 at 9:00 pm
  • This may have been asked before, and I apologize if I somehow missed it, but can junctions be used for multiple properties? I can see it possibly being useful in a situation like the following(which ...
    Chris DuttonChris Dutton
    Mar 13, 2003 at 6:51 pm
    Mar 13, 2003 at 10:07 pm
  • The Perl 6 Summary for the week ending 20030309 Ooh look, it's another of those Perl 6 Summaries where Piers tries to work a gratuitous reference to Leon Brocard into a summary of what's been ...
    Piers CawleyPiers Cawley
    Mar 11, 2003 at 9:57 am
    Apr 9, 2003 at 2:36 pm
  • Will it be possible in perl6 to overload multis on the const-ness of a parameter, like C++ does? For instance, multi getX(Foo $self:) returns Int {...} #const version multi getX(Foo $self: is rw) ...
    Joe GottmanJoe Gottman
    Mar 12, 2003 at 1:58 am
    Mar 16, 2003 at 4:39 am
  • If one has a simple sub such as factorial: sub factorial(int $a) {...} then one subsequently declares the multi form of factorial to pick up the non-integer form: multi factorial(num $a) {...} Does ...
    Richard ProctorRichard Proctor
    Mar 11, 2003 at 2:43 pm
    Mar 15, 2003 at 7:08 pm
  • The effect of a macro is lexical; but "the name may be installed in either a package or a lexical scope". If the name is installed in a class, can it be invoked via a variable of that class? Example ...
    Dave WhippDave Whipp
    Mar 12, 2003 at 1:35 am
    Mar 13, 2003 at 3:40 pm
  • A simple question, I hope... From A6, "Calling Subroutines", comes the following: multi push(@array, +$how, *@list) {...} push(@a, how = 'rapidly', 1,2,3); # OK push(@a, 1,2,3); # WRONG, $how == 1! ...
    Michael LazzaroMichael Lazzaro
    Mar 15, 2003 at 12:18 am
    Apr 4, 2003 at 7:47 pm
  • Greetings all, Ok, it took me several days to get through A6, and I'm not caught up on all the mail yet (though I've tried to skim so I don't repeat someone else's question). I'm left with a bunch of ...
    David StorrsDavid Storrs
    Mar 16, 2003 at 10:09 pm
    Mar 24, 2003 at 8:52 pm
  • Request: Change .req method of Routine to .arity Why?: 1- Huffman. "req" is a valuable 3-letter token for a low-frequency method. 2- "req" is insufficiently descriptive. "arity" is vastly superior in ...
    Austin HastingsAustin Hastings
    Mar 18, 2003 at 11:09 pm
    Mar 19, 2003 at 11:27 pm
  • I have commented before on the face that Perl doesn't have "Power Tools" (read, idioms) that are well suited for handling XML. Turns out that Tim Bray agrees. ...
    Rich MorinRich Morin
    Mar 18, 2003 at 5:02 pm
    Mar 18, 2003 at 7:18 pm
  • Hi all, just dropping in with some thoughts I had while reading the archive of this list. I've tried to search the list but it's difficult with perl keywords being common english words and google ...
    Matthijs van DuinMatthijs van Duin
    Mar 10, 2003 at 9:52 am
    Mar 11, 2003 at 4:43 pm
  • OK, I've recently spent some intimate time with Apocalypse 5 and it has left me with a few issues and questions. If any of this has already been discussed, I'd appreciate some links (I've searched ...
    Matthijs van DuinMatthijs van Duin
    Mar 17, 2003 at 2:36 pm
    Mar 17, 2003 at 7:33 pm
  • Well, here's a start. Here are the ones I've found in the Exegeses and Apocalypses. Things like 'is copy' and 'is given' (and probably a great many others) have only been mentioned on the list, and ...
    Simon CozensSimon Cozens
    Mar 1, 2003 at 4:47 pm
    Mar 2, 2003 at 12:19 am
  • Like the fully-laden Australian swallow that heralds the first Apocalypse of springtime, I'm back. I hope you're all off reading: http://www.perl.com/pub/a/2003/03/07/apocalypse6.html Special thanks ...
    Damian ConwayDamian Conway
    Mar 10, 2003 at 8:59 pm
    Mar 12, 2003 at 2:57 am
  • If I've understood A6 correctly there are 6 types of argument to subroutines: invocant, mandatory positional parameters, optional positional parameters, optional named parameters, slurpy hash and ...
    Nicholas ClarkNicholas Clark
    Mar 15, 2003 at 11:52 pm
    Mar 16, 2003 at 4:06 am
  • hello everybody, I'm just a poor newbie here, so please bear with me :-) while reading the last Apocalypse I thought that maybe time has come to write things down (like the recent effort on ...
    Aldo CalpiniAldo Calpini
    Mar 13, 2003 at 9:59 am
    Mar 14, 2003 at 3:06 pm
  • I think there's a lot of room between "allow this subroutine to be wrapped" and "inline this subroutine." Whatever the "specific declaration for speed" is that forbids runtime wrapping of a ...
    John SiracusaJohn Siracusa
    Mar 12, 2003 at 12:45 am
    Mar 12, 2003 at 6:56 pm
  • I'm not sure I follow what you're asking for. Can you give a hypothetical example? Damian
    Damian ConwayDamian Conway
    Mar 10, 2003 at 11:11 pm
    Mar 11, 2003 at 5:42 am
  • Robin Berjon wrote: <one metric ton of useful stuff, in various messages, all of which I agree with Including... Indeed. This is the primary problem space. Nobody has done this well. If we could ...
    Michael LazzaroMichael Lazzaro
    Mar 26, 2003 at 7:40 pm
    Mar 27, 2003 at 7:59 pm
  • The Perl 6 Summary for the week ending 20030302 Welcome back to another episode in the ongoing saga that is the Perl 6 development process (or at least my attempt to describe it). We kick off with ...
    Piers CawleyPiers Cawley
    Mar 3, 2003 at 4:25 pm
    Mar 26, 2003 at 3:11 pm
  • Since noone else has said it yet -- This Apoc looks *great*. The sig stuff is very, very nice. (The wrapper stuff has interesting possibilities, too, especially with OO.) Question on pipes: I like ...
    Michael LazzaroMichael Lazzaro
    Mar 11, 2003 at 12:48 am
    Mar 12, 2003 at 2:49 am
  • Hi guys, i was just wondering if some notification mechanism ( signal/slot alike ) was planned in perl 6, like they already are in glib and qt ? Or is it maybe better if implemented in some perl6 ...
    Yannick Le SaintYannick Le Saint
    Mar 7, 2003 at 1:03 am
    Mar 8, 2003 at 2:54 am
  • "exporting object relationships in a sensible and consistent manner" Sounds like something worthy of more than a passing reference. In the context of parrot, what falls within the scope of a sensible ...
    Garrett GoebelGarrett Goebel
    Mar 6, 2003 at 4:48 pm
    Mar 7, 2003 at 6:29 pm
  • I understand this issue very clearly, but I don't think it's Perl's fault. There have been talks on and off about a Perl-XML SDK for at least two or three years, and it's not easy. We have ...
    Robin BerjonRobin Berjon
    Mar 26, 2003 at 4:04 pm
    Mar 26, 2003 at 4:28 pm
  • I just read Piers' summary: So apparently I haven't presented my point in that thread very well Don't get me wrong, if the answer is "no" then that settles it for me, but most of the thread was not ...
    Matthijs van DuinMatthijs van Duin
    Mar 18, 2003 at 9:04 pm
    Mar 19, 2003 at 10:28 am
  • Merely for the one small thing I might possibly contribute.... Would it be useful to have a convenient place to do polls? I suspect there already is one somewhere, but I'm unaware of it. I don't want ...
    Mar 18, 2003 at 2:50 pm
    Mar 18, 2003 at 6:14 pm
  • on boston.pm a thread arose about having named subs inside subs. of course perl5 can do it but they don't do anything useful but they do have some odd implemenation defined closure behavior. someone ...
    Uri GuttmanUri Guttman
    Mar 14, 2003 at 10:44 pm
    Mar 15, 2003 at 5:28 pm
  • So, now that we have binding, is it possible to overload the assignment operator? Does the assignment operator mean "value copy" instead of "reference copy"? Luke
    Luke PalmerLuke Palmer
    Mar 13, 2003 at 8:35 am
    Mar 14, 2003 at 7:55 pm
  • We've got Inf, right? So we know that scalar(()=(1..Inf) is Inf. Inf - 1 is still Inf. The only thing we need to define is what @arr[Inf] means. It seems clear from the previous several paragraphs ...
    David nicolDavid nicol
    Mar 12, 2003 at 10:07 am
    Mar 14, 2003 at 6:52 pm
  • is constant (default) Every formal parameter is constant by default, meaning primarily that the compiler won't feel obligated to construct an lvalue out the actual argument unless you specifically ...
    Uri GuttmanUri Guttman
    Mar 10, 2003 at 11:03 pm
    Mar 10, 2003 at 11:09 pm
  • I see e-accent in "te/en we can say", below, plus "dhow is ii\ the named-only zone" below that. It survived a few refreshes, so I wonder if it's a file-transfer problem? =Austin If instead we force ...
    Austin HastingsAustin Hastings
    Mar 10, 2003 at 10:38 pm
    Mar 10, 2003 at 11:05 pm
  • But mad or not, there are some good reasons to do just that. First, it makes it possible to write interfaces to other languages in Perl. Second, it gives the optimizer more information to think ...
    Uri GuttmanUri Guttman
    Mar 10, 2003 at 9:40 pm
    Mar 10, 2003 at 10:18 pm
  • Just checking.. will 'temp' temporize the container (like it does in perl 5) or the value? Both have their pros and cons and could be useful. Or will it depend on how the temp is used, like: temp ...
    Matthijs van DuinMatthijs van Duin
    Mar 31, 2003 at 8:56 am
    Mar 31, 2003 at 9:07 am
  • Nothing a macro can't fix :-D -- Matthijs van Duin -- May the Forth be with you!
    Matthijs van DuinMatthijs van Duin
    Mar 24, 2003 at 6:42 pm
    Mar 25, 2003 at 2:33 pm
  • Thanks for the valuable feedback, Hugo. As usual, the default response is unqualified agreement. Yes. And yes. And now one does. ;-) Agreed. Yes. I originally only had FIRST and LAST. Welcome to the ...
    Damian ConwayDamian Conway
    Mar 19, 2003 at 11:32 pm
    Mar 20, 2003 at 12:29 am
  • If one deploys a sub with optional-positional parameters, one can't add a required parameter later without breaking any existing calls that make use of any o-p parameters. Right? A6: "An rw parameter ...
    Ralph MellorRalph Mellor
    Mar 18, 2003 at 9:23 pm
    Mar 19, 2003 at 5:38 pm
  • Uhh.. I am emphatically against this. We cannot depend on the compiler data-flow analysis because: - It won't be very good (because of perl's ultra-dynamism) - It may improve as we put more effort on ...
    Angel FausAngel Faus
    Mar 14, 2003 at 7:25 pm
    Mar 14, 2003 at 8:10 pm
  • Sort of a rehash on an old topic, but there's new stuff now with A6. Mike Lazarro had been making a list of all the operators that Perl6 has. The latest version I could find was Take 6 (at ...
    Deborah Ariel PickettDeborah Ariel Pickett
    Mar 13, 2003 at 1:03 am
    Mar 13, 2003 at 1:39 am
  • Will infix operators be allowed to be macros instead of subs? They'd be kinda necessary for infix operators for which standard sub conventions are insufficient and need to diddle the parse tree ...
    Matthijs van DuinMatthijs van Duin
    Mar 11, 2003 at 3:39 pm
    Mar 12, 2003 at 6:41 pm
  • Seems like you are thinking along the lines of making Parrot support Prevayler-style http://www-106.ibm.com/developerworks/web/library/wa-objprev/index.html stuff naturally and with less coding at ...
    Mar 5, 2003 at 4:46 pm
    Mar 6, 2003 at 3:34 am
Group Navigation
period‹ prev | Mar 2003 | next ›
Group Overview
groupperl6-language @

69 users for March 2003

Damian Conway: 47 posts Mlazzaro: 43 posts Larry Wall: 42 posts Matthijs van Duin: 40 posts Austin Hastings: 39 posts Paul: 33 posts Dan Sugalski: 28 posts Luke Palmer: 23 posts Simon Cozens: 17 posts Piers Cawley: 15 posts Robin Berjon: 15 posts Uri Guttman: 13 posts Arcadi shehter: 12 posts Dave Whipp: 12 posts Jonathan Scott Duff: 12 posts Sam Vilain: 12 posts Brent Dax: 9 posts Andy Wardley: 5 posts David Storrs: 5 posts Matthijs van Duin: 5 posts
show more