úÎrYjÀJ      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHI 7The Stringable class should be instantiated with care. B Generally, the provided instances should be enough for anything.  Defaults to / mconcatMap m k = foldr (mappend . k) mempty m   Defaults to  (mconcat .) . intersperse   Defaults to ( mlabel x y = mconcat [x, stFromString [, y, stFromString ]]   LThe StringTemplateShows class should be instantiated for all types that are • directly displayed in a StringTemplate, but take an optional format string. Each such type must have an appropriate ToSElem method defined as well.  Defaults to J.  Defaults to   _ a -> stringTemplateShow a  CThe ToSElem class should be instantiated for all types that can be / inserted as attributes into a StringTemplate. ;This method should be used to create ToSElem instances for 2 types defining a custom formatted show function.       KLMT !"A String with "holes"/ in it. StringTemplates may be composed of any  $ type, which at the moment includes Ns,  ByteStrings,  PrettyPrinter Docs, and OP Ns, which are actually of type  QA. When a StringTemplate is composed of a type, its internals are  as well, so it is, so to speak "turtles all the way down." #$%&+A function that generates StringTemplates. . This is conceptually a query function into a "group" of StringTemplates. RSTUVW'(&Renders a StringTemplate to a String. )Renders a StringTemplate to a Text.PrettyPrint.HughesPJ.Doc. *:Generic render function for a StringTemplate of any type. +2Parses a String to produce a StringTemplate, with '$'s as delimiters. J It is constructed with a stub group that cannot look up other templates. ,JParses a String to produce a StringTemplate, delimited by angle brackets. J It is constructed with a stub group that cannot look up other templates. -<Yields a StringTemplate with the appropriate attribute set. < If the attribute already exists, it is appended to a list. .=Yields a StringTemplate with the appropriate attributes set. < If any attribute already exists, it is appended to a list. /<Yields a StringTemplate with the appropriate attribute set. < If the attribute already exists, it is appended to a list. @ This will not translate the attribute through any intermediate 9 representation, so is more efficient when, e.g. setting A attributes that are large bytestrings in a bytestring template. 0=Yields a StringTemplate with the appropriate attributes set. < If any attribute already exists, it is appended to a list. 2 Attributes are added natively, which may provide  efficiency gains. 17Replaces the attributes of a StringTemplate with those B described in the second argument. If the argument does not yield A a set of named attributes but only a single one, that attribute  is named, as a default, "it". 2BQueries an String Template Group and returns Just the appropriate 2 StringTemplate if it exists, otherwise, Nothing. 3As with 2+ but never inlined, so appropriate for use  with volatile template groups. 42Adds a set of global options to a single template 5<Sets an encoding function of a template that all values are 8 rendered with. For example one useful encoder would be Text.Html.stringToHtmlString5. All attributes will be encoded once and only once. 6QA special template that simply dumps the values of all the attributes set in it. U This may be made available to any template as a function by adding it to its group.  I.e. = myNewGroup = addSuperGroup myGroup $ groupStringTemplates [( dumpAttribs, dumpAttribs)]  7XYZ[\]^_8`a9bcdefghijklmn=if p is true, stmpl can fail gracefully, false it dies hard. @ Set to false at the top level, and true within if expressions. opqrstuvwxyz{|}~€‚ƒ„…†‡,  !"#$%&'()*+,-./0123456789,"#$% &7()*+,23-./0145' !869 ! !"#$%#$%&'()*+,-./0123456789portable experimentals.clover@gmail.comˆ‰::;<=;<=;<<=Š‹Œ>JGiven a list of named of StringTemplates, returns a group which generates + them such that they can call one another. ?JGiven a path, returns a group which generates all files in said directory  which have the proper "st" extension. L This function is strict, with all files read once. As it performs file IO, * expect it to throw the usual exceptions. @JGiven a path, returns a group which generates all files in said directory  which have the proper "st" extension. G This function is lazy in the same way that readFile is lazy, with all J files read on demand, but no more than once. The list of files, however, L is generated at the time the function is called. As this performs file IO, E expect it to throw the usual exceptions. And, as it is lazy, expect ( these exceptions in unexpected places. AAs with ?9, but traverses subdirectories as well. A template named  "foo#bar.st\" may be referenced by \"foobar" in the returned group. BSee documentation for A. CGAdds a supergroup to any StringTemplate group such that templates from K the original group are now able to call ones from the supergroup as well. DAdds a "subgroup"6 to any StringTemplate group such that templates from , the original group now have template calls "shadowed" by the subgroup. EEMerges two groups into a single group. This function is left-biased, C prefering bindings from the first group when there is a conflict. F(Adds a set of global options to a group G9Sets an encoding function of a group that all values are ) rendered with in each enclosed template HDFor any requested template, returns a message that the template was K unable to be found. Useful to add as a super group for a set of templates ) under development, to aid in debugging. IKGiven an integral amount of seconds and a path, returns a group generating @ all files in said directory and subdirectories with the proper "st" extension, 2 cached for that amount of seconds. IO errors are " swallowed" by this so  that exceptions don't arise in unexpected places. N This violates referential transparency, but can be very useful in developing L templates for any sort of server application. It should be swapped out for N production purposes. The dumpAttribs template is added to the returned group O by default, as it should prove useful for debugging and developing templates. >?@ABCDEFGHI >?@ABCDEFGHI Ž‘’“”portable experimentals.clover@gmail.com. "&()*+,-./0123456;<=>?@ABCDEFGHI."&  ;<+,23()*6-=./014F5G>CDE?IAB@H•     !!"#$$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVQWXQYZQYZQR[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“]”•– — — ˜ ™ š › œHStringTemplate-0.5.1.1Text.StringTemplateText.StringTemplate.ClassesText.StringTemplate.BaseText.StringTemplate.QQText.StringTemplate.Instances#Text.StringTemplate.GenericStandardText.StringTemplate.RenderfText.StringTemplate.Group$Text.StringTemplate.GenericWithClass Stringable stFromStringstFromByteString stToString mconcatMap mintercalatemlabelSTShowStringTemplateShowsstringTemplateShowstringTemplateFormattedShowToSElemtoSElem toSElemListSElemSNullSBLELISMSTSHBSSTRSMapStFirst stGetFirst stShowsToSESEnvsmpsoptssgensencStringTemplateSTMPsenvrunSTMPSTGroup paddedTranstoStringtoPPDocrendernewSTMP newAngleSTMP setAttribute setManyAttribsetNativeAttributesetManyNativeAttrib withContextgetStringTemplategetStringTemplate' optInsertTmpl setEncoder dumpAttribsinSGen parseSTMPparseSTMPNamesstmpSETyperenderf|=groupStringTemplatesdirectoryGroupdirectoryGroupLazydirectoryGroupRecursivedirectoryGroupRecursiveLazy addSuperGroup addSubGroup mergeSTGroupsoptInsertGroupsetEncoderGroup nullGroupunsafeVolatileDirectoryGroupbaseGHC.Showshowt2mapgToSElemstripInitUnderGHC.BaseString Data.MonoidEndoShowS TmplParser<$$>|..>>fromManyswing envLookup envInsert envInsApp optLookup optInsertnullOptstLookup mergeSEnvsgetSeps tellNamesshowValshowStrjustSTRstshowstfshowaroundspacedwordcomlistprops escapedChar escapedStrstmplsubStmpcommentblankoptExprgetPropifIsSetifstat elseifstatelsestat endifstatexprnseqTmplssubexprn braceConcatliteralattribfunctnmkIndexix0cycleApppluslenliTransiterAppanonTmpl regTemplate quoteTmplPat quoteTmplExp readFile'groupFromFilesgetTmplsRecursiveToSElemDtoSElemDstripInitialUnderscores toSElemProxygenericToSElem getFields