package b0

  1. Overview
  2. Docs
Software construction and deployment kit

Install

dune-project
 Dependency

Authors

Maintainers

Sources

b0-0.0.6.tbz
sha512=e9aa779e66c08fc763019f16d4706f465d16c05d6400b58fbd0313317ef33ddea51952e2b058db28e65f7ddb7012f328c8bf02d8f1da17bb543348541a2587f0

doc/b0.memo/B0_memo/Env/index.html

Module B0_memo.EnvSource

Memo environment lookups.

Sourceval var : empty_is_none:bool -> B0_std.Os.Env.var_name -> t -> string option

var name m looks up variable name in m's env.

Sourceval var' : empty_is_none:bool -> (B0_std.Os.Env.var_name -> ('a, string) result) -> B0_std.Os.Env.var_name -> t -> 'a option

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

Sourceval var_exists : B0_std.Os.Env.var_name -> t -> bool

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