1Misc.EnvLazy(3) OCaml library Misc.EnvLazy(3)
2
3
4
6 Misc.EnvLazy - no description
7
9 Module Misc.EnvLazy
10
12 Module EnvLazy
13 : sig end
14
15
16
17
18
19
20
21 type ('a, 'b) t
22
23
24
25
26 type log
27
28
29
30
31
32 val force : ('a -> 'b) -> ('a, 'b) t -> 'b
33
34
35
36
37 val create : 'a -> ('a, 'b) t
38
39
40
41
42 val get_arg : ('a, 'b) t -> 'a option
43
44
45
46
47 val create_forced : 'b -> ('a, 'b) t
48
49
50
51
52 val create_failed : exn -> ('a, 'b) t
53
54
55
56
57 val log : unit -> log
58
59
60
61
62 val force_logged : log -> ('a -> ('b, 'c) result) -> ('a, ('b, 'c) re‐
63 sult) t -> ('b, 'c) result
64
65
66
67
68 val backtrack : log -> unit
69
70
71
72
73
74
75OCamldoc 2021-01-26 Misc.EnvLazy(3)