Module InferStdlib__IOption
val find_value_exn : 'a option -> 'a
Like
Option.value_exn
but raisesCaml.Not_found
when called withNone
.
val value_default_f : f:(unit -> 'a) -> 'a option -> 'a
Like
Option.value ~default:(f ())
butf
is called only ifNone
.