package sherlodoc

  1. Overview
  2. Docs
Search engine for OCaml documentation

Install

Dune Dependency

Authors

Maintainers

Sources

odoc-3.1.0.tbz
sha256=355b3cfff4934903cbaed8b51ce35e333e8609932d230294200a9f2d42ffa914
sha512=f78318d0a16164a9cd16ee02f611c2e00d32b772fe38e992d6db6ec94b1c00cd9c377fbfe64031b8f245e57b2f3aac9364108327e7f1693533ddcff94c476e05

doc/src/sherlodoc.db/storage.ml.html

Source file storage.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
module Occurences = Map.Make (Int)

type db =
  { db_names : String_automata.t
  ; db_pos_types : String_automata.t Occurences.t
  ; db_neg_types : String_automata.t Occurences.t
  }

module type S = sig
  type writer

  val open_out : string -> writer
  val save : db:writer -> db -> unit
  val close_out : writer -> unit
  val load : string -> db list
end
OCaml

Innovation. Community. Security.