• 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 .Name 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

Names

include OpamStd.ABSTRACT
type t
val of_string : string -> t
val to_string : t -> string
val to_json : t -> OpamJson.t
val of_json : OpamJson.t -> t option
module Set : OpamStd.SET with type elt = t
module Map : OpamStd.MAP with type key = t
val compare : t -> t -> int

Compare two package names

val equal : t -> t -> bool

Are two package names equal?

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