Class Val.Range
- Description
Generic lightweight range type. Supports any values for lower and upper boundaries that implement lfun::`<() and lfun::`-(), and preferrably also cast to
int
andstring
.- Note
Can only contain a single contiguous range.
- Note
The empty range must be stored as
(Math.inf, -Math.inf)
if assigned directly to from and till.
- Method
create
Val.Range Val.Range(
value_type
from
,value_type
till
)
Val.Range Val.Range(
this_program
copy
)
Val.Range Val.Range()
- Parameter
from
Lower inclusive boundary for the range. Specify no lower-boundary by filling in
-Math.inf
.- Parameter
till
Upper exclusive boundary for the range. Specify no upper-boundary by filling in
Math.inf
.- See also