You can search for identifiers within the package.
in-package search v0.2.0
bonsai.extra
Bonsai_extra.Stability
type 'a t =
| Stable of 'a
| Unstable of {
previously_stable : 'a option;
unstable_value : 'a;
}
include Sexplib0.Sexpable.S1 with type 'a t := 'a t
val t_of_sexp : (Sexplib0.Sexp.t -> 'a) -> Sexplib0.Sexp.t -> 'a t
val sexp_of_t : ('a -> Sexplib0.Sexp.t) -> 'a t -> Sexplib0.Sexp.t
include Ppx_compare_lib.Equal.S1 with type 'a t := 'a t
val equal : ('a -> 'a -> bool) -> 'a t -> 'a t -> bool
val most_recent_stable_value : 'a t -> 'a option
val prefer_stable_value : 'a t -> 'a
Return the most_recent_stable_value if there is one, otherwise fall back to the unstable_value.f
most_recent_stable_value
unstable_value