{ start : Location
, end : Location
}
Range for a piece of code with a start and end
{ row : Basics.Int
, column : Basics.Int
}
Source location
empty : Range
Construct an empty range
combine : List Range -> Range
Compute the largest area of a list of ranges.
See also Basics.compare.
compare : Range -> Range -> Basics.Order
Compare the position of two Ranges.
compareLocations : Location -> Location -> Basics.Order
Compare two Locations.
encode : Range -> Json.Encode.Value
Encode a range
decoder : Json.Decode.Decoder Range
Decode a range
emptyRange : Range
@deprecated Use empty
instead. It does the same thing but the name is more Elm-y.
Construct an empty range