package lambdapi
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=66d7d29f7a0d10493b8178c4c3aeb247971e24fab3eba1c54887e1b9a82fe005
sha512=69ecf2406e4c7225ab7f8ebe11624db5d2ab989c8f30f5b6e5d426fd8ef9102f142a2840af16fb9103bb712ebcf7d314635f8b413a05df66e7b7a38548867032
doc/lambdapi.lplib/Lplib/RangeMap/Make/argument-1-R/index.html
Parameter Make.R
val make_point : int -> int -> pointmake_point ln col creates a point with line ln and column col.
make_interval s e creates an interval with start s and end e. Requires the interval to be well defined (e.g with start < finish) or it will assert
val line : point -> intval column : point -> intComparison over intervals.
An interval is considered "smaller" than another if its ending point is before the starting point of the other.
Intervals need to be well defined (i.e returned by make_interval). Two intervals are considered equal if one is included in the other. In any other case, overlapping intervals can't be compared and will throw an error.
val point_to_string : point -> stringval interval_to_string : t -> stringtranslate i ds df returns the interval i with its starting point translated by ds and finishing point translated by df.
Will throw an error if the resulting interval is not well-defined (see make_interval). Only translates column-wise, does not modify the line coordinates of the extremity points.