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

  • Documentation
  • core_kernel lib
  • Core_kernel .Comparable .S .Set .Named Module
package core_kernel
  • core_kernel
    • Core_kernel
      • Arg
      • Array
        • Float
        • Int
        • Permissioned
          • Float
          • Int
      • Bag
        • Elt
      • Bigbuffer
        • Format
        • Printf
        • To_string
      • Bigstring
        • From_bytes
        • From_string
        • Hexdump
          • Pretty
        • Private
        • Stable
          • V1
        • To_bytes
        • To_string
        • Unstable
      • Bigsubstring
      • Bin_prot
        • Writer
      • Binable
        • Minimal
        • Of_binable
          • Binable
          • M
        • Of_binable1
          • Binable
          • M
        • Of_binable2
          • Binable
          • M
        • Of_binable3
          • Binable
          • M
        • Of_sexpable
          • M
        • Of_stringable
          • M
        • Stable
          • Of_binable
            • V1
              • Binable
              • M
          • Of_binable1
            • V1
              • Binable
              • M
          • Of_binable2
            • V1
              • Binable
              • M
          • Of_binable3
            • V1
              • Binable
              • M
          • Of_sexpable
            • V1
              • M
          • Of_stringable
            • V1
              • M
      • Binary_searchable
        • S1_permissions
      • Blang
        • Constructors
        • Let_syntax
          • Let_syntax
            • Open_on_rhs
        • Monad_infix
        • O
        • Stable
          • V1
      • Blit
        • S1_permissions
        • S_permissions
      • Bool
        • Hash_queue
        • Hash_set
          • Provide_bin_io
            • X
          • Provide_of_sexp
            • X
        • Map
          • Provide_bin_io
            • Key
          • Provide_hash
            • Key
          • Provide_of_sexp
            • Key
          • Tree
            • Provide_of_sexp
              • K
        • Replace_polymorphic_compare
        • Set
          • Named
          • Provide_bin_io
            • Elt
          • Provide_hash
            • Elt
          • Provide_of_sexp
            • Elt
          • Tree
            • Named
            • Provide_of_sexp
              • Elt
        • Stable
          • V1
        • Table
          • Provide_bin_io
            • Key
          • Provide_of_sexp
            • Key
      • Bounded_index
        • Make
          • Hash_queue
            • Key
          • Hash_set
            • Provide_bin_io
              • X
            • Provide_of_sexp
              • X
          • M
          • Map
            • Key
            • Provide_bin_io
              • Key
            • Provide_hash
              • Key
            • Provide_of_sexp
              • Key
            • Tree
              • Provide_of_sexp
                • K
          • Replace_polymorphic_compare
          • Set
            • Elt
            • Named
            • Provide_bin_io
              • Elt
            • Provide_hash
              • Elt
            • Provide_of_sexp
              • Elt
            • Tree
              • Named
              • Provide_of_sexp
                • Elt
          • Stable
            • V1
              • Map
              • Set
          • Table
            • Provide_bin_io
              • Key
            • Provide_of_sexp
              • Key
        • S
          • Hash_queue
            • Key
          • Hash_set
            • Provide_bin_io
              • X
            • Provide_of_sexp
              • X
          • Map
            • Key
            • Provide_bin_io
              • Key
            • Provide_hash
              • Key
            • Provide_of_sexp
              • Key
            • Tree
              • Provide_of_sexp
                • K
          • Replace_polymorphic_compare
          • Set
            • Elt
            • Named
            • Provide_bin_io
              • Elt
            • Provide_hash
              • Elt
            • Provide_of_sexp
              • Elt
            • Tree
              • Named
              • Provide_of_sexp
                • Elt
          • Stable
            • V1
              • Map
              • Set
          • Table
            • Provide_bin_io
              • Key
            • Provide_of_sexp
              • Key
      • Bounded_int_table
        • With_key
          • Key
      • Bus
        • Callback_arity
        • Fold_arity
        • On_subscription_after_first_write
        • Read_only
        • Read_write
        • Subscriber
      • Byte_units
        • Hash_queue
        • Hash_set
          • Provide_bin_io
            • X
          • Provide_of_sexp
            • X
        • Infix
        • Map
          • Provide_bin_io
            • Key
          • Provide_hash
            • Key
          • Provide_of_sexp
            • Key
          • Tree
            • Provide_of_sexp
              • K
        • Replace_polymorphic_compare
        • Set
          • Named
          • Provide_bin_io
            • Elt
          • Provide_hash
            • Elt
          • Provide_of_sexp
            • Elt
          • Tree
            • Named
            • Provide_of_sexp
              • Elt
        • Stable
          • V1
          • V2
        • Table
          • Provide_bin_io
            • Key
          • Provide_of_sexp
            • Key
      • Bytes
        • Hexdump
          • Pretty
        • Stable
          • V1
      • Char
        • Hash_queue
        • Hash_set
          • Provide_bin_io
            • X
          • Provide_of_sexp
            • X
        • Map
          • Provide_bin_io
            • Key
          • Provide_hash
            • Key
          • Provide_of_sexp
            • Key
          • Tree
            • Provide_of_sexp
              • K
        • Replace_polymorphic_compare
        • Set
          • Named
          • Provide_bin_io
            • Elt
          • Provide_hash
            • Elt
          • Provide_of_sexp
            • Elt
          • Tree
            • Named
            • Provide_of_sexp
              • Elt
        • Table
          • Provide_bin_io
            • Key
          • Provide_of_sexp
            • Key
      • Command
        • Anons
        • Arg_type
          • Export
        • Deprecated
          • Spec
        • Flag
        • Let_syntax
          • Let_syntax
        • Param
          • Applicative_infix
          • Arg_type
            • Export
          • S
            • Applicative_infix
        • Shape
          • Base_info
            • Fields
              • Direct
          • Exec_info
            • Fields
              • Direct
          • Flag_info
            • Fields
              • Direct
          • Fully_forced
          • Group_info
            • Fields
              • Direct
        • Spec
          • Applicative_infix
          • Arg_type
            • Export
      • Comparable
        • Extend
          • M
          • Map
            • Key
            • Provide_bin_io
              • Key
            • Provide_hash
              • Key
            • Provide_of_sexp
              • Key
            • Tree
              • Provide_of_sexp
                • K
          • Replace_polymorphic_compare
          • Set
            • Elt
            • Named
            • Provide_bin_io
              • Elt
            • Provide_hash
              • Elt
            • Provide_of_sexp
              • Elt
            • Tree
              • Named
              • Provide_of_sexp
                • Elt
          • X
        • Extend_binable
          • M
          • Map
            • Key
            • Provide_bin_io
              • Key
            • Provide_hash
              • Key
            • Provide_of_sexp
              • Key
            • Tree
              • Provide_of_sexp
                • K
          • Replace_polymorphic_compare
          • Set
            • Elt
            • Named
            • Provide_bin_io
              • Elt
            • Provide_hash
              • Elt
            • Provide_of_sexp
              • Elt
            • Tree
              • Named
              • Provide_of_sexp
                • Elt
          • X
        • Inherit
          • C
          • Map
            • Key
            • Provide_bin_io
              • Key
            • Provide_hash
              • Key
            • Provide_of_sexp
              • Key
            • Tree
              • Provide_of_sexp
                • K
          • Replace_polymorphic_compare
          • Set
            • Elt
            • Named
            • Provide_bin_io
              • Elt
            • Provide_hash
              • Elt
            • Provide_of_sexp
              • Elt
            • Tree
              • Named
              • Provide_of_sexp
                • Elt
          • T
        • Make
          • Map
            • Key
            • Provide_bin_io
              • Key
            • Provide_hash
              • Key
            • Provide_of_sexp
              • Key
            • Tree
              • Provide_of_sexp
                • K
          • Replace_polymorphic_compare
          • Set
            • Elt
            • Named
            • Provide_bin_io
              • Elt
            • Provide_hash
              • Elt
            • Provide_of_sexp
              • Elt
            • Tree
              • Named
              • Provide_of_sexp
                • Elt
          • T
        • Make_binable
          • Map
            • Key
            • Provide_bin_io
              • Key
            • Provide_hash
              • Key
            • Provide_of_sexp
              • Key
            • Tree
              • Provide_of_sexp
                • K
          • Replace_polymorphic_compare
          • Set
            • Elt
            • Named
            • Provide_bin_io
              • Elt
            • Provide_hash
              • Elt
            • Provide_of_sexp
              • Elt
            • Tree
              • Named
              • Provide_of_sexp
                • Elt
          • T
        • Make_binable_using_comparator
          • Map
            • Key
            • Provide_bin_io
              • Key
            • Provide_hash
              • Key
            • Provide_of_sexp
              • Key
            • Tree
              • Provide_of_sexp
                • K
          • Replace_polymorphic_compare
          • Set
            • Elt
            • Named
            • Provide_bin_io
              • Elt
            • Provide_hash
              • Elt
            • Provide_of_sexp
              • Elt
            • Tree
              • Named
              • Provide_of_sexp
                • Elt
          • T
        • Make_plain
          • Map
            • Key
            • Provide_bin_io
              • Key
            • Provide_hash
              • Key
            • Provide_of_sexp
              • Key
            • Tree
              • Provide_of_sexp
                • K
          • Replace_polymorphic_compare
          • Set
            • Elt
            • Named
            • Provide_bin_io
              • Elt
            • Provide_hash
              • Elt
            • Provide_of_sexp
              • Elt
            • Tree
              • Named
              • Provide_of_sexp
                • Elt
          • T
        • Make_plain_using_comparator
          • Map
            • Key
            • Provide_bin_io
              • Key
            • Provide_hash
              • Key
            • Provide_of_sexp
              • Key
            • Tree
              • Provide_of_sexp
                • K
          • Replace_polymorphic_compare
          • Set
            • Elt
            • Named
            • Provide_bin_io
              • Elt
            • Provide_hash
              • Elt
            • Provide_of_sexp
              • Elt
            • Tree
              • Named
              • Provide_of_sexp
                • Elt
          • T
        • Make_using_comparator
          • Map
            • Key
            • Provide_bin_io
              • Key
            • Provide_hash
              • Key
            • Provide_of_sexp
              • Key
            • Tree
              • Provide_of_sexp
                • K
          • Replace_polymorphic_compare
          • Set
            • Elt
            • Named
            • Provide_bin_io
              • Elt
            • Provide_hash
              • Elt
            • Provide_of_sexp
              • Elt
            • Tree
              • Named
              • Provide_of_sexp
                • Elt
          • T
        • Map_and_set_binable
          • Map
            • Key
            • Provide_bin_io
              • Key
            • Provide_hash
              • Key
            • Provide_of_sexp
              • Key
            • Tree
              • Provide_of_sexp
                • K
          • Set
            • Elt
            • Named
            • Provide_bin_io
              • Elt
            • Provide_hash
              • Elt
            • Provide_of_sexp
              • Elt
            • Tree
              • Named
              • Provide_of_sexp
                • Elt
          • T
        • Map_and_set_binable_using_comparator
          • Map
            • Key
            • Provide_bin_io
              • Key
            • Provide_hash
              • Key
            • Provide_of_sexp
              • Key
            • Tree
              • Provide_of_sexp
                • K
          • Set
            • Elt
            • Named
            • Provide_bin_io
              • Elt
            • Provide_hash
              • Elt
            • Provide_of_sexp
              • Elt
            • Tree
              • Named
              • Provide_of_sexp
                • Elt
          • T
        • Poly
          • Map
            • Key
            • Provide_bin_io
              • Key
            • Provide_hash
              • Key
            • Provide_of_sexp
              • Key
            • Tree
              • Provide_of_sexp
                • K
          • Replace_polymorphic_compare
          • Set
            • Elt
            • Named
            • Provide_bin_io
              • Elt
            • Provide_hash
              • Elt
            • Provide_of_sexp
              • Elt
            • Tree
              • Named
              • Provide_of_sexp
                • Elt
          • T
        • S
          • Map
            • Key
            • Provide_bin_io
              • Key
            • Provide_hash
              • Key
            • Provide_of_sexp
              • Key
            • Tree
              • Provide_of_sexp
                • K
          • Replace_polymorphic_compare
          • Set
            • Elt
            • Named
            • Provide_bin_io
              • Elt
            • Provide_hash
              • Elt
            • Provide_of_sexp
              • Elt
            • Tree
              • Named
              • Provide_of_sexp
                • Elt
        • S_binable
          • Map
            • Key
            • Provide_bin_io
              • Key
            • Provide_hash
              • Key
            • Provide_of_sexp
              • Key
            • Tree
              • Provide_of_sexp
                • K
          • Replace_polymorphic_compare
          • Set
            • Elt
            • Named
            • Provide_bin_io
              • Elt
            • Provide_hash
              • Elt
            • Provide_of_sexp
              • Elt
            • Tree
              • Named
              • Provide_of_sexp
                • Elt
        • S_common
          • Replace_polymorphic_compare
        • S_plain
          • Map
            • Key
            • Provide_bin_io
              • Key
            • Provide_hash
              • Key
            • Provide_of_sexp
              • Key
            • Tree
              • Provide_of_sexp
                • K
          • Replace_polymorphic_compare
          • Set
            • Elt
            • Named
            • Provide_bin_io
              • Elt
            • Provide_hash
              • Elt
            • Provide_of_sexp
              • Elt
            • Tree
              • Named
              • Provide_of_sexp
                • Elt
        • Stable
          • V1
            • Make
              • Map
              • Set
              • X
            • S
              • Map
              • Set
        • Validate
          • T
        • Validate_with_zero
          • T
        • With_zero
          • T
      • Comparator
        • Stable
          • V1
            • Make
              • M
            • Make1
              • M
            • S
            • S1
      • Container
      • Container_intf
        • Container
        • S1_permissions
      • Core_kernel_private
        • Bigbuffer_internal
        • Digit_string_helpers
          • Round
          • Unsafe
        • Ofday_helpers
        • Span_float
          • Hash_queue
            • Key
          • Hash_set
            • Provide_bin_io
              • X
            • Provide_of_sexp
              • X
          • Map
            • Key
            • Provide_bin_io
              • Key
            • Provide_hash
              • Key
            • Provide_of_sexp
              • Key
            • Tree
              • Provide_of_sexp
                • K
          • Parts
          • Private
          • Replace_polymorphic_compare
          • Set
            • Elt
            • Named
            • Provide_bin_io
              • Elt
            • Provide_hash
              • Elt
            • Provide_of_sexp
              • Elt
            • Tree
              • Named
              • Provide_of_sexp
                • Elt
          • Stable
            • V1
            • V2
            • V3
          • Table
            • Provide_bin_io
              • Key
            • Provide_of_sexp
              • Key
        • Stable_internal
        • Std_internal
          • LargeFile
          • Typename_of_sexp_array
          • Typename_of_sexp_bool
          • Typename_of_sexp_list
          • Typename_of_sexp_opaque
          • Typename_of_sexp_option
        • Std_kernel
          • Bin_prot
            • Writer
          • LargeFile
          • T_bin
          • Typename_of_sexp_array
          • Typename_of_sexp_bool
          • Typename_of_sexp_list
          • Typename_of_sexp_opaque
          • Typename_of_sexp_option
        • Time_ns_alternate_sexp
        • Time_zone
          • Index
          • S
            • Index
            • Time_in_seconds
              • Date_and_ofday
              • Span
          • S_stable
            • Full_data
              • V1
          • Stable
            • Full_data
              • V1
          • Time_in_seconds
            • Date_and_ofday
            • Span
      • Core_kernel_stable
        • Make_stable
          • Of_stable_format
            • V1
              • M
              • Stable_format
          • Of_stable_format1
            • V1
              • M
              • Stable_format
          • Of_stable_format2
            • V1
              • M
              • Stable_format
        • Stable
        • Stable1
        • Stable2
        • Stable3
        • Stable4
        • Stable_without_comparator
        • Time
          • Ofday
            • V1
          • Span
            • V1
            • V2
            • V3
          • With_utc_sexp
            • V2
          • Zone
            • Full_data
              • V1
      • Date
        • Days
        • Hash_queue
          • Key
        • Hash_set
          • Provide_bin_io
            • X
          • Provide_of_sexp
            • X
        • Map
          • Key
          • Provide_bin_io
            • Key
          • Provide_hash
            • Key
          • Provide_of_sexp
            • Key
          • Tree
            • Provide_of_sexp
              • K
        • O
        • Private
        • Replace_polymorphic_compare
        • Set
          • Elt
          • Named
          • Provide_bin_io
            • Elt
          • Provide_hash
            • Elt
          • Provide_of_sexp
            • Elt
          • Tree
            • Named
            • Provide_of_sexp
              • Elt
        • Stable
          • V1
            • Map
            • Set
        • Table
          • Provide_bin_io
            • Key
          • Provide_of_sexp
            • Key
      • Day_of_week
        • Hash_queue
        • Hash_set
          • Provide_bin_io
            • X
          • Provide_of_sexp
            • X
        • Map
          • Provide_bin_io
            • Key
          • Provide_hash
            • Key
          • Provide_of_sexp
            • Key
          • Tree
            • Provide_of_sexp
              • K
        • Replace_polymorphic_compare
        • Set
          • Named
          • Provide_bin_io
            • Elt
          • Provide_hash
            • Elt
          • Provide_of_sexp
            • Elt
          • Tree
            • Named
            • Provide_of_sexp
              • Elt
        • Stable
          • V1
            • Hash_set
            • Map
            • Set
            • Table
        • Table
          • Provide_bin_io
            • Key
          • Provide_of_sexp
            • Key
      • Debug
        • Make
      • Deque
      • Deriving_hash
        • Of_deriving_hash
          • M
          • Repr
      • Doubly_linked
        • Elt
      • Either
        • First
          • Applicative_infix
          • Args
          • Let_syntax
            • Let_syntax
              • Open_on_rhs
          • Monad_infix
        • Focused
          • Applicative_infix
          • Args
          • Let_syntax
            • Let_syntax
              • Open_on_rhs
          • Monad_infix
        • Second
          • Applicative_infix
          • Args
          • Let_syntax
            • Let_syntax
              • Open_on_rhs
          • Monad_infix
        • Stable
          • V1
      • Ephemeron
      • Error
        • Stable
          • V1
          • V2
      • Fdeque
        • Arbitrary_order
        • Back_to_front
        • Front_to_back
        • Let_syntax
          • Let_syntax
            • Open_on_rhs
        • Monad_infix
        • Private
        • Stable
          • V1
      • Filename
      • Flags
        • Make
          • M
          • Map
            • Key
            • Provide_bin_io
              • Key
            • Provide_hash
              • Key
            • Provide_of_sexp
              • Key
            • Tree
              • Provide_of_sexp
                • K
          • Replace_polymorphic_compare
          • Set
            • Elt
            • Named
            • Provide_bin_io
              • Elt
            • Provide_hash
              • Elt
            • Provide_of_sexp
              • Elt
            • Tree
              • Named
              • Provide_of_sexp
                • Elt
          • Unstable
        • Make_arg
        • S
          • Map
            • Key
            • Provide_bin_io
              • Key
            • Provide_hash
              • Key
            • Provide_of_sexp
              • Key
            • Tree
              • Provide_of_sexp
                • K
          • Replace_polymorphic_compare
          • Set
            • Elt
            • Named
            • Provide_bin_io
              • Elt
            • Provide_hash
              • Elt
            • Provide_of_sexp
              • Elt
            • Tree
              • Named
              • Provide_of_sexp
                • Elt
          • Unstable
      • Float
        • Hash_queue
        • Hash_set
          • Provide_bin_io
            • X
          • Provide_of_sexp
            • X
        • Map
          • Provide_bin_io
            • Key