package ocaml-logicalform

  1. Overview
  2. Docs
module Literal : sig ... end
type t = [
  1. | `And of t Base.list
  2. | `False
  3. | `L of Literal.Id.t
  4. | `Neg of Literal.Id.T.t
  5. | `Or of t Base.list
  6. | `Pos of Literal.Id.T.t
  7. | `True
]
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val t_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> t
val __t_of_sexp__ : Ppx_sexp_conv_lib.Sexp.t -> t
val and_ : t list -> t
val or_ : t list -> t
val not_ : t -> t
val validate : t -> t
val eval : t -> bool array -> bool option
val to_pretty_string : ?style:PrettyPrint.Style.Infix.t -> t -> string
val to_pretty_sexp : ?style:PrettyPrint.Style.Prefix.t -> t -> Base.Sexp.t
val of_pretty_sexp : ?style:PrettyPrint.Style.Prefix.t -> Base.Sexp.t -> t