r25542 - docs/Perl6/Spec

2009-02-25 Thread pugs-commits
Author: lwall Date: 2009-02-25 09:31:28 +0100 (Wed, 25 Feb 2009) New Revision: 25542 Modified: docs/Perl6/Spec/S28-special-names.pod docs/Perl6/Spec/S29-functions.pod Log: name whackage of various sorts Modified: docs/Perl6/Spec/S28-special-names.pod

Re: S28 update?

2009-02-25 Thread Timothy S. Nelson
For those who missed it, these were answered by Larry in an update to the specs. - | Name: Tim Nelson | Because the Creator is,| | E-mail: wayl...@wayland.id.au| I am |

Re: @*INPLACE_AUTOSPLIT_FIELDS

2009-02-25 Thread Timothy S. Nelson
In answer to this, Larry put something in the spec that says that @F is replaced with @_ Now I'm happy :). - | Name: Tim Nelson | Because the Creator is,| | E-mail: wayl...@wayland.id.au|

r25545 - docs/Perl6/Spec

2009-02-25 Thread pugs-commits
Author: wayland Date: 2009-02-25 13:03:29 +0100 (Wed, 25 Feb 2009) New Revision: 25545 Modified: docs/Perl6/Spec/S28-special-names.pod Log: A few minor fixes Modified: docs/Perl6/Spec/S28-special-names.pod === ---

Re: AnyEvent

2009-02-25 Thread Leon Timmermans
On Wed, Feb 25, 2009 at 5:56 AM, Timothy S. Nelson wayl...@wayland.id.au wrote:        Am I right in guessing that the AnyEvent stuff should go in S17 ? I would suggest to rename that to Event (since unlike Perl 5 that name is still available in Perl 6). Leon

r25552 - docs/Perl6/Spec/S32-setting-library

2009-02-25 Thread pugs-commits
Author: moritz Date: 2009-02-25 15:03:24 +0100 (Wed, 25 Feb 2009) New Revision: 25552 Modified: docs/Perl6/Spec/S32-setting-library/Any.pod docs/Perl6/Spec/S32-setting-library/Containers.pod docs/Perl6/Spec/S32-setting-library/IO.pod docs/Perl6/Spec/S32-setting-library/Numeric.pod

S28 -- more profusion of confusion on my part :)

2009-02-25 Thread Timothy S. Nelson
Hi. I wrote a variable finding program. The output is below for those interested (yes, it relies on ack), but the questions the output raises are: - Does the $?TABSTOP have a special meaning, or is it just an example like $?FOO is in so many places? - Should those

Re: Comparing inexact values (was Re: Temporal changes)

2009-02-25 Thread TSa
HaloO, Doug McNutt wrote: Thinking about what I actually do. . . A near equal test of a float ought to be a fractional error based on the current value of the float. $x tested for between $a*(1.0 + $errorfraction) and $a*(1.0 - $errorfraction) I strongly agree that checking relative

Re: Comparing inexact values (was Re: Temporal changes)

2009-02-25 Thread Mark J. Reed
I think the use of % for the modulus operator is too deeply ingrained to repurpose its infix incarnation. I do quite like the magical postfix %, but I wonder how far it should go beyond ±: $x += 5%; # becomes $x += ($x * .05)? Or maybe $x *= 1.05 ? $x * 5%; # becomes $x * .05 ?

Re: Comparing inexact values (was Re: Temporal changes)

2009-02-25 Thread Jon Lang
Mark J. Reed wrote: I do quite like the magical postfix %, but I wonder how far it should go beyond ±: $x += 5%;   # becomes $x += ($x * .05)?  Or maybe $x *= 1.05  ? $x * 5%;   # becomes $x * .05 ? If it works with ±, it ought to work with + and -. Rule of thumb: if there's no easy way to

Re: r25490 - docs/Perl6/Spec

2009-02-25 Thread Martin D Kealey
On Wed, 25 Feb 2009, Timothy S. Nelson wrote: I'm in favour of retaining the $[ functionality, but lets give it some name like $*INDEX_BEGINNING or something like that, so that it's quite long for people to type :). Surely the interpretation of the index should be up to each array-type?

