Re: When scoping

2005-05-05 Thread David Wheeler
On May 4, 2005, at 23:19 , Larry Wall wrote: You must have missed the implied ... at the end of my list of other WTDI. You can also do any of: say Two if /hello/; /hello/ say Two; /hello/ and say Two; /hello/ ?? say Two :: leave; infix:and(/hello/, { say Two }) continue

Re: reduce metaoperator

2005-05-05 Thread David Wheeler
On May 5, 2005, at 11:28 , John Williams wrote: How does [+] know you mean reduce infix:+, @array; instead of reduce prefix:+, @array; which is nonsense, but the [+] is in a prefix position. Because [] applies only to infix operators, as I understand it. With the hyper metaoperator, the real

Re: Code classes

2005-05-03 Thread David Wheeler
On May 3, 2005, at 00:04 , Luke Palmer wrote: I agree with you there. $Larry has said that he wants `when` to work Shouldn't that be @Larry[0]? Cheers, David smime.p7s Description: S/MIME cryptographic signature

Re: should we change [^a-z] to -[a..z] instead of -[a-z]?

2005-04-14 Thread David Wheeler
. But the first person to write [a...] gets what's comin' to 'em. Regards, David -- David Wheeler President, Kineticode, Inc. http://www.kineticode.com/ Kineticode. Setting knowledge in motion.[sm]

Re: Junction Values

2005-02-18 Thread David Wheeler
On Feb 18, 2005, at 2:04 AM, Brent 'Dax' Royal-Gordon wrote: Junctions are equivalent to the English sentence Get eggs, bacon, and toast from the store. (In Perl, that'd be something like C $store-get(eggs bacon toast) .) It's just a bit of orthogonality that allows you to give eggs, bacon,

Re: Fun with junctions (was Sets vs Junctions)

2005-02-16 Thread David Wheeler
On Feb 15, 2005, at 11:16 PM, Larry Wall wrote: I admit that calling the .brainf*ck method is problematic several ways... And what of .c#? Regards, David

Re: Fun with junctions (was Sets vs Junctions)

2005-02-15 Thread David Wheeler
On Feb 15, 2005, at 11:06 AM, Larry Wall wrote: So maybe the actual pragma name is use qubits; Note: the pragma is not use junctions, since they're already allowed to use junctions, as long as they don't try to observe them. :-) To quote Noah, what's a qubit?

Re: Perl 6 Summary for 2004-11-29 through 2004-12-06

2004-12-07 Thread David Wheeler
On Dec 6, 2004, at 6:27 PM, Matt Fowles wrote: getters and setters John Siracusa wanted to know if Perl 6 would allow one to expose a member variable to the outside world, but then later intercept assignments to it without actually having to switch to using getters and setters

Re: Arglist I/O [Was: Angle quotes and pointy brackets]

2004-12-06 Thread David Wheeler
On Dec 6, 2004, at 7:38 AM, Austin Hastings wrote: for = {...} I dub the...the fish operator! :-) David

Re: specifying the key Type for a Hash

2004-12-04 Thread David Wheeler
On Dec 4, 2004, at 10:57 AM, Larry Wall wrote: Well, I just put is shape because that's what the PDLers settled on, but as far as I'm concerned linguistically, it could just be is dim. That would settle the make-it-like-English question by making it not at all like English. On the aesthetic hand,

Re: Angle quotes and pointy brackets

2004-11-30 Thread David Wheeler
On Nov 30, 2004, at 2:23 PM, Larry Wall wrote: Correct. The p5-to-p6 translator will turn any while (handle) {...} into for @$handle {...} I assume that each value would be still fetched from the file handle lazily, yes? Regards, David

Re: Angle quotes and pointy brackets

2004-11-30 Thread David Wheeler
On Nov 30, 2004, at 2:46 PM, Larry Wall wrote: : I assume that each value would be still fetched from the file handle : lazily, yes? Um, that was the question my Correct was answering. D'oh! Sorry. David

Re: Still about subroutines...

2004-09-17 Thread David Wheeler
On Sep 17, 2004, at 12:06 PM, Larry Wall wrote: I originally made them lowercase because they were $=line variables and I didn't want them to conflict with POD names that are typically uppercase, and use of an C= secondary sigil for POD is a no-brainer. s/uppercase/lowercase/ ? David

Re: Still about subroutines...

