mte/unikernel/duniverse/httpun/lib/optional_thunk.mli
2025-11-11 02:07:51 +01:00

10 lines
171 B
OCaml

type t
val none : t
val some : (unit -> unit) -> t
val is_none : t -> bool
val is_some : t -> bool
val call_if_some : t -> unit
val unchecked_value : t -> unit -> unit