package forester

  1. Overview
  2. Docs

Relation symbols

module Rel : sig ... end
type rel = Rel.t

Query modifiers

type polarity =
  1. | Incoming
  2. | Outgoing

Determines whether we are searching for edges into or out of the supplied vertex.

val pp_polarity : Ppx_deriving_runtime.Format.formatter -> polarity -> Ppx_deriving_runtime.unit
val show_polarity : polarity -> Ppx_deriving_runtime.string
type mode =
  1. | Edges
  2. | Paths

Determines whether we are querying a relation or its reflexive-transitive closure.

val pp_mode : Ppx_deriving_runtime.Format.formatter -> mode -> Ppx_deriving_runtime.unit

Query type

type rel_query = mode * polarity * Rel.t

The parameters of a relational query.

val pp_rel_query : Ppx_deriving_runtime.Format.formatter -> rel_query -> Ppx_deriving_runtime.unit
val show_rel_query : rel_query -> Ppx_deriving_runtime.string
OCaml

Innovation. Community. Security.