package logtk

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Sourced Statements

LogtkFormulas, Terms, etc. with a source, so we know where it comes from.

type 'a t = {
  1. content : 'a;
  2. file : string;
  3. name : string;
  4. is_conjecture : bool;
}
val get : 'a t -> 'a
val file : _ t -> string
val name : _ t -> string
val is_conjecture : _ t -> bool
val make : ?is_conjecture:bool -> name:string -> file:string -> 'a -> 'a t

make a new sourced item. Default is_conjecture is false.

val map : ('a -> 'b) -> 'a t -> 'b t
include LogtkInterfaces.PRINT1 with type 'a t := 'a t
val pp : (Buffer.t -> 'a -> unit) -> Buffer.t -> 'a t -> unit
val to_string : (Buffer.t -> 'a -> unit) -> 'a t -> string
val fmt : (Format.formatter -> 'a -> unit) -> Format.formatter -> 'a t -> unit
OCaml

Innovation. Community. Security.