package lsp

  1. Overview
  2. Docs
On This Page
  1. Constructors
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module DynSource

Dynamic values

Sourcetype t =
  1. | Opaque
  2. | Unit
  3. | Int of int
  4. | Int32 of int32
  5. | Int64 of int64
  6. | Nativeint of nativeint
  7. | Bool of bool
  8. | String of string
  9. | Bytes of bytes
  10. | Char of char
  11. | Float of float
  12. | Option of t option
  13. | List of t list
  14. | Array of t array
  15. | Tuple of t list
  16. | Record of (string * t) list
  17. | Variant of string * t list
  18. | Map of (t * t) list
  19. | Set of t list

Representation of OCaml values such that they can be processed without knowing their type.

Sourceval equal : t -> t -> bool
Sourceval compare : t -> t -> Ordering.t
Sourceval hash : t -> int
Sourceval pp : t -> _ Pp.t
Sourceval to_string : t -> string

Constructors

Sourcetype 'a builder = 'a -> t
Sourceval unit : unit builder
Sourceval char : char builder
Sourceval string : string builder
Sourceval int : int builder
Sourceval int32 : int32 builder
Sourceval int64 : int64 builder
Sourceval nativeint : nativeint builder
Sourceval float : float builder
Sourceval bool : bool builder
Sourceval pair : 'a builder -> 'b builder -> ('a * 'b) builder
Sourceval triple : 'a builder -> 'b builder -> 'c builder -> ('a * 'b * 'c) builder
Sourceval list : 'a builder -> 'a list builder
Sourceval array : 'a builder -> 'a array builder
Sourceval option : 'a builder -> 'a option builder
Sourceval opaque : _ builder
Sourceval record : (string * t) list -> t
Sourceval variant : string -> t list -> t
OCaml

Innovation. Community. Security.