develooper Front page | perl.perl6.language | Postings from September 2008

Re: Split with negative limits, and other weirdnesses

Thread Previous | Thread Next
Chris Davaz
September 28, 2008 08:40
Re: Split with negative limits, and other weirdnesses
Message ID:
Ok, so 0 returns the empty list and -1 violates the signature? In PIR
can we have such signatures that put a constraint on the range of
values for a given parameter?

On Sun, Sep 28, 2008 at 7:25 PM, Carl Mäsak <> wrote:
> Jason (>):
>> It makes sense to me to go with option 1; you get what you ask for. It also
>> makes sense to make to not use magical implied numbers, such as negatives,
>> to accomplish things that either ranges or whatever star can accomplish.
> Aye, agreement. There's a whole lot of consensus already... reading
> through the discussion once more, I don't find anyone saying anything
> contradicting the above summary.
> Chris, I'm not in a position to provide a final word, but it seems
> very possible already to use what has already been said here as a
> basis for an implementation.
> // Carl

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About