2004-09-17 Thread David Wheeler
On Sep 17, 2004, at 12:21 PM, Larry Wall wrote: No, not the verbs, the uppercase nouns we see like =begin COMMENT ... =end COMMENT Oh, I wasn't sure, because in the Synopses you've been using propercase for =head1 POD. But maybe it's not the subjects of the header and item type verbs

Iterators and Cfor

2004-09-09 Thread David Wheeler
On Sep 9, 2004, at 9:14 AM, Larry Wall wrote: I just borrowed the - from Perl 5 because I knew it was available, and I thought it read better for Cfor loops than the Ruby approach. Interestingly, I was at PDX.pm last night for a presentation entitled, Ruby for Perl Programmers. One of the things

Re: Return with no expression

2004-08-19 Thread David Wheeler
On Aug 19, 2004, at 9:41 AM, Matt Diephouse wrote: If the parameter does not exist at all, then param() will return undef in a scalar context, and the empty list in a list context. Sure enough. And I've even read a large percentage of the (unwieldy) CGI.pm docs. But I was using Cparam as

Re: Return with no expression

2004-08-19 Thread David Wheeler
On Aug 19, 2004, at 11:07 AM, Aaron Sherman wrote: First off, in Perl 6, I *think* that that C = will enforce a scalar context (it's a tuple operator, last I recall). W00t! Second, in Perl 5 it should not be hard to identify such situations for warning purposes. C = may be a synonym for C,, but

Re: Synopsis 2 draft 1

2004-08-15 Thread David Wheeler
On Aug 14, 2004, at 5:52 PM, Larry Wall wrote: If one goes with a standard method name, we also want to see what it looks like as an indirect object: for more $*IN for iter $*IN for every $*IN for read $*IN for in $*IN for shift $*IN Of these, I like Cevery best. Like I

Re: backticks

2004-04-16 Thread David Wheeler
On Apr 16, 2004, at 7:19 AM, Simon Cozens wrote: I'll bet you the actual most *common* use of modulus is: until ( my ($percent_done=done()) == 100 ) { do_work(); print $percent_done,\n unless $percent_done % 10; } And I'll bet it's something like this: for my $i

Re: backticks

2004-04-16 Thread David Wheeler
On Apr 16, 2004, at 10:14 AM, Juerd wrote: Even with the xx Inf? Why? Oh, right, missed that. Sorry. David

Re: Funky «vector» operator

2004-03-23 Thread David Wheeler
On Mar 22, 2004, at 10:36 PM, David Wheeler wrote: I'll wait and see what I hear back from the Emacs developers. In the meantime, there's TextEdit. I've heard back that it may be that Unicode support simply isn't included in the Carbonized version of Mac OS X. They plan to look

Re: Funky «vector» operator

2004-03-22 Thread David Wheeler
On Mar 20, 2004, at 1:32 PM, Calle Dybedahl wrote: You don't need Unicode display « and », just plain old ISO 8859-1. True, but I'd like to get Unicode working for other projects, as well. They're characters number 171 and 187 there. And AFAIK every Emacs version released in the past ten years

Re: Funky «vector» operator

2004-03-22 Thread David Wheeler
On Mar 22, 2004, at 5:02 PM, Piers Cawley wrote: Try this: (cond ((eq window-system 'mac) (when (string= default-directory /) (setq default-directory ~/)) (setq mac-command-key-is-meta t mac-reverse-ctrl-meta nil process-connection-type nil mac-keyboard-text-encoding

Re: Funky «vector» operator

2004-03-22 Thread David Wheeler
On Mar 22, 2004, at 10:28 PM, Piers Cawley wrote: (require 'cl) somewhere before that code chunk. I thought everyone already did that. Thanks. I put only the code you sent me in my .emacs, and a handy Unicode file I have still doesn't display properly. *sigh* I'll wait and see what I hear back

Re: Semantics of vector operations

2004-02-03 Thread David Wheeler
On Feb 2, 2004, at 9:53 PM, Kurt Starsinic wrote: I realize this is a tad OT, but can anyone tell me how I can get Emacs to properly display Unicode characters? I expect that others on the list could benefit, too. (require 'un-define) Since I really don't understand Lisp, and since that

Unicode in Emacs (was: Semantics of vector operations)

2004-02-03 Thread David Wheeler
On Feb 3, 2004, at 7:13 AM, Kurt Starsinic wrote: No joke. You'll need to have the mule-ucs module installed. A quick Google search turns up plenty of sources. Oh, I have Emacs 21.3.50. Mule is gone. You'll also need to have the appropriate fonts installed, of course. You may need to

Re: Semantics of vector operations

2004-02-02 Thread David Wheeler
On Feb 2, 2004, at 5:20 PM, Larry Wall wrote: That being said, we can potentially use × U+00D7 MULTIPLICATION SIGN. (Though my vim can't seem to decide whether it's a single-width or a double-width character, urgh...) I realize this is a tad OT, but can anyone tell me how I can get Emacs to

Re: Vocabulary

2003-12-18 Thread David Wheeler
currently _never_ execute, no matter when they're declared. Regards, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://www.kineticode.com/ Yahoo!: dew7e

Re: Vocabulary

2003-12-18 Thread David Wheeler
! ;-) Regards, David (Who wants to start writing Perl 6 applications yesterday.) -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://www.kineticode.com/ Yahoo!: dew7e

Re: Control flow variables

2003-11-18 Thread David Wheeler
some_sort_of_test($t) returns a true value. Regards, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://www.kineticode.com/ Yahoo!: dew7e

Re: Control flow variables

2003-11-18 Thread David Wheeler
On Tuesday, November 18, 2003, at 06:44 PM, Joseph Ryan wrote: And also if @array_of_random_values contains 'ok'. D'oh! See Damian's solution, then. ;-) David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http

Re: Alternately named arguments

2003-10-27 Thread David Wheeler
markers are only available within actual parameter lists. Damian Welcome back, Damian. Lo, how we've missed you and Larry these many long months! Regards, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http

Re: Protocols

2003-07-24 Thread David Wheeler
*without* having to inherit from an abstract base class and I wish that interface equivalence were checked before inheritance, as per Luke's idea. Sounds like you want Java-style interfaces to me. Regards, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED

Re: Protocols

2003-07-24 Thread David Wheeler
On Thursday, July 24, 2003, at 09:25 AM, Kurt Starsinic wrote: Sounds like you want Java-style interfaces to me. Follow the thread back. Objective-C had them way first, and their ur-name is protocols. D'oh! Sorry, I had read that, but then forgot. David -- David Wheeler

Re: L2R/R2L syntax (was Re: Everything is an object.)

2003-01-11 Thread David Wheeler
/,$x] »-« [»ord«split/null/,$y] } and then: #! /usr/bin/perl6 use Symbol::Readability; print delta_r('~','|'); How else? Hrm. What was the output? =) David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394

Re: L2R/R2L syntax (was Re: Everything is an object.)

2003-01-09 Thread David Wheeler
On Thursday, January 9, 2003, at 03:05 AM, Damian Conway wrote: I don't know about *your* font, but in mine the ~ and ~ versions are at least twice as readable as the | and | ones. Just out of curiosity, how did you measure that? ;-) David -- David Wheeler

Re: This week's Perl 6 summary

2002-12-24 Thread David Wheeler
On Tuesday, December 24, 2002, at 02:55 AM, Piers Cawley wrote: Apparently part of the problem is that the undef function isn't fully defined. Well, isn't that sort-of the point? :-) David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED

Re: purge: opposite of grep

2002-12-08 Thread David Wheeler
with? part from? part of? partner? etc.). David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler.net/ Yahoo!: dew7e Jabber: [EMAIL

Re: purge: opposite of grep

2002-12-08 Thread David Wheeler
On Sunday, December 8, 2002, at 10:20 AM, Smylers wrote: I dislike Csift cos it's a small typo away from Cshift. Yes, but I would expect to be a compile-time error, since the signatures are different. The same can't be said for r?index. David -- David Wheeler

Re: String concatentation operator

2002-11-18 Thread David Wheeler
guess. Regards, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler.net/ Yahoo!: dew7e Jabber: [EMAIL PROTECTED]

Re: Continuations elified

2002-11-18 Thread David Wheeler
to ask! Best, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler.net/ Yahoo!: dew7e Jabber: [EMAIL PROTECTED]

Re: Continuations elified

2002-11-18 Thread David Wheeler
definedness check is yet to be decided. That's a scalar context? I assumed it was list context from your previous post: In a list context: $fh # Calls $fh.each At any rate, I hope that it's bound to $_ -- nice conversion from Perl 5's behavior, that. David -- David Wheeler

Re: Continuations elified

2002-11-18 Thread David Wheeler
On Monday, November 18, 2002, at 08:17 PM, Damian Conway wrote: Sure. Cwhile always evaluates its condition in a scalar context. Oh, duh. Thanks. David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http

Re: Continuations

2002-11-18 Thread David Wheeler
On Monday, November 18, 2002, at 08:19 PM, Damian Conway wrote: (B (B What was the final syntax for vector ops? (B @a $B"c(B+$B"d(B @b (B @a $B"d(B+$B"c(B @b (B (B The latter (this week, at least ;-). (B (BThis reminds me: I though of another set of bracing characters that

Re: UTF-8 and Unicode FAQ, demos

2002-11-02 Thread David Wheeler
, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler.net/ Yahoo!: dew7e Jabber: [EMAIL PROTECTED]

Re: Primitive Boolean type?

2002-10-31 Thread David Wheeler
) can be undef. HTH, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler.net/ Yahoo!: dew7e Jabber: [EMAIL PROTECTED]

Re: Wh[ie]ther Infix Superposition ops

2002-10-30 Thread David Wheeler
On Wednesday, October 30, 2002, at 07:18 AM, Jonathan Scott Duff wrote: The only thing this inspires in my brain is Schoolhouse Rock flashbacks. o/~ Conjuction Junction, what's your function? o/~ Heh. That's what I heard, too. David -- David Wheeler AIM

Re: [RFC] Perl6 Operator List, Take 5

2002-10-30 Thread David Wheeler
is written in, I think that you and I might be better off using a smarter mailer. David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler.net/ Yahoo!: dew7e

Re: [RFC] Perl6 Operator List, Take 5

2002-10-30 Thread David Wheeler
be a PITA...even though I *love* the idea of using these characters, might it be better to abandon them for now? Regards, David PS: What do they look like in this reply? -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394

Re: [RFC] Perl6 Operator List, Take 5

2002-10-30 Thread David Wheeler
?'s And I didn't see them in Austin's message, but I see them in yours. Your mailer did the right thing, it looks like. David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler.net

Re: [RFC] Perl6 Operator List, Take 5

2002-10-30 Thread David Wheeler
are: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Which is correct. But let me ask you -- how did you input those characters? David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED

Re: Wh[ie]ther Infix Superposition ops

2002-10-29 Thread David Wheeler
down after this message. So I would look favorably on finding a replacement for superposition. Well, I like set operators, too, but what's the grammatical term for the above logically entangled list of nouns? Regards, David -- David Wheeler AIM: dwTheory

Re: perl6 operator precedence table

2002-10-24 Thread David Wheeler
whitespace to be the concatenation operator! my $foo = $bar $bat; ;-) David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler.net/ Yahoo!: dew7e

Re: perl6 operator precedence table

2002-10-24 Thread David Wheeler
-- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler.net/ Yahoo!: dew7e Jabber: [EMAIL PROTECTED]

Re: perl6 operator precedence table

2002-10-18 Thread David Wheeler
explaining #4 to someone Yes, except that bit is a subroutine reference, IIRC, not an operator. That's why it makes more sense to put the punctuation character at the end of the operator name. Regards, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED

Re: perl6 operator precedence table

2002-10-18 Thread David Wheeler
On Wednesday, October 16, 2002, at 04:55 PM, Smylers wrote: How about keeping caret for xor? $a ~^ $b # bitwise xor $a ^^ $b # logical xor Hm, the seagull operator? David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED

Re: Multimethod Dispatch

2002-09-04 Thread David Wheeler
? And will Perl 6 do it at compile-time or at run-time? Thanks, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler.net/ Yahoo!: dew7e

Re: auto deserialization

2002-09-02 Thread David Wheeler
On Monday, September 2, 2002, at 03:44 AM, Damian Conway wrote: my Date $date .= new('Jun 25, 20002'); H. That's a very interesting idea. I like it. Hallelujah! I like it, too! It's only one character more than my original suggestion! Regards, David -- David Wheeler

Re: auto deserialization

2002-09-02 Thread David Wheeler
On Monday, September 2, 2002, at 10:00 AM, Damian Conway wrote: No, I never said (nor intended to imply) that. Note that I carefully avoided the word alias in my description of this technique. ;-) That was my doing. Sorry folks. David -- David Wheeler

Re: auto deserialization

2002-09-01 Thread David Wheeler
. As long as one is careful about not creating conflicting class names... Regards, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler.net/ Yahoo!: dew7e

Re: auto deserialization

2002-08-31 Thread David Wheeler
typing so that I don't have to do all that extra typing. Regards, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler.net/ Yahoo!: dew7e

Re: auto deserialization

2002-08-28 Thread David Wheeler
) is this: my $date = Date.new('June 25, 2002'); Would automatically type C$date as a Date object. Thoughts? Regards, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler.net

Re: auto deserialization

2002-08-28 Thread David Wheeler
suppressed my stream of consciousness. I think we're all the better for it! :-) Regards, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler.net/ Yahoo!: dew7e

Re: perl6-language@perl.org

2002-08-01 Thread David Wheeler
this: my %hash; for qw(one two three) { %hash{$_} = 1; # $_ should *not* == %hash here! } Regards, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler.net/ Yahoo

Re: Apoc 5 questions/comments

2002-06-07 Thread David Wheeler
the matches from the last match? e.g., ($1, $2, $3, ...)? Regards, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler.net/ Yahoo!: dew7e

Re: Apoc 5 questions/comments

2002-06-07 Thread David Wheeler
would appreciate a mini-exegsis for what Perl 6 can do for them :) [hint, hint] I rather expect that whatever Perl 6 does for golfers is a side-effect of what Perl 6 is doing for programmers who just need to get their work done. David -- David Wheeler

Re: Apoc 5 questions/comments

2002-06-07 Thread David Wheeler
On 6/7/02 11:21 AM, David Wheeler [EMAIL PROTECTED] claimed: Not to mention kinda useless. I was hoping for a magic array that would hold the actual *matches*, rather than pointers to their character positions. And it appears to be C@$0. Duh. Sorry for the noise, folks. David -- David

Re: Half measures all round

2002-06-04 Thread David Wheeler
dedicated to Perl 5, and it will likely to continue moving forward for some time -- it may never die. And I think that's true regardless of whether Perl 6 supports Perl 5 or not. So it's okay by me to dump it. Lots of people will freak out, but many won't. Regards, David -- David Wheeler

Re: 6PAN (was: Half measures all round)

2002-06-04 Thread David Wheeler
enough. But the tests have got to be there. Regard, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler.net/ Yahoo!: dew7e

Re: 6PAN (was: Half measures all round)

2002-06-04 Thread David Wheeler
will be more likely to have documented changes. David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler.net/ Yahoo!: dew7e Jabber

Re: 6PAN (was: Half measures all round)

2002-06-04 Thread David Wheeler
to pay for the test bed for every possible combination of perl version, OS, various libraries, etc., etc.? I think that *requiring* that all tests pass is unrealistic. Regards, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED

Re: Idea

2002-05-22 Thread David Wheeler
Data::Types module on the CPAN. It offers functions for checking integers and other numeric types. 'Course, in Perl 6, builtin types will make this a non-issue. I look forward to that day! Regards, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED

Re: Accessor methods ?

2002-05-21 Thread David Wheeler
of inlining methods were considered by p5p about two years ago, when Doub MacEachern submitted a patch that optimized Perl 5 method calls. Simon wrote about it here: http://www.perl.com/lpt/a/2000/06/dougpatch.html Regards, David -- David Wheeler AIM: dwTheory

Re: Backslashes

2002-05-20 Thread David Wheeler
backslash when a single backslash prints a single backslash -- even when it precedes a single quote! But there are Perl 5 nits, really. Regards, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http

Attribute vs. Property

2002-05-11 Thread David Wheeler
that the language designers would decide that the way I use the terms is ever-so-much-better? ;-) Regards, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler.net/ Yahoo

Re: Attribute vs. Property

2002-05-11 Thread David Wheeler
went with our chosen terminology for Perl 6. ;-) Damn. I was afraid you were going to say that! :-) Thanks for the reply. Regards, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler.net

Re: Accessor methods ?

2002-05-11 Thread David Wheeler
On 5/11/02 2:43 PM, Damian Conway [EMAIL PROTECTED] claimed: method set_baz($newbaz is compatible($.baz)) { $.baz = $newbaz } method set_baz($newbaz is typeof($.baz)) { $.baz = $newbaz } I like the latter best -- and it beats the hell out of instanceof ;-) Regards, David -- David Wheeler

Re: // in Perl 5.8?

2002-05-01 Thread David Wheeler
.) I'm not a p5p, so I was wondering how this was going. I expect it won't go into 5.8.0, eh? Regards, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler.net/ Yahoo

Re: // in Perl 5.8?

2002-05-01 Thread David Wheeler
On 5/1/02 12:11 PM, Brent Dax [EMAIL PROTECTED] claimed: It's far too late to make it into 5.8, but it looks like it'll be in 5.10 when that comes out (in a year or two). I figured. Too bad. ;-) A year or two is long time to wait! Regards, David -- David Wheeler

Re: Loop controls

2002-04-29 Thread David Wheeler
at all is appealing about Celsloop. Why, for Perl poetry that wants to talk about the boat in Spanish! :-P David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler.net/ Yahoo

Re: Please rename 'but' to 'has'.

2002-04-20 Thread David Wheeler
changed at a particular time -- runtime. Compile time properties just *are* (is), no matter what, unless and until you say, at runtime, that it is *now* something else. -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394

Re: Cfor loop variations

2002-04-17 Thread David Wheeler
{...} That generalizes nicely on the very rare occasions that you need to use both: for @x, @y ; @z - $a ; $b, $c {...} /blockquote And then we just have to be aware that this could be the source of subtle bugs, and use the formatting to help us spot it. Regards, David -- David

// in Perl 5.8?

2002-04-17 Thread David Wheeler
Anyone know what the chances are that some enterprising C hacker can/will/did get the // and //= operator into Perl 5.8? Seems like it wouldn't be a huge deal to add, and I'd love to have it sooner rather than later. Regards, David -- David Wheeler AIM

Re: Cfor loop variations

2002-04-17 Thread David Wheeler
On 4/17/02 1:20 PM, Aaron Sherman [EMAIL PROTECTED] claimed: This gets ugly when you mix in traditional C for (are we keeping that in Perl6?): Yes, but it's name is changing to Cloop. David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED

Re: // in Perl 5.8?

2002-04-17 Thread David Wheeler
things are more rigorous now, and it should be 5.8.1. Personally, I'd rather see it sooner than later. David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler.net/ Yahoo

Re: // in Perl 5.8?

2002-04-17 Thread David Wheeler
of existing code. Good point, I hadn't thought of that. Regards, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler.net/ Yahoo!: dew7e

Re: Hashes, Stringification, Hashing and Strings

2002-04-16 Thread David Wheeler
-somefunctionthatchangesthehashvalue(); $a{aa}; # Key found. I personally liked the stringification of keys. It made things a LOT simpler. :) I suspect that you'll still be able to do this. David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ

Re: Hashes, Stringification, Hashing and Strings

2002-04-16 Thread David Wheeler
the database, and are therefore the same object, even though they wouldn't have the same OID. So I'd want to be able to say, for hash keys, use a key I define (probably including a primary key ID from the database). Regards, David -- David Wheeler AIM: dwTheory

Re: Hashes, Stringification, Hashing and Strings

2002-04-16 Thread David Wheeler
. But the default is gonna look a lot like Perl 5. That's certainly good enough for me! Regards, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler.net/ Yahoo!: dew7e

Cfor loop variations

2002-04-16 Thread David Wheeler
the mnemonic again? Is there any way the syntax could be made different? Could the two approaches be differently named? Perhaps the first could be Cforeach, and the second could be Cfor, and they could both use commas. Or am I just being paranoid? Regards, David -- David Wheeler

RE: Some Apocalypse 4 exception handling questions.

2002-01-24 Thread David Wheeler
On Thu, 2002-01-24 at 08:48, Garrett Goebel asked: So which Apoc will be the OO one? Apoc 12, to go by the chapters of the 3rd Camel. David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394

Re: Indenting

2001-10-16 Thread David Wheeler
{} operator, instead. No need for a closing newline. David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 Yahoo!: dew7e

RE: General Feelings on Apoc 3

2001-10-11 Thread David Wheeler
an acceptable name for the operator. I think the time has come, at last, to suggest a new operator -- and perhaps this would be a good place for it. We need the 'doh' operator. And to borrow from another thread, we might even be able to say doh! ;-) David -- David Wheeler