rangex v0.1.0 Rangex.RangeList
Link to this section Summary
Functions
adds a range to a range_list
Cut the range_list to contain all elements before the marker to
Cut the range_list to contain all elements after the marker from
returns the longest gap between two successive ranges in the list. Returns a range describing the gap. The list must be sorted
Link to this section Functions
adds a range to a range_list.
Cut the range_list to contain all elements before the marker to
In case an individual range encloses from the behaviour is giben by the
option :overlapping:
:cutcuts the range to end withto:drop[or false] drops the range from the result:include[ortrueor any other value] includes the overlapping range as is
The to argument is matched excluding it’s own value(as with the to component of a range).
Cut the range_list to contain all elements after the marker from
In case an individual range encloses from the behaviour is giben by the
option :overlapping:
:cutcuts the range to start withfrom:drop[or false] drops the range from the result:include[ortrueor any other value] includes the overlapping range as is
The from argument is matched inclusively.
returns the longest gap between two successive ranges in the list. Returns a range describing the gap. The list must be sorted