Speccing Test.pm?

2008-09-02 Thread Moritz Lenz
Howdy, The test suite is considered "official" as in "everything that passes the (completed) test suite may name itself Perl 6", and nearly all of these files 'use Test'; However we don't ship an "official" Test.pm, nor do we define which test functions it should contain and export by default, nor

Re: Speccing Test.pm?

2008-09-02 Thread Patrick R. Michaud
On Tue, Sep 02, 2008 at 02:10:39PM +0200, Moritz Lenz wrote: > The test suite is considered "official" as in "everything that passes > the (completed) test suite may name itself Perl 6", and nearly all of > these files 'use Test'; However we don't ship an "official" Test.pm, nor > do we define whic

Re: Speccing Test.pm?

2008-09-02 Thread Darren Duncan
Patrick R. Michaud wrote: On Tue, Sep 02, 2008 at 02:10:39PM +0200, Moritz Lenz wrote: And then? Spec it? Or ship a prototype Test.pm as "official"? I think it's good to have a prototype Test.pm that we can point to as a reference, but I don't think we need to try to designate it as being "off

Re: Speccing Test.pm?

2008-09-02 Thread Patrick R. Michaud
On Tue, Sep 02, 2008 at 12:32:49PM -0700, Darren Duncan wrote: > Patrick R. Michaud wrote: >> I think it's good to have a prototype Test.pm that we can point to as >> a reference, but I don't think we need to try to designate it as being >> "official". > > [...] > 2. The Perl 6 language spec itsel

Re: Speccing Test.pm?

2008-09-02 Thread Mark J. Reed
> 2. The Perl 6 language spec itself would specify a basic set of test > routines built-in to the language, in a Test namespace That sounds like a good idea, but it would require that the above Test functionality be included in the automated tests... which runs the risk of infinite recursion.

Re: What happened to "err" operator?

2008-09-02 Thread ajr
> On Sun, Aug 31, 2008 at 04:28:36PM -0500, John M. Dlugosz wrote: >> Has the "err" operator, as a low-precidence version of //, been removed? > > Yes. > It could be recycled as a "fuzzy Boolean", returning a fractional value between +1 and -1, indicating the confidence with which the result is off

Re: What happened to "err" operator?

2008-09-02 Thread Mark J. Reed
I think you're thinking of the "erm" operator... But back to "orelse" - is the only difference between "and"/"or" and "andthen"/"orelse" the fact that the result of the lhs gets passed as a parameter into the rhs? 'Cause I don't see the difference between "short circuit" and "proceed on success/f

Re: What happened to "err" operator?

2008-09-02 Thread Larry Wall
On Tue, Sep 02, 2008 at 07:56:33PM -0400, Mark J. Reed wrote: : I think you're thinking of the "erm" operator... : : But back to "orelse" - is the only difference between "and"/"or" and : "andthen"/"orelse" the fact that the result of the lhs gets passed as : a parameter into the rhs? 'Cause I do

Re: Speccing Test.pm?

2008-09-02 Thread Geoffrey Broadwell
On Tue, 2008-09-02 at 12:32 -0700, Darren Duncan wrote: > Now a common factor to both of my proposals is that this Test.pm is > intentionally kept as simple as possible and contains just the > functionality needed to bootstrap the official Perl 6 test suite; if the > official test suite doesn't