Re: Comparing inexact values (was Re: Temporal changes)

2009-02-25 Thread Doug McNutt
At 13:58 -0500 2/25/09, Mark J. Reed wrote: I do quite like the magical postfix %, but I wonder how far it should go beyond ±: $x += 5%; # becomes $x += ($x * .05)? Or maybe $x *= 1.05 ? $x * 5%; # becomes $x * .05 ? For ratio-like comparisons for effective equality of floats some

Re: r25490 - docs/Perl6/Spec

2009-02-25 Thread Timothy S. Nelson
On Thu, 26 Feb 2009, Martin D Kealey wrote: On Wed, 25 Feb 2009, Timothy S. Nelson wrote: I'm in favour of retaining the $[ functionality, but lets give it some name like $*INDEX_BEGINNING or something like that, so that it's quite long for people to type :). Surely the interpretation of the

r25569 - in docs/Perl6/Spec: . S32-setting-library

2009-02-25 Thread pugs-commits
Author: wayland Date: 2009-02-26 02:56:30 +0100 (Thu, 26 Feb 2009) New Revision: 25569 Modified: docs/Perl6/Spec/S28-special-names.pod docs/Perl6/Spec/S32-setting-library/IO.pod Log: S32: Mentioned IPv6 S28: bugfixes Modified: docs/Perl6/Spec/S28-special-names.pod

r25570 - docs/Perl6/Spec

2009-02-25 Thread pugs-commits
Author: lwall Date: 2009-02-26 03:05:41 +0100 (Thu, 26 Feb 2009) New Revision: 25570 Modified: docs/Perl6/Spec/S02-bits.pod Log: [S02] more package and variable name cleanups Modified: docs/Perl6/Spec/S02-bits.pod === ---

Re: r25490 - docs/Perl6/Spec

2009-02-25 Thread Larry Wall
On Thu, Feb 26, 2009 at 11:57:07AM +1100, Timothy S. Nelson wrote: On Thu, 26 Feb 2009, Martin D Kealey wrote: On Wed, 25 Feb 2009, Timothy S. Nelson wrote: I'm in favour of retaining the $[ functionality, but lets give it some name like $*INDEX_BEGINNING or something like that, so that it's

Re: Comparing inexact values (was Re: Temporal changes)

2009-02-25 Thread Larry Wall
On Wed, Feb 25, 2009 at 02:34:50PM -0800, Jon Lang wrote: : Mark J. Reed wrote: : I do quite like the magical postfix %, but I wonder how far it should : go beyond ±: : : $x += 5%;   # becomes $x += ($x * .05)?  Or maybe $x *= 1.05  ? : $x * 5%;   # becomes $x * .05 ? : : If it works with ±,

Exceptions question

2009-02-25 Thread Timothy S. Nelson
S04 says: Because the contextual variable C$! contains all exceptions collected in the current lexical scope, saying Cdie $! will throw all exceptions, whether they were handled or not. A bare Cdie/Cfail takes C$! as the default argument. Does this mean that $! is a container

Re: Exceptions question

2009-02-25 Thread Larry Wall
On Thu, Feb 26, 2009 at 02:05:28PM +1100, Timothy S. Nelson wrote: Does this mean that $! is a container of some sort? It's an object, which (in the abstract) can contain anything it jolly well pleases. The main question beyond that is how it responds if used like one of the standard

r25573 - in docs/Perl6/Spec: . S32-setting-library

2009-02-25 Thread pugs-commits
Author: wayland Date: 2009-02-26 04:43:20 +0100 (Thu, 26 Feb 2009) New Revision: 25573 Added: docs/Perl6/Spec/S32-setting-library/Exception.pod Modified: docs/Perl6/Spec/S16-io.pod docs/Perl6/Spec/S32-setting-library/Numeric.pod Log: Numeric.pod: Added some notes on what needs to be