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

  • Documentation
  • elpi lib
  • Elpi .API .Execute Module
package elpi
  • elpi
    • Elpi
      • API
        • AlgebraicData
        • Ast
          • Loc
        • BuiltIn
        • BuiltInData
        • BuiltInPredicate
          • Notation
        • Compile
          • StrSet
        • ContextualConversion
        • Conversion
        • Data
          • StrMap
        • Execute
        • FlexibleData
          • Elpi
          • Host
          • HostWeak
          • Map
            • Host
          • Show
          • WeakMap
            • D
            • Host
        • OpaqueData
        • Parse
        • Pp
          • Ast
        • Query
        • Quotation
        • RawData
          • Constants
            • Map
            • Set
        • RawOpaqueData
        • RawPp
          • Debug
        • RawQuery
        • Setup
        • State
        • Utils
          • Map
            • Make
              • Ord
            • OrderedType
            • S
          • Set
            • Make
              • Ord
            • OrderedType
            • S
          • Show
          • Show1
      • Builtin
      • Builtin_checker
  • elpi.trace.ppx
    • Trace_ppx
  • elpi.trace.runtime
    • Trace_ppx_runtime
      • Runtime
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a outcome =
  1. | Success of 'a Data.solution
  2. | Failure
  3. | NoMoreSteps
val once : ?max_steps:int -> ?delay_outside_fragment:bool -> 'a Compile.executable -> 'a outcome
val loop : ?delay_outside_fragment:bool -> 'a Compile.executable -> more:(unit -> bool) -> pp:(float -> 'a outcome -> unit) -> unit

Prolog's REPL. pp is called on all solutions. more is called to know if another solution has to be searched for.

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