inRange package:ghc-internal

Returns True the given subscript lies in the range defined the bounding pair.