package ocaml-protoc-plugin

  1. Overview
  2. Docs

Source file option.ml

1
2
3
4
5
6
(** Functions for manipulating Option values for compatibility with 
 * OCaml 4.06 *)
let value ~default = function
  | None -> default
  | Some x -> x
let some x = Some x
OCaml

Innovation. Community. Security.