Re: r28597 - docs/Perl6/Spec/S32-setting-library

2009-10-04 Thread David Green
On 2009-Oct-4, at 2:07 pm, Moritz Lenz wrote: Michael Zedeler wrote: It doesn't, because succ should always give the next, smallest possible element given some ordering relation. Where's that definition from? The dictionary. =) It would be confusing to have a "successor" method for som

Re: generality of Range

2009-10-04 Thread Darren Duncan
Moritz Lenz wrote: Darren Duncan wrote: However, I still don't see how one would retrieve the distinction between say "1..10" and "1^..^10". I suggest that an extra 2 methods such as .min_is_outside and .max_is_outside (each returns a Bool) could fit the bill, and in fact since I have Pugs wr

r28612 - docs/Perl6/Spec

2009-10-04 Thread pugs-commits
Author: Darren_Duncan Date: 2009-10-04 23:36:46 +0200 (Sun, 04 Oct 2009) New Revision: 28612 Modified: docs/Perl6/Spec/S03-operators.pod Log: Spec S03 : add Range methods .excl_min, .excl_max Modified: docs/Perl6/Spec/S03-operators.pod ==

Re: generality of Range

2009-10-04 Thread Moritz Lenz
Darren Duncan wrote: > However, I still don't see how one would retrieve the distinction between say > "1..10" and "1^..^10". I suggest that an extra 2 methods such as > .min_is_outside and .max_is_outside (each returns a Bool) could fit the bill, > and in fact since I have Pugs write access

Re: generality of Range

2009-10-04 Thread Darren Duncan
Minimiscience wrote: > On Oct 4, 2009, at 12:47 PM, yary wrote: >> There was a big discussion about this on the list recently but I don't >> recall the resolutions. > > The resolution was r28344: . > The short version is that ranges are now primarily used f

Re: r28597 - docs/Perl6/Spec/S32-setting-library

2009-10-04 Thread Moritz Lenz
Jon Lang wrote: > Moritz Lenz wrote: >> Jon Lang wrote: >>> typos: s[Nuermic] = "Numeric" >> >> You do have a pugs commit bit, don't you? > > A what? AFAICT, I don't have any way of editing the Synopses; You have now (sorry for assuming earlier that you had). A username and password should be on

[perl #69548] tests available

2009-10-04 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S32-array/push.t commit 41a786ddea8e7eddeed7a8bf58340d2d62babd1b Author: Kodi Date: Sun Oct 4 20:57:41 2009 + [t/spec/S32-array/push.t] Added a test for RT #69548 git-svn-id: http://s

Re: r28597 - docs/Perl6/Spec/S32-setting-library

2009-10-04 Thread Jon Lang
Moritz Lenz wrote: > Jon Lang wrote: >> typos: s[Nuermic] = "Numeric" > > You do have a pugs commit bit, don't you? A what? AFAICT, I don't have any way of editing the Synopses; all I can do is to comment on what I find. -- Jonathan "Dataweaver" Lang

Re: r28597 - docs/Perl6/Spec/S32-setting-library

2009-10-04 Thread Moritz Lenz
Michael Zedeler wrote: > Moritz Lenz wrote: >> Jon Lang wrote: >> >>> How do pred and succ work when given Complex values? >>> >> By adding/substracting 1 from the real part, I'd say. Don't know if that >> actually makes sense. >> > It doesn't, because succ should always give the next, s

Re: r28597 - docs/Perl6/Spec/S32-setting-library

2009-10-04 Thread Michael Zedeler
Moritz Lenz wrote: Jon Lang wrote: How do pred and succ work when given Complex values? By adding/substracting 1 from the real part, I'd say. Don't know if that actually makes sense. It doesn't, because succ should always give the next, smallest possible element given some ordering

Re: r28597 - docs/Perl6/Spec/S32-setting-library

2009-10-04 Thread Moritz Lenz
Jon Lang wrote: > How do pred and succ work when given Complex values? By adding/substracting 1 from the real part, I'd say. Don't know if that actually makes sense. > More generally: if Complex does Numeric, then Numeric doesn't include > Ordered (or whatever it's called), because Complex doesn'

Re: r28597 - docs/Perl6/Spec/S32-setting-library

2009-10-04 Thread Jon Lang
How do pred and succ work when given Complex values? More generally: if Complex does Numeric, then Numeric doesn't include Ordered (or whatever it's called), because Complex doesn't do Ordered. As such, you can't used Numeric for any function that depends on the value being Ordered. On Sun, Oct

Re: generality of Range

2009-10-04 Thread Jon Lang
yary wrote: > I'm confused between using ranges to generate a lazy list and using > them as criteria to match against. Indeed. It was my understanding that there was a recent change to Ranges so that they now exist primarily to be used as matching criteria. If you wish to generate a list, the pr

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

