Îõ³h*æõ%      !"#$0.1.0.2 Safe-Inferred"3<>À÷ richenvâA list of key-value pairs representing environment variable name mappings. The internal representation is a 'HashMap Text Text', where the key is the final variable name and the value is the current one which will be replaced.%richenvBuild a ' object from a list of key-value pairs.% Safe-Inferred"3<>À÷yrichenvèA list of key-value pairs representing environment variable name prefix mappings. The internal representation is a 'HashMap Text [Text]', where the key is the final prefix and the value is the list of prefixes that will be replaced.&richenvBuild a ' object from a list of key-value pairs.& Safe-Inferred"3<>À÷ºrichenv»A list of key-value pairs representing environment variables. The internal representation is a 'HashMap Text Text', where the key is the variable name and the value is the variable value.'richenvBuild a ' object from a list of key-value pairs.' Safe-Inferred"3<>À÷ richenv Type that represents a set of rules that generate environment variables. A value of this type can be retrieved from a configuration file (e.g. YAML) due to its (& instance, or persisted into one with ). richenvÀ÷OrichenvTakes a 7 object and sets its contents as environment variables.richenvTakes a Ü object and transforms it into a list of key-value pairs representing environment variables. 7valuesToEnvList = Data.HashMap.Strict.toList . unValuesrichenvˆTakes an environment variable list and all the name mappings and prepares a set of environment variables according to the RichEnv rules.àmappingsToValues [("FOO", "bar"), ("SOME", "thing")] (Mappings $ HM.fromList [("OTHER", "FOO")]).Values {unValues = fromList [("OTHER","bar")]}richenvüTakes an environment variable list and all the prefix mappings and prepares a set of environment variables according to the   rules.âprefixesToValues [("FOO", "bar"), ("SOME", "thing")] (Prefixes $ HM.fromList [("OTHER", ["FOO"])]).Values {unValues = fromList [("OTHER","bar")]}+richenvÄReplace the prefixes of the environment variables with a new prefix.,richenv/Remove a prefix from the environment variables.-richenv Create a  object from an .richenv)Takes an environment variable list and a   object and generates a  object.ÐrichEnvToValues RichEnv.Types.defaultRichEnv [("FOO", "bar"), ("SOME", "thing")]Values {unValues = fromList []} import RichEnv.Types.Values as VÙlet richEnvValue = RichEnv.Types.defaultRichEnv { values = V.fromList [("OTHER", "var")]}1let envList = [("FOO", "bar"), ("SOME", "thing")]$richEnvToValues richEnvValue envList.Values {unValues = fromList [("OTHER","var")]}"import RichEnv.Types.Mappings as MÚlet richEnvValue = RichEnv.Types.defaultRichEnv { mappings = M.fromList [("SOME", "FOO")]}Älet envList = [("FOO", "bar"), ("SOME", "thing"), ("SOME", "other")]$richEnvToValues richEnvValue envList-Values {unValues = fromList [("SOME","bar")]}"import RichEnv.Types.Prefixes as Pâlet richEnvValue = RichEnv.Types.defaultRichEnv { prefixes = P.fromList [("NEW_", ["PREFIXED_"])]}Êlet envList = [("PREFIXED_VAR", "content"), ("PREFIXED_VAR2", "content2")]$richEnvToValues richEnvValue envListÌValues {unValues = fromList [("NEW_VAR","content"),("NEW_VAR2","content2")]}+richenv New prefixrichenv Old prefixesrichenvCurrent environment listrichenvUpdated environment list Safe-Inferred"3<>À÷× richenvÙGet a key-value list of environment variables processing the passed environment with the   input. 7toEnvList re env = valuesToEnvList (toEnvValues re env)richenvÒGet a hashmap of environment variables processing the passed environment with the  Æ input. The idea is that the output could be passed to functions like  (https://hackage.haskell.org/package/yamlYaml's  Óhttps://hackage.haskell.org/package/yaml/docs/Data-Yaml-Config.html#v:applyEnvValue applyEnvValue. /toEnvMap re env = unValues (toEnvValues re env).richenv Builds a  object from the  + input and a list of environment variables. richenvÐSets the environment variables available for the current process abiding to the   rules.!richenv€Sets the environment variables available for the current process by checking the current environment variables and applying the   rules. ËsetRichEnvFromCurrent re = getEnvironment >>= setRichEnv re . toEnvironment"richenvÚGet a key-value list of environment variables processing the current environment with the   input. ÉtoEnvListFromCurrent re = toEnvList re . toEnvironment <$> getEnvironment#richenvÓGet a hashmap of environment variables processing the current environment with the  Æ input. The idea is that the output could be passed to functions like  (https://hackage.haskell.org/package/yamlYaml's  Óhttps://hackage.haskell.org/package/yaml/docs/Data-Yaml-Config.html#v:applyEnvValue applyEnvValue. ÇtoEnvMapFromCurrent re = toEnvMap re . toEnvironment <$> getEnvironment/richenv Builds a  object from the  - input and the current environment variables. ÍtoEnvValuesFromCurrent re = toEnvValues re . toEnvironment <$> getEnvironment$richenv8Clears all environment variables of the current process.  !"#$  !"#$0       !"#$%&'()***+,-+./012345678richenv-0.1.0.2-inplace RichEnv.TypesRichEnv.SettersRichEnvrichenvRichEnv.Types.MappingsRichEnv.Types.PrefixesRichEnv.Types.ValuesSystem.EnvironmentgetEnvironmentMappings unMappingsPrefixes unPrefixesValuesunValuesvaluesmappingsprefixes EnvironmentfromEnvironment toEnvironmentdefaultRichEnv$fMonoidRichEnv$fSemigroupRichEnv $fEqRichEnv $fShowRichEnv$fGenericRichEnv$fFromJSONRichEnv$fToJSONRichEnv valuesToEnvvaluesToEnvListmappingsToValuesprefixesToValuesrichEnvToValues toEnvListtoEnvMap setRichEnvsetRichEnvFromCurrenttoEnvListFromCurrenttoEnvMapFromCurrentclearEnvironmentfromListsn-2.2.2.0-97b82efaData.Aeson.Types.FromJSONFromJSONData.Aeson.Types.ToJSONToJSON text-2.0.2Data.Text.InternalText setNewPrefix removePrefixtoValues toEnvValues_toEnvValuesFromCurrent