Module B0_memo.Env

Memo environment lookups.

val find : empty_is_none:bool -> B0_std.Os.Env.var_name -> t -> string option

find var m looks up var in m's env. This B0_memo.fails the memo in case of error.

val find' : empty_is_none:bool -> (B0_std.Os.Env.var_name -> ('a, string) Stdlib.result) -> B0_std.Os.Env.var_name -> t -> 'a option

find' m parse var looks up var in m's env and parses it with parse. This B0_memo.fails the memo in case of error.

val mem : B0_std.Os.Env.var_name -> t -> bool

mem var m is true if var is defined in m's env, even if empty.