package pythonlib

  1. Overview
  2. Docs
type err = {
  1. caml_error : Base.string;
}
val python_of_err : err -> Py.Object.t
val err_of_python : Py.Object.t -> err
type 'a t = 'a Base.Or_error.t
val t_of_python : 'a -> 'b -> 'c
val python_of_t : ('a -> Py.Object.t) -> ('a, Base.Error.t) Base.result -> Py.Object.t
OCaml

Innovation. Community. Security.