def sys.env
import ezsys@0.1.0.0/src/sys.bend as Sysimport Base
import ezsys@0.1.0.0/src/step.bend as Step
159# an environment variable, or the fallback when it is unset
160def sys.env(name: String, fallback: String) -> IO(String):
161 IO.bind(Result<&1, &1, U32 & String, String>, String, IO.get_env(name),
162 res => IO.pure(String, Step.env.pick(res, fallback)))