Re: Primitive Boolean type?

2002-11-03 Thread Michael Lazzaro
Larry wrote: > $z = 0 but true; > I'm not even particularly upset by this: > my bool $x = $z;# $x == 1 Yep, that's all I mean. I just want things like: my bool $lit = ($light eq "on"); if $lit { ... } to work such that (1) 'bool' always stores the "truth" of the e

Re: UTF-8 and Unicode FAQ, demos

2002-11-03 Thread Rafael Garcia-Suarez
Matthew Zimmerman wrote in perl.perl6.language : > > So let me make my original question a little more general: are Perl 6 source > files encoded in Latin-1, UTF-8, or will Perl 6 provide some sort of > translation mechanism, like specifying the charset on the command line? I expect probably some

Re: labeled if blocks

2002-11-03 Thread Bryan C. Warnock
On Mon, 2002-10-28 at 14:41, Larry Wall wrote: > And maybe: > > A bitwise operator is just a logic operator scoped to a set of bits. Hypo-operators. :-) -- Bryan C. Warnock bwarnock@(gtemail.net|raba.com)

Re: Flexops as information preserving Bitops

2002-11-03 Thread Piers Cawley
Damian Conway <[EMAIL PROTECTED]> writes: > Piers Cawley wrote: > >> So, on the train this morning, I had a moment of Satori. What's wrong >> with doing what we think of as bitwise operations using the flexops >> and adding a 'bitwise' context? So, a bitwise op becomes: >>bitwise ( $a | $b | $

Re: Primitive Boolean type?

2002-11-03 Thread Smylers
Michael Lazzaro wrote: > Agreed: the value of comparing a boolean with anything else is not > particularly sensible in *any* language. It isn't particularly unsensible in PHP. PHP only has one equality operator. If its operands are of different types then it casts one operand to match the other

Re: Primitive Boolean type?

2002-11-03 Thread Luke Palmer
> Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm > Date: 3 Nov 2002 14:58:52 - > From: Smylers <[EMAIL PROTECTED]> > X-Posted-By: 193.237.84.140 > > Michael Lazzaro wrote: > > > Agreed: the value of comparing a boolean with anything else is not > > particularly sensible in *any* langua

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

Unifying invocant and topic naming syntax

2002-11-03 Thread Me
I read Allison's topicalization piece: http://www.perl.com/pub/a/2002/10/30/topic.html I started with a simple thought: is given($foo) seems to jar with given $foo { ... } One pulls in the topic from outside and calls it $foo, the other does the reverse -- it pulls in $foo from th