Re: Protocols

2003-07-24 Thread David Wheeler
quivalence *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:

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.

Re: Alternately named arguments

2003-10-27 Thread David Wheeler
the "named-only" 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]

Re: Control flow variables

2003-11-18 Thread David Wheeler
, which in your code is what happens when some_sort_of_test($t) returns a true value. Regards, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://www.kinetico

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]

Re: Vocabulary

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

Re: Vocabulary

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

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 prop

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 simply

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: Funky «vector» operator

2004-03-20 Thread David Wheeler
On Mar 19, 2004, at 11:58 AM, Karl Brodowsky wrote: just for the Emacs-users among you: C-x 8 < yields « and C-x 8 > yields ». Nice to know, even though my Emacs only displays empty squares for these characters. I have yet to figure out how to get it to properly display Unicode (I'm using 21.3.5

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 ha

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 kTextEncoding

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: 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 p

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 (0..$#t

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: 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 C best. Like I say, all

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 C as an exam

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

Iterators and C

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 C 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 t

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

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 () {...} 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: 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 h

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: 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 i

Re: Pick's randomness (was Re: Fun with junctions (was Sets vs Junctions))

2005-02-14 Thread David Wheeler
On Feb 13, 2005, at 3:54 PM, David Storrs wrote: Ok, so it requires actually overriding the rand function and providing your own implementation. I was hoping for something a bit more automagical (probably involving a property or role, since they seem to be the answer to everything these days), but

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? http://www.jr.co.il/humor/noah

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: 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 "

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

2005-04-14 Thread David Wheeler
o repeat a letter in a character class, well, I guess it isn't. 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: 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: When scoping

2005-05-04 Thread David Wheeler
On May 4, 2005, at 22:31 , Larry Wall wrote: given "hello" { when /hello/ { say "One"; if /hello/ { say "Two"; } if /hello/ { say "Three"; } continue; } say "Four"; } Is there no more say "Two" if /hello/; ? Regards,

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:(/hello/, { say "Two" })

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

RE: General Feelings on Apoc 3

2001-10-11 Thread David Wheeler
to Larry a few weeks back. > > He likes the idea, but is having trouble finding 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

Re: Indenting

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

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: 15726

Re: Hashes, Stringification, Hashing and Strings

2002-04-16 Thread David Wheeler
erl 6 example equivalent. # "aa" will be used for the hash key, as specified by Cat's # C spec. $b = new Cat("aa"); $a{$b} = 1; $b->somefunctionthatchangesthehashvalue(); $a{"aa"}; # Key found. > I personally liked the stringification of keys. It m

Re: Hashes, Stringification, Hashing and Strings

2002-04-16 Thread David Wheeler
e I could have two separate objects that loaded the same data from 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).

Re: Hashes, Stringification, Hashing and Strings

2002-04-16 Thread David Wheeler
attributes, for instance. Yes, this sounds ideal to me. > 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]

C loop variations

2002-04-16 Thread David Wheeler
's 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 C, and the second could be C, and they could both use commas. Or am I just being paranoid? Regards, David -- David Wheeler

Re: C loop variations

2002-04-17 Thread David Wheeler
; $b, $c {...} 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 Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler.net/ Yahoo!: dew7e Jabber: [EMAIL PROTECTED]

// 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

Re: C 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 C. David -- David Wheeler AIM

Re: // in Perl 5.8?

2002-04-17 Thread David Wheeler
about it sometime. ;-) But maybe 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: 1

Re: // in Perl 5.8?

2002-04-17 Thread David Wheeler
t it be m//, and that would break a lot of existing code. Good point, I hadn't thought of that. Regards, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler

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

2002-04-20 Thread David Wheeler
. It not only suggests that something has changed, but that it has 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

Re: Loop controls

2002-04-29 Thread David Wheeler
ferred C. I really > don't understand what at all is appealing about C. Why, for Perl poetry that wants to talk about "the boat" in Spanish! :-P David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ

Re: // in Perl 5.8?

2002-05-01 Thread David Wheeler
l, but I doubt those > files change that actively.) 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]

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! R

"Attribute" vs. "Property"

2002-05-11 Thread David Wheeler
elf around (at least when talking about Perl), or is there a chance 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]

Re: "Attribute" vs. "Property"

2002-05-11 Thread David Wheeler
ut I do think it would be easier all round if you just > 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]

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"

Re: Backslashes

2002-05-20 Thread David Wheeler
context, it is silly that a double-backslash prints a single 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 PROTECT

Re: Accessor methods ?

2002-05-21 Thread David Wheeler
nk that a number of these issues 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

Re: Idea

2002-05-22 Thread David Wheeler
t the regexes, check out my 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

Re: Half measures all round

2002-06-04 Thread David Wheeler
l 6, I will be motivated to port them. Plenty of folks are still 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

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

2002-06-04 Thread David Wheeler
forms they pass on and what platforms they don't at the top of the download page would be good enough. But the tests have got to be there. Regard, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED]

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

2002-06-04 Thread David Wheeler
still want to upload this module? That'll stop the vast majority of offenders, and those who upload anyway will be more likely to have documented changes. David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED]

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

2002-06-04 Thread David Wheeler
27;Reilly wants to fund me I'd be happy to do it. :-) On what platform(s)? Who's going 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

Re: Half measures all round

