package lambdapi

All checked builds pass
  1. Overview
  2. Docs
Proof assistant for the λΠ-calculus modulo rewriting

Install

dune-project
 Dependency

Authors

Maintainers

Sources

lambdapi-4.0.0.tbz
sha256=0e2e73e0ea0c674f1263bf85ed3453ed3d6084d38eea29974a03ba9e382d29d7
sha512=2831db57fcd09206687a92fc9ee7d363e87bcec5167949e9c8161d41c63d5887b9f3556bfd63a7a9a0c12e5a5dc61a397baf4f496ebdb2a2fce122142c05e7a1

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

Module Lplib.ExtraSource

Sourcemodule IntMap : sig ... end

Functional maps with int keys.

Sourcemodule IntSet : sig ... end

Functional sets of integers.

Sourcemodule StrMap : sig ... end

Functional maps with string keys.

Sourcemodule StrSet : sig ... end

Functional sets of strings.

Sourceval time : ('a -> 'b) -> 'a -> float * 'b

time f x times the application of f to x, and returns the evaluation time in seconds together with the result of the application.

Sourceexception Timeout

Exception raised by the timeout function on a timeout.

Sourceval timeout : int -> ('a -> 'b) -> 'a -> 'b

timeout nbs f x computes f x with a timeout of nbs seconds. The exception Timeout is raised if the computation takes too long, otherwise everything goes the usual way.

Sourceval input_lines : in_channel -> string list

input_lines ic reads the input channel ic line by line and returns its contents. The trailing newlines are removed in lines. The input channel is not closed by the function.

Sourceval run_process : string -> string list option

run_process cmd runs the command cmd and returns the list of the lines that it printed to its standard output (if the command was successful). If the command failed somehow, then None is returned.

Sourceval file_time : string -> float

file_time fname returns the modification time of file fname represented as a float. neg_infinity is returned if the file does not exist.

Sourceval more_recent : string -> string -> bool

more_recent source target checks whether the target (produced from the source file) should be produced again. This is the case when source is more recent than target.

Sourceval files : (string -> bool) -> string -> string list

files f d returns all the filenames in d and its sub-directories recursively satisfying the function f, assuming that d is a directory.

Sourceval iter_files : (string -> unit) -> string -> unit

iter_files f d calls f on every name relative to d of a regular file ending by ".lp" or ".dk" in d or in one of its sub-directories recursively, except hidden sub-directories and excluded directories (see below). d must be a directory.

Sourceval default : ('a, 'b, 'c, 'd, 'e, 'f) format6 -> ('a, 'b, 'c, 'd, 'e, 'f) format6