Unison.Util.Range
contains :: Range -> Range -> Bool Source #
True if _x contains _y
_x
_y
overlaps :: Range -> Range -> Bool Source #
inRange :: Pos -> Range -> Bool Source #
isMultiLine :: Range -> Bool Source #
data Range Source #
Constructors
Fields
Defined in Unison.Util.Range
Methods
(<>) :: Range -> Range -> Range #
sconcat :: NonEmpty Range -> Range #
stimes :: Integral b => b -> Range -> Range #
showsPrec :: Int -> Range -> ShowS #
show :: Range -> String #
showList :: [Range] -> ShowS #
(==) :: Range -> Range -> Bool #
(/=) :: Range -> Range -> Bool #
compare :: Range -> Range -> Ordering #
(<) :: Range -> Range -> Bool #
(<=) :: Range -> Range -> Bool #
(>) :: Range -> Range -> Bool #
(>=) :: Range -> Range -> Bool #
max :: Range -> Range -> Range #
min :: Range -> Range -> Range #
startingLine :: Range -> Range Source #