package calculon

  1. Overview
  2. Docs

Module Calculon.CoreSource

Core IRC state

Sourcemodule Format_ = Format
Sourcemodule Msg = Irc_message
Sourceval logs_src : Logs.src
Sourcetype irc_msg = Irc_message.t
Sourcetype privmsg = {
  1. nick : string;
  2. to_ : string;
  3. message : string;
}
Sourceval is_chan : String.t -> bool
Sourceval nick : privmsg -> string
Sourceval reply_to : privmsg -> string
Sourceval privmsg_of_msg : Msg.t -> privmsg option
Sourceval string_of_privmsg : privmsg -> string
Sourcemodule type S = sig ... end
Sourcetype t = (module S)
Sourcemodule Make (I : Irc_client.CLIENT with type 'a Io.t = 'a Lwt.t) (Conn : sig ... end) : sig ... end
Sourcemodule Run (I : Irc_client.CLIENT with type 'a Io.t = 'a Lwt.t) (F : sig ... end) : sig ... end
Sourceval loop_ssl : ?conn_info:string -> connect:(unit -> Irc_client_lwt_ssl.connection_t option Lwt.t) -> init:(t -> unit Lwt.t) -> unit -> unit Lwt.t
Sourceval loop_unsafe : ?conn_info:string -> connect:(unit -> Irc_client_lwt.connection_t option Lwt.t) -> init:(t -> unit Lwt.t) -> unit -> unit Lwt.t
Sourceval run : Calculon__Config.t -> init:(t -> unit Lwt.t) -> unit -> unit Lwt.t
OCaml

Innovation. Community. Security.