2009-10-04 Thread pugs-commits
Author: moritz Date: 2009-10-04 19:15:53 +0200 (Sun, 04 Oct 2009) New Revision: 28597 Modified: docs/Perl6/Spec/S32-setting-library/Numeric.pod Log: [S32/Numeric] major overhaul * Most methods that were in Num are now Numeric * sign() and the rounding methods are now in Real * document (at lea

r28596 - docs/Perl6/Spec

2009-10-04 Thread pugs-commits
Author: moritz Date: 2009-10-04 19:15:43 +0200 (Sun, 04 Oct 2009) New Revision: 28596 Modified: docs/Perl6/Spec/S03-operators.pod Log: [S03] be more consequent in removing :by Modified: docs/Perl6/Spec/S03-operators.pod === --- do

r28595 - docs/Perl6/Spec

2009-10-04 Thread pugs-commits
Author: moritz Date: 2009-10-04 19:15:29 +0200 (Sun, 04 Oct 2009) New Revision: 28595 Modified: docs/Perl6/Spec/S03-operators.pod Log: [S03] thinko Modified: docs/Perl6/Spec/S03-operators.pod === --- docs/Perl6/Spec/S03-operators.

r28594 - docs/Perl6/Spec

2009-10-04 Thread pugs-commits
Author: moritz Date: 2009-10-04 19:15:19 +0200 (Sun, 04 Oct 2009) New Revision: 28594 Modified: docs/Perl6/Spec/S03-operators.pod Log: [S03] markup Modified: docs/Perl6/Spec/S03-operators.pod === --- docs/Perl6/Spec/S03-operators.

Re: generality of Range

2009-10-04 Thread Minimiscience
On Oct 4, 2009, at 12:47 PM, yary wrote: There was a big discussion about this on the list recently but I don't recall the resolutions. The resolution was r28344: . The short version is that ranges are now primarily used for testing inclusion in int

Re: generality of Range

2009-10-04 Thread yary
I'm confused between using ranges to generate a lazy list and using them as criteria to match against. These exclude continuous (non-countable) types- ... > 2. There must be a successor function, so that given an object from > the given domain, say a, successor(a) returns one and only one >

Re: generality of Range

2009-10-04 Thread Michael Zedeler
Hi Darren. Darren Duncan wrote: In a project of mine I'm looking to use Perl 6 Range values to represent continuous interval values in the most generic manner possible, meaning that the endpoint values could literally be of any type at all. [...] for a realistic example: my $a = ['Foo', 17

r28591 - docs/Perl6/Spec

2009-10-04 Thread pugs-commits
Author: pmichaud Date: 2009-10-04 16:28:27 +0200 (Sun, 04 Oct 2009) New Revision: 28591 Modified: docs/Perl6/Spec/S08-capture.pod Log: [S08]: Update svn:eol-style property. Property changes on: docs/Perl6/Spec/S08-capture.pod _

r28590 - docs/Perl6/Spec

2009-10-04 Thread pugs-commits
Author: pmichaud Date: 2009-10-04 16:27:33 +0200 (Sun, 04 Oct 2009) New Revision: 28590 Modified: docs/Perl6/Spec/S08-capture.pod Log: [S08]: Update mime-type for .pod document. Property changes on: docs/Perl6/Spec/S08-capture.pod

r28589 - docs/Perl6/Spec

2009-10-04 Thread pugs-commits
Author: pmichaud Date: 2009-10-04 16:26:35 +0200 (Sun, 04 Oct 2009) New Revision: 28589 Modified: docs/Perl6/Spec/S08-capture.pod Log: [S08]: Some notes where online discussions are at odds with the spec. Modified: docs/Perl6/Spec/S08-capture.pod =

[perl #69548] [BUG] .push allows freaky action-at-a-distance in Rakudo

2009-10-04 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #69548] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=69548 > I'm pretty sure I've seen this bug report before, but I can't find it, so reporting it j

[perl #69550] [PATCH] add a cast for Num to Rat with optional error

2009-10-04 Thread via RT
# New Ticket Created by Lanny Ripple # Please include the string: [perl #69550] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=69550 > >From 8a240dd7b58e36d2b563a87c63eb89336662ddb9 Mon Sep 17 00:00:00 2001 From: Lanny Ripp

[perl #69562] [BUG] The reporting of line numbers is useless in Rakudo

2009-10-04 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #69562] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=69562 > $ perl6 -e'foo' Could not find non-existent sub foo in Main (src/gen_setting.pm:3469) N

[perl #69552] subst should warn on void or bool context

2009-10-04 Thread via RT
# New Ticket Created by Aaron Sherman # Please include the string: [perl #69552] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=69552 > When .subst has a void or Bool context, it should issue a warning, since there is no lo

generality of Range

2009-10-04 Thread Darren Duncan
A question. In a project of mine I'm looking to use Perl 6 Range values to represent continuous interval values in the most generic manner possible, meaning that the endpoint values could literally be of any type at all. I just wanted to confirm that that would work in the general case, where