package odoc

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val load : string -> Pervasives.in_channel -> (Odoc_model.Root.t, [> Or_error.msg ]) Or_error.result

load fn ic reads a t from ic. fn is the name of the file ic is "watching", and is used for error reporting.

read f opens f for reading and then calls load.

val save : Pervasives.out_channel -> Odoc_model.Root.t -> unit

save oc t marshalls t to oc.

OCaml

Innovation. Community. Security.