package lambdapi

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

lambdapi-3.0.0.tbz
sha256=1066aed2618fd8e6a400c5147dbf55ea977ce8d3fe2e518ac6785c6775a1b8be
sha512=f7f499626aba92e070ae69581299a58525973fdbfd04a160ed3ac89209fb6cbe307b816d0b23e1b75bc83467ce8b4b0530c6f9816eaf58f7a07fde65a450106c

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.