Module Ocaml_utils.Lazy_backtrack
val force : ('a -> 'b) -> ('a, 'b) t -> 'bval create : 'a -> ('a, 'b) tval get_arg : ('a, 'b) t -> 'a optionval get_contents : ('a, 'b) t -> ('a, 'b) Either.tval create_forced : 'b -> ('a, 'b) tval create_failed : exn -> ('a, 'b) tval backtrack : log -> unitval is_val : ('a, 'b) t -> booltype ('a, 'b) eval = | Done of 'b| Raise of exn| Thunk of 'a
val view : ('a, 'b) t -> ('a, 'b) evalval force_logged_408 :
log ->
('a -> 'b option) ->
('a, 'b option) t ->
'b option