úÎ!}`rv“      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’Safe "#7=?@APX“ ” •–— None "#7=?@APXä ˜™š›œžŸ ¡¢£¤¥¦§¨©ªSafe "#7=?@APX'salakWritable data structure.  is designed for working with «5 value pased by salak. It provide a way to override «þ value provided by salak, can be used in the application which need to change values of some configurations by overriding it directly. For example, logger function can use a log level property to control which level of logs should be printed. By using  Writeable- value, we can change the property directly.salak Convert a « value to  value.salak Get value.salakSet or remove override value.2019 Daniel YUBSD3leptonyu@gmail.com experimentalportableSafe "#47=?@APX4&salakA Trie from keys  to values v, which is a recursive map.salakO(1). A trie with a single element. salakO(1). The empty trie.!salakGet primitive value of a trie."salakGet map value of a trie.#salakO(1)5. Return True if this trie is empty, False otherwise.$salak O(log (n+m))K. Return True if the specified key is present in the trie, False otherwise.'salak O(log (n+m))|. Return the primitive value to which the specified key is mapped, or Nothing if this trie contains no mapping for the key.(salakO(log n)™. Associate the specified value with the specified key in this trie. If this trie previously contained a mapping for the key, the old value is replaced.)salakO(log m). The expression ()& k f trie) modifies the sub trie at k.*salak O(log (n+m)). The expression (*( ks f trie) modifies the sub trie at ks.+salakO(log m). The expression (+& k f trie) modifies the sub trie at k.,salakO(1)I. The expression (update f trie) updates the primitive value in the trie.-salakO(n)R. The expression (update f ks trie) updates the primitive value of sub trie at ks..salakO(n)í. The expression (update f ks trie) updates the primitive value of sub trie at ks. alterF :: (Functor f, Eq v) => (Maybe v -> f(Maybe v)) -> Keys -> Trie v -> f (Trie v) alterF f keys = modifyF where go D.Nil (Trie v m) = ( m)  $- f v go (D.Cons k ks) (Trie v m) = Trie v  $' HM.alterF (g2 ks) k m g2 ks t = g3  $K go ks (fromMaybe empty t) g3 t = if t == empty then Nothing else Just tO(n*m)F. Return a list of this tries's elements. The list is produced lazily./salak O(n*m*log n)|. Construct a trie with the supplied mappings. If the list contains duplicate mappings, the later mappings take precedence.0salakO(n)O. Filter this trie by retaining only elements which values satisfy a predicate.1salakO(n+m)„. The union of two tries. If a key occurs in both tries, the provided function (first argument) will be used to compute the result.2salakO(n+m)T. The union of two tries. All the keys will be calculated by the provided function. !"#$%&'()*+,-./012!" #$'%&()+*,-./012None "#7=>?@APX7Þ?salak%Reload result, show erros or changes.AsalakIf reload process has errors.BsalakFIf hasError then this show error messages, else this show change logs.89>=<;:¬­?@BACD®¯°±²³ENone"#478=>?@AHMPUVXRŸFsalakProp operators.)Suppose we have the following definition: Gdata Config = Config { enabled :: Bool , level :: IO LogLevel }GsalakParse or default value ˆinstance MonadThrow m => FromProp m Config where fromProp = Config <$> "enabled" .?= True <*> "level" .?= (return LevelInfo)IO value will work right.Hsalak+Parse or auto extract default value from a ´ value Ãinstance Default Config where def = Config True (return LevelInfo) instance MonadThrow m => FromProp m Config where fromProp = Config <$> "enabled" .?: enabled <$> "level" .?: levelIsalak$Type class used to parse properties.JsalakParse properties from .Lsalak Parse failedMsalak Not foundOsalak-Property parser, used to parse property from PsalakECore type class of salak, which provide function to parse properties.Qsalak3Monad has the ability to get a SourcePack instance.Rsalak0Get reload action which used for reload profilesUsalakParse properties using I. For example: Êa :: Bool <- require "bool.key" b :: Maybe Int <- require "int.optional.key" c :: Either String Int <- require "int.error.key" d :: IO Int <- require "int.reloadable.key"U supports parse « values, which actually wrap a µy variable and can be reseted by reloading configurations. Normal value will not be affected by reloading configurations.VsalakParse primitive value from WsalakParse enum value from ¶·salak)Support for setting default normal value.¸salakSupport for setting default « value.¹salakSupports for parsing « value.ºsalak5Automatic convert literal string into an instance of O m a.»¼FHGIJKMLNO½¾PUTSRQ¿ÀÁÂÃÄVWÅÆG5H52019 Daniel YUBSD3leptonyu@gmail.com experimentalportableNone"#47=>?@AHMPSVX_ XsalakConvert arguments to propertiesYsalakSimple IO MonadZsalak Standard P instance.[salakSimple IO Monad\salakXConfiguration Loader Monad, used for load properties from sources. Custom loaders using __salak Basic loader`salak Simple loaderasalak-Standard salak functions, by load and with a 8 instance. Users should use 8 to create custom P- instances, then you get will an instance of P.bsalakLoad mock variables into Dcsalak Load environment variables into Ddsalak+Default way to parse command line argumentsesalak+Default way to parse command line argumentsfsalak6Try load file, if file does not exist then do nothing.; 89:;<=>CDEPQRSTUXYZ[\]^_`abcdef;a_`\[ZY^PQRSTUbceXdfDC E ]89:;<=>2019 Daniel YUBSD3leptonyu@gmail.com experimentalportableNone"#7=?@APSUVXpd salakLoad file by extension€salakProp load configuration‚salakSpecify config key, default is  application.ƒsalak Specify config name, default is  application.„salak'Search current directory, default true.…salak%Search home directory, default false.†salakHow to parse commandline.‰salakType synonyms of 8Šsalak4Load files with specified format, yaml or toml, etc.‹salakjDefault load salak. All these configuration sources has orders, from highest priority to lowest priority: ÿ1. loadCommandLine 2. loadEnvironment 3. loadConfFiles 4. load file from folder `salak.conf.dir` if defined 5. load file from current folder if enabled 6. load file from home folder if enabled 7. file extension matching, support yaml or toml or any other loader.salak/Standard salak functions, by load and run with Z.Žsalak"Run salak, load strategy refer to ‹salak"Run salak, load strategy refer to Œ=8?@ABFGHIJKNLMOPQRSTUVWXYZ[\abcde{|}~€†‚ƒ„…‡ˆ‰Š‹ŒŽ=Ža€†‚ƒ„…‡ˆPQRSTUZYFGHIJOVW8‰KNLM\[eXdcb‹ŒŠ}~{|?@AB{3|3Ç    !"#$$%&'()*+,-./0123456789:;<=>?@ABCCDEFGHIIJKLMNOPQRSTUVTWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒƒ„…†‡‡ˆ‰Š‹ŒŽ‘’“”•–— ˜™š›œžžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½ ¾¿ÀÁÂÃÄÅÆÇÈWÉÊËÌÍÎÏÐÑÒ#salak-0.3.3.2-FiFZY4CtR4BRAMaGEtfLZSalak.InternalSalak Salak.TrieSalak.Internal.KeySalak.Internal.ValSalak.Internal.WritableSalak.Internal.SourceSalak.Internal.PropbaseControl.Monad.IO.ClassMonadIO(exceptions-0.10.2-BCw4sZZBgaL5zRGtRt3vrKControl.Monad.Catch MonadThrow MonadCatchToKeystoKeysKeysunKeysKeyKTKIfromKeys simpleKeysToValuetoValValueVTVIVBVLTVDVHVZTVUValWritable toWritable getWritable setWritableTrie singletonempty getPrimitivegetMapnullmembersubTriesubTrieslookupinsertmodifymodify'modifyFupdatealtertoListfromListfilter unionWith unionWith'$fTraversableTrie$fFoldableTrie $fShowTrie$fEqTrie $fFunctorTrie SourcePacksourceprefqreflrefreload ReloadResulthasErrormsgs TraceSourceSourcesetValPropOp.?=.?:FromPropfromPropSalakException PropException NullExceptionProp MonadSalak askSourcePack askReloadsetLogFlogSalakrequire readPrimitivereadEnumParseCommandLineRunSalak RunSalakT LoadSalak LoadSalakTliftNTrunRunloadTrieloadListloadAndRunSalak'loadMockloadEnvdefaultParseCommandLineloadCommandLine tryLoadFile$fMonadUnliftIOLoadSalakT$fMonadSalakLoadSalakT$fMonadUnliftIORunSalakT$fMonadSalakRunSalakT$fFunctorLoadSalakT$fApplicativeLoadSalakT$fMonadLoadSalakT$fMonadTransLoadSalakT$fMonadIOLoadSalakT$fMonadStateLoadSalakT$fMonadThrowLoadSalakT$fMonadCatchLoadSalakT$fFunctorRunSalakT$fApplicativeRunSalakT$fMonadRunSalakT$fMonadTransRunSalakT$fMonadIORunSalakT$fMonadReaderRunSalakT$fMonadThrowRunSalakT$fMonadCatchRunSalakT:|:HasLoadloadersExtLoad PropConfig configKey configName searchCurrent searchHome commandLineloggerFloadExt loadByExt loadSalak loadSalakWithloadAndRunSalakrunSalak runSalakWith$fDefaultPropConfig$fFromPropmFileConfig $fHasLoad:|:GHC.Basemempty singletonKey toKeyListisStrisNumValsunValsPriorityModTypeNoopAddDelModprioritytypeOfVgetTypenullVals emptyVals deleteValsgetValdelValsmodValsmodVals'ghc-prim GHC.TypesIOLFuncQFuncdiffextractgenfmtfmtMod loadSource1data-default-class-0.1.2.0-FeIQ5tLoVZBHMSgrT9zptQData.Default.ClassDefaultGHC.MVarMVar text-1.2.3.1Data.Text.InternalText $fPropOpfa$fPropOpPropIO $fFromPropmn$fIsStringProp GFromProp gFromPropunProprunPropwithPropwithKeywithKeysfailKeybuildIOgEnumtoNum