package calculon

  1. Overview
  2. Docs

History plugin

Keep the last n lines of history on a chan, and give them to newcomers that ask for them

val plugin : ?default_len:int -> ?n:int -> unit -> Plugin.t

plugin for storing n lines of history and giving them back in query to people who ask.

  • parameter n

    the number of lines to retain internally

  • parameter default_len

    the number of lines to display by default, when replying to message "!history"

OCaml

Innovation. Community. Security.