Îõ³h& Ž =     Safe-Inferredâ® env-guard var io runs io iff The environment variable var is set.  var ===  var (   ) Examples.guardSet "NOT_SET" (putStrLn "ran io" $> True)NothingsetEnv "SET" "foo"*guardSet "SET" (putStrLn "ran io" $> True)ran io Just True env-guard Variant of  that ignores the return value. env-guard var expected io runs io iff The environment variable var is set.var's value equals expected . This is case-insensitive.  var expected ===  var (\a b ->   a ==   b) Examples9guardExpected "NOT_SET" "val" (putStrLn "ran io" $> True)NothingsetEnv "WRONG_VAL" "good_val"?guardExpected "WRONG_VAL" "bad_val" (putStrLn "ran io" $> True)NothingsetEnv "WILL_RUN" "val":guardExpected "WILL_RUN" "VAL" (putStrLn "ran io" $> True)ran io Just True env-guard Variant of  that ignores the return value. env-guard Variant of  that ignores the return value. env-guardÀThis is the most general way to check an environment variable.  var p io runs io iff The environment variable var is set.var's value satisfies predicate p.ExamplesÁguardPredicate "NOT_SET" (const True) (putStrLn "ran io" $> True)NothingsetEnv "CASE_WRONG" "VAL"ÂguardPredicate "CASE_WRONG" (== "val") (putStrLn "ran io" $> True)NothingsetEnv "WILL_RUN" "VAL"ÀguardPredicate "WILL_RUN" (== "VAL") (putStrLn "ran io" $> True)ran io Just True Safe-Inferredâ - env-guard var io runs io iff The environment variable var is set.  var ===   var (   ) Examples.guardSet "NOT_SET" (putStrLn "ran io" $> True)NothingsetEnv "SET" "foo"*guardSet "SET" (putStrLn "ran io" $> True)ran io Just True env-guard Variant of  that ignores the return value. env-guard var expected io runs io iff The environment variable var is set.var's value equals expected . This is case-insensitive.  var expected ===   var (\a b ->   a ==   b) Examples9guardExpected "NOT_SET" "val" (putStrLn "ran io" $> True)NothingsetEnv "WRONG_VAL" "good_val"?guardExpected "WRONG_VAL" "bad_val" (putStrLn "ran io" $> True)NothingsetEnv "WILL_RUN" "val":guardExpected "WILL_RUN" "VAL" (putStrLn "ran io" $> True)ran io Just True  env-guard Variant of   that ignores the return value.  env-guard Variant of   that ignores the return value.  env-guardÀThis is the most general way to check an environment variable.   var p io runs io iff The environment variable var is set.var's value satisfies predicate p.ExamplesÁguardPredicate "NOT_SET" (const True) (putStrLn "ran io" $> True)NothingsetEnv "CASE_WRONG" "VAL"ÂguardPredicate "CASE_WRONG" (== "val") (putStrLn "ran io" $> True)NothingsetEnv "WILL_RUN" "VAL"ÀguardPredicate "WILL_RUN" (== "VAL") (putStrLn "ran io" $> True)ran io Just True     env-guard-0.1-inplaceSystem.Environment.GuardSystem.Environment.Guard.LiftedguardSet guardSet_ guardExpectedguardExpected_guardPredicate_guardPredicatebaseGHC.Baseconstghc-prim GHC.TypesTruefmap GHC.UnicodetoLower