úÎ!tŒiĖ‘      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽNone"#=?Į  ‘ None"#=?N ’“”•–—˜™š›œžŸ ĄĒĢĪSafe"#YsalakWritable data structure.  is designed for working with Ĩ6 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 experimentalportableNone"#4.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)R. The expression (update f ks trie) updates the primitive value of sub trie at ks.,salakO(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..salakO(n)O. Filter this trie by retaining only elements which values satisfy a predicate./salakO(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.0salakO(n+m)T. The union of two tries. All the keys will be calculated by the provided function. !"#$%&'()*+,-./0 !"#$%&(')*+,-./0None"#=>?1€=salak%Reload result, show erros or changes.?salakIf reload process has errors.@salakFIf hasError then this show error messages, else this show change logs.67<;:98ͧ=>@?ABĻĐŠŦŽ­ŪŊ°CNone"#48=>?@AHMUVXJDsalakProp operators.)Suppose we have the following definition: Gdata Config = Config { enabled :: Bool , level :: IO LogLevel }EsalakParse or default value ˆinstance MonadThrow m => FromProp m Config where fromProp = Config <$> "enabled" .?= True <*> "level" .?= (return LevelInfo)IO value will work right.Fsalak+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" .?: levelHsalak Parse failedIsalak Not foundKsalakECore type class of salak, which provide function to parse properties.LsalakMonad has the ability to get a 6 instance.Msalak0Get reload action which used for reload profilesPsalakParse properties using R. 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"P 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.TsalakParse primitive value from UsalakParse enum value from ģīsalak)Support for setting default normal value.ĩsalakSupports for parsing Ĩ value.ķsalakSupport for setting default Ĩ value.·salak5Automatic convert literal string into an instance of Q m a.ļđDFEGIHJKPONMLQšŧRSž―ūŋĀÁTUÂÃE5F52019 Daniel YUBSD3leptonyu@gmail.com experimentalportableNone"#4=>?@AHMPSVXVp VsalakConvert arguments to propertiesWsalakSimple IO MonadXsalak Standard K instance.YsalakSimple IO MonadZsalakXConfiguration Loader Monad, used for load properties from sources. Custom loaders using ]]salak Basic loader^salak Simple loader_salak-Standard salak functions, by load and with a 6 instance. Users should use 6 to create custom K- instances, then you get will an instance of K.`salakLoad mock variables into Basalak Load environment variables into Bbsalak+Default way to parse command line argumentscsalak+Default way to parse command line argumentsdsalak6Try load file, if file does not exist then do nothing.: 6789:;<ABCKLMNOPVWXYZ[\]^_`abcd:_]^ZYXW\KLMNOP`acVbdBA C [6789:;<2019 Daniel YUBSD3leptonyu@gmail.com experimentalportableNone "#=?@ASUVXgš }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 6ˆ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 X.Œsalak"Run salak, load strategy refer to ‰salak"Run salak, load strategy refer to Š=6=>?@DEFGJHIKLMNOPQRSTUVWXYZ_`abcyz{|}~„€‚ƒ…†‡ˆ‰Š‹Œ=Œ‹_~„€‚ƒ…†KLMNOPXWDEFRSQTU6‡GJHIZYcVba`‰Š}ˆ{|yz=>?@y3z3Ä    !"##$%&'()*+,-./0123456789:;<=>?@AABCDEFGGHIJKLMNOPQRPSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„……†‡ˆ‰Š‹ŒŽ‘’“”•–——˜™š›œžŸ ĄĒĢĪĨͧĻĐŠŦŽ­ŪŊ°ąēģīĩķ·ļđ šŧž―ūŋĀÁÂÃÄYÅÆĮČÉĘËĖÍÎ"salak-0.3.3-8GIUGlKgTTBG2NvZA3kpD7Salak.InternalSalak Salak.TrieSalak.Internal.KeySalak.Internal.ValSalak.Internal.WritableSalak.Internal.SourceSalak.Internal.PropbaseControl.Monad.IO.ClassMonadIO(exceptions-0.10.2-BCw4sZZBgaL5zRGtRt3vrKControl.Monad.Catch MonadThrow MonadCatchToKeystoKeysKeysunKeysKeyKTKI simpleKeysToValuetoValValueVTVIVBVLTVDVHVZTVUValWritable toWritable getWritable setWritableTrie singletonempty getPrimitivegetMapnullmemberlookupinsertmodifymodify'modifyFupdatealteralterFtoListfromListfilter unionWith unionWith'$fTraversableTrie$fFoldableTrie $fShowTrie$fEqTrie $fFunctorTrie SourcePacksourceprefqreflrefreload ReloadResulthasErrormsgs TraceSourceSourcesetValPropOp.?=.?:SalakException PropException NullException MonadSalakaskSalak askReloadsetLogFlogSalakrequirePropFromPropfromProp 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:|:isNumValsunValsPriorityModTypeNoopDelAddModprioritytypeOfVgetTypenullVals emptyVals deleteValsgetValdelValsmodValsmodVals'ghc-prim GHC.TypesIOLFuncQFuncdiffextractgensearchsearch2search1fmtfmtMod loadSource1data-default-class-0.1.2.0-FeIQ5tLoVZBHMSgrT9zptQData.Default.ClassDefaultGHC.MVarMVar text-1.2.3.1Data.Text.InternalText $fPropOpfa $fFromPropmn$fPropOpPropIO$fIsStringProp GFromProp gFromPropunProprunProp2runProp1runPropbuildIOnotFounderrgEnumtoNum