úÎc•\żB      !"#$%&'()*+,-./0123456789:;<=>?@A7The 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 B.  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.     CDEO A String with "holes"/ in it. StringTemplates may be composed of any  $ type, which at the moment includes Fs,  ByteStrings,  PrettyPrinter Docs, and GH Fs, which are actually of type  IA. 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. JKLMN%&&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. /As with .+ but never inlined, so appropriate for use  with volatile template groups. 02Adds a set of global options to a single template 1<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. 2QA 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)]  3OPQRSTUV4WXYZ[\]^_`abc=if p is true, stmpl can fail gracefully, false it dies hard. @ Set to false at the top level, and true within if expressions. defghijklmnopqrstuvwxyz{|}(  !"#$%&'()*+,-./01234( !"# $3&'()*./+,-01%42 !"#!"#$%&'()*+,-./012345675675667 ~8JGiven a list of named of StringTemplates, returns a group which generates + them such that they can call one another. 9JGiven 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 @DFor 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. AKGiven 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 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. 89:;<=>?@A 89:;<=>?@A€‚ƒ„…portable experimentals.clover@gmail.com)  $&'()*+,-./01256789:;<=>?@A) $  56)*./&'(2+7,-0>1?8;<=9A:@†      !!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMHNOHPQHPQHIRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†S‡‡ˆ‰Š‹ŒHStringTemplate-0.4.3Text.StringTemplateText.StringTemplate.ClassesText.StringTemplate.BaseText.StringTemplate.Instances#Text.StringTemplate.GenericStandardText.StringTemplate.RenderfText.StringTemplate.Group$Text.StringTemplate.GenericWithClass Stringable stFromString stToString mconcatMap mintercalatemlabelSTShowStringTemplateShowsstringTemplateShowstringTemplateFormattedShowToSElemtoSElem toSElemListSElemSNullSBLELISMSTSHSTRSMapStFirst stGetFirst stShowsToSESEnvsmpsoptssgensencStringTemplateSTMPsenvrunSTMPSTGroup paddedTranstoStringtoPPDocrendernewSTMP newAngleSTMP setAttribute setManyAttrib withContextgetStringTemplategetStringTemplate' optInsertTmpl setEncoder dumpAttribsinSGen parseSTMPSETyperenderf|=groupStringTemplatesdirectoryGroupdirectoryGroupLazy addSuperGroup addSubGroup mergeSTGroupsoptInsertGroupsetEncoderGroup nullGroupunsafeVolatileDirectoryGroupbaseGHC.Showshowt2mapgToSElemstripInitUnderGHC.BaseString Data.MonoidEndoShowS<$$>|..>>fromManyswing envLookup envInsert envInsApp optLookup optInsertnullOptstLookup mergeSEnvsshowValshowStrjustSTRstshowstfshowaroundspacedwordcomlistprops escapedChar escapedStrstmplsubStmpcommentblankoptExprgetPropifIsSetparseifstat elseifstatelsestat endifstatexprnseqTmplssubexprn braceConcatliteralattribfunctnmkIndexix0cycleApppluslenliTransiterAppanonTmpl regTemplateToSElemDtoSElemDstripInitialUnderscores toSElemProxygenericToSElem getFields