package lambdapi

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

lambdapi-2.3.0.tbz
sha256=9b13c3121ef87cf4d3311a8a1db43db4be7f0e5e2a702fdaff04a3b3c432cb31
sha512=81e0760ca77cb862a5bdb8927aa37faf7141c4e2484a8163dad0a3eaa21cc691acb5f72279c78588c085f53dde4bd35186346378feac0ab55ac06a679cf2e60f

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

Module RangeMap.MakeSource

Parameters

module R : Range_intf.S

Signature

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.

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