Re: multi-line comments, C macros, & Pod abuse

2006-08-21 Thread markjreed
I think this is not even a metaprogramming issue so much as a programming environment one. I mean, if your editor doesn't make it easy to stick a # at the beginning of a bunch of lines with one action, and likewise remove them later, you need to get a new editor. :) On 8/21/06, Joshua Hoblitt <[

Re: Same-named arguments

2006-08-25 Thread markjreed
So what's the rationale behind the latest changes? I thought p6 consistently regarded the sigil as part of the name; seems like that should go for named parameters, too. In fact, sigils would seem to be a good way to distinguish named parameters from pairs. Alternatively, reserve either :k(v) or

Re: Same-named arguments

2006-08-26 Thread markjreed
So what's the rationale behind the latest changes? I thought p6 consistently regarded the sigil as part of the name; seems like that should go for named parameters, too. In fact, sigils would seem to be a good way to distinguish named parameters from pairs. Alternatively, reserve either :k(v) or

Re: Same-named arguments

2006-08-26 Thread markjreed
So what's the rationale behind the latest changes? I thought p6 consistently regarded the sigil as part of the name; seems like that should go for named parameters, too. In fact, sigils would seem to be a good way to distinguish named parameters from pairs. Alternatively, reserve either :k(v) or

Re: renaming "grep" to "where"

2006-09-19 Thread markjreed
As a random alternative, I note that Ruby's analog to grep is called "find_all" (though it also has a "grep" that behaves differently from Perl's). Personally, I'm not enamored of "filter" because it has connotations of removal... On 9/19/06, Jonathan Scott Duff <[EMAIL PROTECTED]> wrote: On Tu

Re: renaming "grep" to "where"

2006-09-19 Thread markjreed
I envision a select, reject, and partition, where @a.partition($foo) Returns the logical equivalent of [EMAIL PROTECTED]($foo), @a.select($foo)] But only executes $foo once per item. In fact. I'd expect partition to be the base op and select and reject to be defined as partition()[1] and part

Re: renaming "grep" to "where"

2006-09-20 Thread markjreed
I still don't think we have a consensus that grep needs to be renamed, much less what it should be renamed to. To me, "keep" implies throwing the rest away,I.e., modifying the list. "Select" has the advantage of lacking that connotation. To avoid dissonance with the two perl5 "select"s, we could

Fwd: [perl #40508] [PATCH] Removal of C++ comments in pmc files

2006-10-11 Thread markjreed
What's a "C++ comment"? If you mean //...\n comments, those are legal in ANSI-99 C (and the syntax goes back to BCPL). If the coding standard specifies multiline-style comments only, fine, but please don't use misleading terminology. -- Forwarded message -- From: via RT Paul Coc