package ojs_list

  1. Overview
  2. Docs

Parameters

Signature

include module type of struct include Base end
type 'a server_msg = 'a Base.server_msg = ..
module M_server_msg_to_yojson = Base.M_server_msg_to_yojson
module M_server_msg_of_yojson = Base.M_server_msg_of_yojson
val server_msg_to_yojson : ('a -> Yojson.Safe.t) -> 'a server_msg -> Yojson.Safe.t
type server_msg +=
  1. | SOk
  2. | SError of string
  3. | SAdd of 'a0
  4. | SDelete of 'a1
  5. | SList of 'a2 list
type 'a client_msg = 'a Base.client_msg = ..
module M_client_msg_to_yojson = Base.M_client_msg_to_yojson
module M_client_msg_of_yojson = Base.M_client_msg_of_yojson
val client_msg_to_yojson : ('a -> Yojson.Safe.t) -> 'a client_msg -> Yojson.Safe.t
type client_msg +=
  1. | Get
  2. | Add of 'a0
  3. | Delete of 'a1