• OCaml logo OCaml logo
  • Learn
  • Packages
  • Community
  • Blog
  • Playground
  • Searching...
    Or go to: Standard Library API
  • Learn
  • Packages
  • Community
  • Blog
  • Playground
  • Get started
  • ocaml-logicalform

  • Documentation
  • ocaml-logicalform lib
  • LogicalForm .Std .CNF .Clause Module
package ocaml-logicalform
  • ocaml-logicalform
    • LogicalForm
      • CNF
        • I
          • Clause
            • Literal
              • Id
                • T
        • Make
          • C
            • Literal
              • Id
                • T
      • Clause
        • I
          • Literal
            • Id
              • T
        • Make
          • L
            • Id
              • T
      • DNF
        • I
          • Term
            • Literal
              • Id
                • T
        • Make
          • T
            • Literal
              • Id
                • T
      • Exceptions
      • Form
        • I
          • Literal
            • Id
              • T
      • IdBase
        • BASE
        • I
        • Make
          • B
      • Index
        • I
          • T
        • Make
          • T
      • Literal
        • I
          • Id
            • T
        • Make
          • Id
            • T
      • NNF
        • I
          • Literal
            • Id
              • T
        • Make
          • L
            • Id
              • T
      • PrettyPrint
        • I
        • Inspectable
        • Sexpable
        • Style
          • Infix
          • Prefix
      • Properties
        • Conjunctable
        • Disjunctable
        • Executable
        • NeedsValidation
        • Negatable
      • Std
        • CNF
          • Clause
            • Literal
              • Id
                • T
        • Clause
          • Literal
            • Id
              • T
        • DNF
          • Term
            • Literal
              • Id
                • T
        • Index
          • T
        • Literal
          • Id
            • T
        • NNF
          • Literal
            • Id
              • T
        • Term
          • Literal
            • Id
              • T
        • UnNF
          • Literal
            • Id
              • T
      • Term
        • I
          • Literal
            • Id
              • T
        • Make
          • L
            • Id
              • T
      • UnNF
        • I
          • Literal
            • Id
              • T
        • Make
          • L
            • Id
              • T
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Literal : sig ... end
type nonrec t = [
  1. | `False
  2. | `L of Literal.Id.t
  3. | `Neg of Literal.Id.T.t
  4. | `Or of Literal.t Base.list
  5. | `Pos of Literal.Id.T.t
  6. | `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 or_ : t list -> 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

Footer

OCaml

Innovation. Community. Security.

GitHub Discord Twitter Peertube RSS

About Us

  • Industrial Users
  • Academic Users
  • Why OCaml

Resources

  • Get Started
  • Language Manual
  • Standard Library API
  • Books
  • Releases

Community

  • Blog
  • Jobs

Policies

  • Carbon Footprint
  • Governance
  • Privacy
  • Code of Conduct