• 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
  • OpamTypes .GenericPackage Module type
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

At some point we want to abstract so that the same functions can be used over CUDF and OPAM packages

include OpamParallel.VERTEX
include OpamStd.OrderedType
include Set.OrderedType
type t

The type of the set elements.

val to_string : t -> string
val to_json : t -> OpamJson.t
val of_json : OpamJson.t -> t option
include Graph.Sig.COMPARABLE with type t := t
val compare : t -> t -> int
val hash : t -> int
val equal : t -> t -> bool
val name_to_string : t -> string
val version_to_string : t -> string

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