package lambdapi

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

lambdapi-2.1.0.tbz
sha256=04fac3b56d1855795d7d2d2442bc650183bcd71f676c3ea77f37240e33769ce9
sha512=37f7bec3bc48632379ca9fb3eb562a0c0387e54afbdd10fb842b8da70c6dad529bb98c14b9d7cddf44a1d5aa61bba86338d310e6a7b420e95b2996b4fbafc95c

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.