package links

  1. Overview
  2. Docs
class type otherfield = object ... end
type db_status = [
  1. | `QueryOk
  2. | `QueryError of string
]
class virtual dbvalue : object ... end
class virtual database : Sql.printer -> object ... end
val equal_database : database -> database -> bool
val pp_database : Format.formatter -> database -> unit
type db_constructor = string -> database * string
val register_driver : (string * db_constructor) -> unit
val db_connect : string -> string -> database * string
val parse_db_string : string -> string * string
val reconstruct_db_string : (string * string) -> string
type xmlitem =
  1. | Text of string
  2. | Attr of string * string
  3. | Node of string * xml
  4. | NsAttr of string * string * string
  5. | NsNode of string * string * xml
and xml = xmlitem list
val show_xmlitem : xmlitem -> Ppx_deriving_runtime.string
val xmlitem_to_yojson : xmlitem -> Yojson.Safe.t
val xml_to_yojson : xml -> Yojson.Safe.t
type table = (database * string) * string * string list list * Types.row'
type primitive_value_basis = [
  1. | `Bool of bool
  2. | `Char of char
  3. | `Float of float
  4. | `Int of int
  5. | `XML of xmlitem
  6. | `String of string
]
val show_primitive_value_basis : primitive_value_basis -> Ppx_deriving_runtime.string
type primitive_value = [
  1. | primitive_value_basis
  2. | `Database of database * string
  3. | `Table of table
]
val show_primitive_value : primitive_value -> Ppx_deriving_runtime.string
type spawn_location = [
  1. | `ClientSpawnLoc of ProcessTypes.client_id
  2. | `ServerSpawnLoc
]
val show_spawn_location : spawn_location -> Ppx_deriving_runtime.string
type dist_pid = [
  1. | `ClientPid of ProcessTypes.client_id * ProcessTypes.process_id
  2. | `ServerPid of ProcessTypes.process_id
]
val show_dist_pid : dist_pid -> Ppx_deriving_runtime.string
type access_point = [
  1. | `ClientAccessPoint of ProcessTypes.client_id * ProcessTypes.apid
  2. | `ServerAccessPoint of ProcessTypes.apid
]
val show_access_point : access_point -> Ppx_deriving_runtime.string
module type ENV = sig ... end
module Env : ENV
module Trap : sig ... end
module type FRAME = sig ... end
module type CONTINUATION_EVALUATOR = sig ... end
module type CONTINUATION = sig ... end
type t = [
  1. | primitive_value
  2. | `List of t list
  3. | `Record of (string * t) list
  4. | `Lens of Links_core.Lens.Database.t * Links_core.Lens.Value.t
  5. | `Variant of string * t
  6. | `FunctionPtr of Ir.var * t option
  7. | `PrimitiveFunction of string * Var.var option
  8. | `ClientDomRef of int
  9. | `ClientFunction of string
  10. | `Continuation of continuation
  11. | `Resumption of resumption
  12. | `Pid of dist_pid
  13. | `AccessPointID of access_point
  14. | `SessionChannel of chan
  15. | `Socket of in_channel * out_channel
  16. | `SpawnLocation of spawn_location
  17. | `Alien
]
and continuation = t Continuation.t
and resumption = t Continuation.resumption
and env = t Env.t
val show_continuation : continuation -> Ppx_deriving_runtime.string
val show_resumption : resumption -> Ppx_deriving_runtime.string
type delegated_chan = chan * t list
val project : string -> t -> t
val untuple : t -> t list
val box_bool : 'a -> [> `Bool of 'a ]
val unbox_bool : t -> bool
val box_int : 'a -> [> `Int of 'a ]
val unbox_int : t -> int
val box_float : 'a -> [> `Float of 'a ]
val unbox_float : t -> float
val box_char : 'a -> [> `Char of 'a ]
val unbox_char : t -> char
val box_xml : 'a -> [> `XML of 'a ]
val unbox_xml : t -> xmlitem
val box_string : string -> t
val unbox_string : t -> string
val box_list : t list -> t
val unbox_list : t -> t list
val box_record : (string * t) list -> t
val unbox_record : t -> (string * t) list
val box_unit : unit -> t
val unbox_unit : t -> unit
val box_pair : t -> t -> t
val unbox_pair : t -> t * t
val box_variant : string -> t -> t
val unbox_variant : t -> string * t
val box_pid : dist_pid -> t
val unbox_pid : t -> dist_pid
val box_socket : (in_channel * out_channel) -> t
val unbox_socket : t -> in_channel * out_channel
val box_op : t list -> t -> t
val box : t list -> t
val box_spawn_loc : spawn_location -> t
val unbox_spawn_loc : t -> spawn_location
val box_channel : chan -> t
val unbox_channel : t -> chan
val box_access_point : access_point -> t
val unbox_access_point : t -> access_point
val intmap_of_record : t -> t Utility.intmap option
val string_of_value : t -> string
val string_of_xml : ?close_tags:bool -> xml -> string
val p_value : Format.formatter -> t -> unit
val get_contained_channels : t -> chan list
val value_of_xmlitem : xmlitem -> t
val value_of_xml : xml -> t
val xml_of_variants : t -> xml
val xmlitem_of_variant : t -> xmlitem
val split_html : xml -> xml * xml
val is_channel : t -> bool
val session_exception_operation : string
val row_columns_values : t -> string list * t list list
OCaml

Innovation. Community. Security.