package corosync

  1. Overview
  2. Docs
exception Unsupported_Valuetype of int
type _ value =
  1. | CmapInt8 : int -> int value
  2. | CmapUInt8 : Unsigned.uint8 -> Unsigned.uint8 value
  3. | CmapInt16 : int -> int value
  4. | CmapUInt16 : Unsigned.uint16 -> Unsigned.uint16 value
  5. | CmapInt32 : int32 -> int32 value
  6. | CmapUInt32 : Unsigned.uint32 -> Unsigned.uint32 value
  7. | CmapInt64 : int64 -> int64 value
  8. | CmapUInt64 : Unsigned.uint64 -> Unsigned.uint64 value
  9. | CmapFloat : float -> float value
  10. | CmapDouble : float -> float value
  11. | CmapString : string -> string value
  12. | CmapBinary : Bytes.t -> Bytes.t value
type ex =
  1. | E : 'a value -> ex

existential type as an intermediate for converting a value to string

val int8 : int value
val uint8 : Unsigned.uint8 value
val int16 : int value
val uint16 : Unsigned.uint16 value
val int32 : int32 value
val uint32 : Unsigned.uint32 value
val int64 : int64 value
val uint64 : Unsigned.uint64 value
val float : float value
val double : float value
val string : string value
val bytes : Bytes.t value
val to_int : 'a. 'a value -> int
val to_string : 'a. 'a value -> string
OCaml

Innovation. Community. Security.