range package:generic-deriving

The list of values in the subrange defined by a bounding pair.
The list of values in the subrange defined by a bounding pair.
Returns True the given subscript lies in the range defined the bounding pair.
Returns True the given subscript lies in the range defined the bounding pair.