# New Ticket Created by  Stephane Payrard 
# Please include the string:  [perl #76272]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=76272 >


I would expect the following to work

% my Range of Int $a;
Method '!select' not found for invocant of class ''

Also a  Range for Int should be provided.
I expect it to be more used than the generic version, that is overly complicated
for simple uses with possible exclusion of min and max.

What would be the name of the class of Range for Int?
RangeInt?

I suppose the  current class should be extended or derived
to support range that match a  TotallyOrderedDiscrete role.
Such a role would support the succ and prec methods.
For range it would lead to the method truemin and truemax to be
defined so people don't have to bother with excluded value(s).

-- 
cognominal stef

Reply via email to