Re: RFD: Built-in testing

2009-01-21 Thread Richard Hainsworth
(Daniel Ruoso also proposed to call the adverb :test instead of :ok, making it easier to read but a bit longer; my happiness doesn't depend on the exact name, but of course we can discuss it once we have settled on this scheme, if we do so). My two-cents worth: The adverb on a boolean

Re: RFD: Built-in testing

2009-01-21 Thread Carl Mäsak
Moritz (): So Larry and Patrick developed the idea of creating an adverb on the test operator instead: $x == 1e5 :ok('the :ok makes this is a test'); I'm trying to explain to myself why I don't like this idea at all. I'm only partially successful. Other people seem to have no problem

Re: RFD: Built-in testing

2009-01-21 Thread Peter Scott
On Wed, 21 Jan 2009 13:35:50 +0100, Carl Mäsak wrote: Moritz (): So Larry and Patrick developed the idea of creating an adverb on the test operator instead: $x == 1e5 :ok('the :ok makes this is a test'); I'm trying to explain to myself why I don't like this idea at all. I'm only

Test.pm and skip()

2009-01-21 Thread Ovid
The skip multisub in Rakudo's Test.pm is defined like this: multi sub skip() is export() { proclaim(1, # SKIP); } multi sub skip($desc) is export() { proclaim(1, # SKIP ~ $desc); } multi sub skip($count, $desc) is export() { for 1..$count { proclaim(1,

Re: RFD: Built-in testing

2009-01-21 Thread Geoffrey Broadwell
On Wed, 2009-01-21 at 14:23 +, Peter Scott wrote: On Wed, 21 Jan 2009 13:35:50 +0100, Carl Mäsak wrote: I'm trying to explain to myself why I don't like this idea at all. I'm only partially successful. Other people seem to have no problem with it, so I might just be wrong, or part of a

r24991 - docs/Perl6/Spec

2009-01-21 Thread pugs-commits
Author: moritz Date: 2009-01-21 20:54:56 +0100 (Wed, 21 Jan 2009) New Revision: 24991 Modified: docs/Perl6/Spec/S29-functions.pod Log: [S29] changed outdated notice about document location, noticed by Coke++ Modified: docs/Perl6/Spec/S29-functions.pod