2002-06-04 Thread David Wheeler
On 6/4/02 4:08 PM, "Brent Dax" <[EMAIL PROTECTED]> claimed: > Why bother? You've already put P::RD and T::B effectively in the core! > ;^) And Switch. And Next? And Q::S? Larry, have you decided on that one yet? :-) Regards, David -- David Wheeler

Re: Apoc 5 questions/comments

2002-06-07 Thread David Wheeler
for that matter) have some magical array that holds all the matches from the last match? e.g., ($1, $2, $3, ...)? Regards, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler

Re: Apoc 5 questions/comments

2002-06-07 Thread David Wheeler
array. Perl 5 is another matter. > I guess the golfing community 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

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

Re: perl6-language@perl.org

2002-08-01 Thread David Wheeler
quently do stuff like 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/

Re: auto deserialization

2002-08-28 Thread David Wheeler
t the even simpler syntax suggested earlier in this thread) 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]

Re: auto deserialization

2002-08-28 Thread David Wheeler
b = { ... }; And if so, does it matter? > Whatever. My coffee stream hasn't yet suppressed my stream of > consciousness. I think we're all the better for it! :-) Regards, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED]

Re: auto deserialization

2002-08-31 Thread David Wheeler
haps there could be a way to mark a variable as statically typed at compile time, and have the compiler apply the static typing so that I don't have to do all that extra typing. Regards, David -- David Wheeler AIM: dwTheory [EMAIL PR

Re: auto deserialization

2002-09-01 Thread David Wheeler
gh; Oh, that's nice. 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/

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!

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

Multimethod Dispatch

2002-09-03 Thread David Wheeler
On Tuesday, September 3, 2002, at 05:08 PM, Dan Sugalski wrote: > We call that concept "multimethod dispatch". That's what you're asking > for. Dan, can you explain what "multimethod dispatch" is? Thanks! David -- David Wheeler

Re: Multimethod Dispatch

2002-09-03 Thread David Wheeler
their > parameter signature. Ah, yes, the same thing exists in Java. I remember, now. Thanks Dan, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler.net/

Re: Multimethod Dispatch

2002-09-04 Thread David Wheeler
ading? 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/ Ya

Re: perl6 operator precedence table

2002-10-18 Thread David Wheeler
would have an easier time 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

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

Re: perl6 operator precedence table

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

Re: perl6 operator precedence table

2002-10-24 Thread David Wheeler
am! :-D 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-29 Thread David Wheeler
s suddenly quieted 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 --

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

Re: [RFC] Perl6 Operator List, Take 5

2002-10-30 Thread David Wheeler
t's probably UTF-8 that Perl 6 source code 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://dav

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: 157

Re: [RFC] Perl6 Operator List, Take 5

2002-10-30 Thread David Wheeler
arry I see ?'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 htt

Re: [RFC] Perl6 Operator List, Take 5

2002-10-30 Thread David Wheeler
s 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 PROT

Re: [RFC] Perl6 Operator List, Take 5

2002-10-31 Thread David Wheeler
On Wednesday, October 30, 2002, at 01:52 PM, Michael Lazzaro wrote: Applications/Utilities/"Key Caps" (Again, OSX) which shows you where they all are. The «» quotes, for example, are option-\ and shift-option-\ Oh, well, I guess those aren't *too* far out of the way...

Re: Perl6 Operator (REMAINING ISSUES)

2002-10-31 Thread David Wheeler
better analogy than that, quantumly speaking? Plus, it turns out not to be at all hard to type on Mac OS X. ;-) Regards, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.w

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: Primitive Boolean type?

2002-11-01 Thread David Wheeler
what's the boolean type in Perl?" I'd rather answer "bit" than "Perl doesn't have one", if for no other reason than the latter answer will completely freak them out. :-) How do you answer that question when it's asked of Perl 5? David -- David Wheeler

Re: Primitive Boolean type?

2002-11-01 Thread David Wheeler
citly introduced true and false into the language, and have therefore destroyed the utility of context: my boolean $bool = 0; # False. my $foo = ''; # False context. if ($foo eq $bool) { # Oops! } Regards, David -- David Wheeler

Re: [RFC] Perl Operator List, TAKE 6

2002-11-01 Thread David Wheeler
which case it might be: `<>` - synonym for «op» `>>op<<` - synonym for »op« Regards, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheele

Re: UTF-8 and Unicode FAQ, demos

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

Re: UTF-8 and Unicode FAQ, demos

2002-11-02 Thread David Wheeler
don't see much of an argument there. That a discussion leads to discussions on other mail lists is not a reason not to use Unicode operators. Or so it seems to me. Regards, David -- David Wheeler AIM: dwTheory [EMAIL PROT

Unicode Checker

2002-11-03 Thread David Wheeler
For all you Mac OS X fans out there: http://www.earthlingsoft.net/UnicodeChecker/ Regards, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler.net/ Yahoo!: dew7e

Re: More junctions

2002-11-16 Thread David Wheeler
ally hope that, stylistically, we'll more often see code like this: if $damian | $larry | $dan == $hurt {...} # i.e. any of them hurt if $damian & $larry & $dan == $hurt {...} # all hurt Regards, David -- David Wheeler AIM: dwTheory [EM

Re: String concatentation operator

2002-11-18 Thread David Wheeler
f power, I 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
while {...} # I'm afraid 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
o $_ and the implicit 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 behavio

  1   2   >