package lambdapi

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

lambdapi-2.2.1.tbz
sha256=ba73f288e435130293408bd44732f1dfc5ec8a8db91c7453c9baf9c740095829
sha512=f88bb92fdb8aee8add60588673040fac012b2eab17c2a1d529c4b7c795cf0e1a9168122dc19889f04a31bda2bb2cf820237cbbe7e319121618aba3d134381756

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.