úÎNÉKx#      !" ;This method should be used to create ToSElem instances for 2 types defining a custom formatted show function. 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  mappend  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 #.  Defaults to # flip $ const . stringTemplateShow  CThe ToSElem class should be instantiated for all types that can be / inserted as attributes into a StringTemplate. $% &'()*+,-./0&'()*+, -$%./0 &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. 7Replaces 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". BQueries an String Template Group and returns Just the appropriate 2 StringTemplate if it exists, otherwise, Nothing. 2Adds a set of global options to a single template <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. 1=if p is true, stmpl can fail gracefully, false it dies hard. @ Set to false at the top level, and true within if expressions. A String with "holes"/ in it. StringTemplates may be composed of any  $ type, which at the moment includes 2s,  ByteStrings,  PrettyPrinter Docs, and 34 2s, which are actually of type  5A. 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. % 6 789:;<=>?@%>?@  689:;<=7 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 F files read on demand, but no more than once. As it performs file IO, E expect it to throw the usual exceptions. And, as it is lazy, expect ( these exceptions in unexpected places. GAdds 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. Adds a "subgroup"6 to any StringTemplate group such that templates from , the original group now have template calls "shadowed" by the subgroup. EMerges two groups into a single group. This function is left-biased, C prefering bindings from the first group when there is a conflict. (Adds a set of global options to a group !9Sets an encoding function of a group that all values are ) rendered with in each enclosed template "KGiven an integral amount of seconds and a path, returns a group generating - all files in said directory 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 / templates for any sort of server application. 3 It should be swapped out for production purposes.  !" ! "portable experimentals.clover@gmail.com#  !"#    !" A    !"#$ % & ' ( ) * + , -.//01234567889:;<<=>?@@ABCDEFGHHStringTemplate-0.2Text.StringTemplateText.StringTemplate.ClassesbaseGHC.ShowText.StringTemplate.InstancesText.StringTemplate.BaseGHC.Base Data.MonoidText.StringTemplate.Group#Text.StringTemplate.GenericStandard stShowsToSE Stringable stFromString stToString mconcatMap mintercalatemlabelStringTemplateShowsstringTemplateShowstringTemplateFormattedShowToSElemtoSElem toSElemListtoStringtoPPDocrendernewSTMP newAngleSTMP setAttribute setManyAttrib withContextgetStringTemplate optInsertTmpl setEncoderStringTemplateSTGroupgroupStringTemplatesdirectoryGroupdirectoryGroupLazy addSuperGroup addSubGroup mergeSTGroupsoptInsertGroupsetEncoderGroupunsafeVolatileDirectoryGroupshowSTShowSElemSNullSBLELISMSTSHSTRSMapStFirst stGetFirststmplStringEndoShowS paddedTrans parseSTMPSEnvsmpsoptssgensencSTMPsenvrunSTMP