package lambdapi

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

Install

Dune Dependency

Authors

Maintainers

Sources

lambdapi-2.4.1.tbz
sha256=221dff97ab245c49b7e6480fa2a3a331ab70eb86dd5d521e2c73151029bbb787
sha512=a39961bb7f04f739660a98a52981d4793709619cd21310ca6982ba78af81ef09e01c7517ee3b8b2687b09f7d2614d878c1d69494ca6ab8ef8205d240c216ce8a

doc/lambdapi.common/Common/Debug/index.html

Module Common.DebugSource

Helper functions for debugging. *

Sourcemodule D : sig ... end

Printing functions.

Logging function for command handling.

Sourceval log_hndl : 'a Lplib.Base.outfmt -> 'a
Sourceval time_of : string -> (unit -> 'b) -> 'b

time_of f x computes f x and prints the time for computing it.

Sourceval do_record_time : bool ref

To record time with record_time.

Sourceval do_print_time : bool ref
Sourcetype task =
  1. | Lexing
  2. | Parsing
  3. | Scoping
  4. | Rewriting
  5. | Typing
  6. | Solving
  7. | Reading
  8. | Sharing
  9. | Writing
Sourceval index : task -> int
Sourceval nb_tasks : int
Sourceval task_name : Format.formatter -> int -> unit
Sourceval record_time : task -> (unit -> unit) -> unit

record_time s f records under s the time spent in calling f. print_time () outputs the recorded times.

Sourceval print_time : float -> unit -> unit

record_time s f records under s the time spent in calling f. print_time () outputs the recorded times.

Sourceval stream_iter : ('a -> unit) -> 'a Stream.t -> unit

stream_iter f s is the same as Stream.iter f s but records the time in peeking the elements of the stream.

OCaml

Innovation. Community. Security.