Module LogtkSourced

module LogtkSourced: sig .. end

Sourced Statements

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


type 'a t = {
   content : 'a;
   file : string;
   name : string;
   is_conjecture : bool;
}
val get : 'a t -> 'a
val file : 'a t -> string
val name : 'a t -> string
val is_conjecture : 'a 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