package lambdapi

  1. Overview
  2. Docs
Proof assistant for the λΠ-calculus modulo rewriting

Install

Dune Dependency

Authors

Maintainers

Sources

lambdapi-2.6.0.tbz
sha256=d01e5f13db2eaba6e4fe330667149e0059d4886c651ff9d6b672db2dfc9765ed
sha512=33b68c972aca37985ed73c527076198e7d4961c7e27c89cdabfe4d1cff97cd41ccfb85ae9499eb98ad9a0aefd920bc55555df6393fc441ac2429e4d99cddafa8

doc/lambdapi.lplib/Lplib/RangeMap/index.html

Module Lplib.RangeMapSource

include RangeMap_intf.S with module Range = Range
Sourcetype 'a t

Maps a position of the cursor (point) to the corresponding token of type 'a in a given text editor with a .lp file open.

Sourcemodule Range = Range
Sourceval empty : 'a t

The empty range map.

Sourceval find : Range.point -> 'a t -> (Range.t * 'a) option

find pt map returns the only (token, range) couple in map such that pt is a point within the mapped interval range. Requires map to be well-defined (see add).

Sourceval add : Range.t -> 'a -> 'a t -> 'a t

add range token map adds a mapping (key : range, value : token) to map.

Requires all added keys to be non overlapping intervals to be well-defined. /!\ Does not ensure proper functionning if the added keys are overlapping intervals, e.g might change a previously added (key, element) couple or throw an error.

Sourceval to_string : ('a -> string) -> 'a t -> string
OCaml

Innovation. Community. Security.