Re: RFC 277 (v1) Eliminate unquoted barewords from Perl entirely

2000-10-17 Thread Ken Fox
Nathan Wiger wrote: > Your point is assuming that STDERR retains its weirdness, and does not > become a simple scalar object ... sub STDERR () { $STDERR } or am I missing something? > Making STDERR into $STDERR is all hinged on fast vtable stuff in core ... Absolutely false. $STDERR does not d

Re: RFC 277 (v1) Eliminate unquoted barewords from Perl entirely

2000-10-17 Thread Dan Sugalski
At 02:03 PM 10/17/00 -0400, Ken Fox wrote: >Nathan Wiger wrote: > > Making STDERR into $STDERR is all hinged on fast vtable stuff in core ... > >Absolutely false. $STDERR does not depend on vtables in any conceivable way. How it looks is ultimately unimportant. One way or another it'll refer to

Re: RFC 124 usefulness & implementation suggestion

2000-10-17 Thread Dan Sugalski
At 11:28 AM 10/16/00 -0700, Carl Wuebker wrote: > I'd like to put in a pitch for RFC 124 in Perl 6. Balanced binary >trees (such as AVL or red-black trees) allow O(log2 n) insertion, searching, >outputting ranges of keys & deletion. I wouldn't want to touch existing Perl >hashes, but it wo

Re: List Comprehensions (from Python)

2000-10-17 Thread Dan Schmidt
"raptor" <[EMAIL PROTECTED]> writes: | hi, | I haven't used Python... but last days I read some stuff, wanted to compare | both languages for myself and found something interesting. | They are proposing extentinon to Pyhon 2 It's already in Python 2.0. -- http://www.dfan.org

Why does atan2 take 2 arguments?

2000-10-17 Thread Jorg Ziefle
I wondered since quite a time why atan2 takes 2 arguments. This doesn't make much sense to me since you can always calculate you own "slope" and pass it to atan2. If there is some issue in this that I oversaw, could anybody please explain it. If not, I'd like to suggest to skip the 2nd argument.

Re: Why does atan2 take 2 arguments?

2000-10-17 Thread Peter Scott
At 05:22 PM 10/17/00 -0400, Jorg Ziefle wrote: >I wondered since quite a time why atan2 takes 2 arguments. > >This doesn't make much sense to me since you can always calculate you >own "slope" and pass it to atan2. > >If there is some issue in this that I oversaw, could anybody please >explain it.

Re: Why does atan2 take 2 arguments?

2000-10-17 Thread Andy Dougherty
On Tue, 17 Oct 2000, Jorg Ziefle wrote: > I wondered since quite a time why atan2 takes 2 arguments. Because otherwise it would be atan1? :-) Two arguments allows the function to gracefully handle infinite slope. It also allows the function to unambiguously assign the correct quadrant. --

Re: Why does atan2 take 2 arguments?

2000-10-17 Thread Ariel Scolnicov
Andy Dougherty <[EMAIL PROTECTED]> writes: > On Tue, 17 Oct 2000, Jorg Ziefle wrote: > > > I wondered since quite a time why atan2 takes 2 arguments. > > Because otherwise it would be atan1? :-) > > Two arguments allows the function to gracefully handle infinite slope. > It also allows the fun