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

  • Documentation
  • opam-format lib
  • OpamPackage .Graph .V Module
package opam-format
  • opam-format
    • OpamFile
      • Aliases
      • BestEffortRead
      • Changes
      • Comp
      • Config
        • BestEffort
      • Descr
      • Dot_config
      • Dot_install
      • Environment
      • File_attributes
      • IO_FILE
      • InitConfig
      • LegacyState
      • Lines
      • OPAM
      • Package_index
      • Pinned_legacy
      • PkgList
      • Repo
      • Repo_config_legacy
      • Repos_config
        • BestEffort
      • Stats
      • SwitchExport
      • SwitchSelections
        • BestEffort
      • Switch_config
        • BestEffort
      • Syntax
      • URL
      • Wrappers
    • OpamFilter
    • OpamFormat
      • I
      • V
    • OpamFormatConfig
      • E
    • OpamFormula
    • OpamInterpLexer
    • OpamLineLexer
    • OpamPackage
      • Graph
        • Dot
        • E
        • Parallel
          • G
            • E
            • Topological
            • V
            • Vertex
        • Topological
        • V
      • Map
      • Name
        • Map
        • Set
          • Op
      • Set
        • Op
      • Version
        • Map
        • Set
          • Op
    • OpamPath
      • Builddir
      • LAYOUT
      • Switch
        • Default
        • DefaultF
          • L
        • Overlay
    • OpamPp
      • Op
      • STR
    • OpamRepositoryName
      • Map
      • Set
        • Op
    • OpamSwitch
      • Map
      • Set
        • Op
    • OpamSysPkg
      • Map
      • Set
        • Op
    • OpamTypes
      • GenericPackage
    • OpamTypesBase
    • OpamVariable
      • Full
        • Map
        • Set
          • Op
      • Map
      • Set
        • Op
Legend:
Library
Module
Module type
Parameter
Class
Class type

Vertices have type V.t and are labeled with type V.label (note that an implementation may identify the vertex with its label)

Vertices are COMPARABLE.

type t = t
include Graph.Sig.COMPARABLE with type t := t
val compare : t -> t -> int
val hash : t -> int
val equal : t -> t -> bool

Vertices are labeled.

type label
val create : label -> t
val label : t -> label

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