package ocaml-r

  1. Overview
  2. Docs

Source file OCamlR_wraputils.ml

1
2
3
4
5
let ( |?> ) o f = match o with
  | Some x -> Some (f x)
  | None -> None

external ident : 'a -> 'a = "%identity"
OCaml

Innovation. Community. Security.