ݓ       !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~             None       None !"#$  !"#$None+C%% &'() *+,-./  %  &'() *+,-./None+345 never add newlines!+add newlines between consecutive text lines"add newlines everywhere$*Settings for parsing of a hamlet document.&HThe value to replace a "!!!" with. Do not include the trailing newline.'Should we add newlines to the output, making it more human-readable? Useful for client-side debugging but may alter browser page layout.(WHow a tag should be closed. Use this to switch between HTML, XHTML or even XML output.)BMapping from short names in "$doctype" statements to full doctype.0True == avoid newlines1bool: does it include params?*;Defaults settings: HTML5 doctype and HTML-style empty tags.2FWhen using conditional classes, it will often be a single class, e.g.: <div :isHome:.homepage>If isHome is False, we do not want any class attribute to be present. However, due to combining multiple classes together, the most obvious implementation would produce a class="". The purpose of this function is to work around that. It does so by checking if all the classes on this tag are optional. If so, it will only include the class attribute if at least one conditional is true.3/This funny hack is to allow us to refer to the 4i function without requiring the user to have it in scope. See how this function is used in Text.Hamlet.b56789:;<=>?@ !"#$%&'()ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcde0fgh1ijklmnopqrstuv*+wxyz{23|}~056789:;<=>?@ !"#$%&'()ABCDEFGfgh1ijklmnt*+3$56789:;<=>?@ !"#$%&'()ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_0`abcdefgh1ijklmnopqrstuv*+wxyz{23|}~None3455A function generating an 9 given a message translator and a URL rendering function.6A function generating an  given a URL-rendering function.70Convert some value to a list of attribute pairs.LChecks for truth in the left value in each pair in the first argument. If a true exists, then the corresponding right action is performed. Only the first is performed. In there are no true values, then the second argument is performed, if supplied.MvRuns the second argument with the value in the first, if available. Otherwise, runs the third argument, if available.Y,-./0123456789:;<=>?@ABCDEFGHIJKLM4 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLM4:I;J6=EFG>H5AK78$%&'() !"#CD*+,-./01234@B<LM?9C,-./0123456789:;<=>?@ABCDEFGHIJKLMNone+345NOPQRSTUVWXYZ[\]^_`abcdefgFshould embeded template (via ^{..}) be plain Html or actual templates?NOPQRSTUVWXYZ[\]^_`abcdefgRS\]^_`abcdNOPQefgTUVWXYZ[ NOPQRSTUVWXYZ[\]^_`abcdefgNone!"35=h.Data which can be passed to a Hamlet template.jKA piece of data that can be embedded and passed to a Hamlet template (via n).This supplies an  instance, so with OverloadedStringsC it will support literal strings, which are converted to HTML via . For other datatypes, use i.kA parsed Hamlet template. See l and m.l]Parse an in-memory Hamlet template. This operation may fail if the template is not parsable.mSame as lk, but reads from a file. The file is assumed to be UTF-8 encoded (same assumption as compile-time Hamlet).n2Render a runtime Hamlet template, together with a # of variables to pass in, into an X value. This can fail if the template references a variable that is not present in the Map.hijklmn $*hijklmn k$*jhilmnhijklmn72012 Michael Snoyman <michael@snoyman.com>, Jeremy Shaw4BSD-style (see the LICENSE file in the distribution)%Michael Snoyman <michael@snoyman.com> experimentalportableNone 357;>LNq*an RFC1766 / ISO 639-1 language code (eg, fr, en-GB, etc).rthe r4 is used to provide translations for a message typesThe master\ argument exists so that it is possible to provide more than one set of translations for a message type. This is useful if a library provides a default set of translations, but the user of the library wants to provide a different set of translations.tt- is used to convert the value inside #{ } to IThe primary purpose of this class is to allow the value in #{ } to be a  or % rather than forcing it to always be .v,generate translations from translation filesThis function will: 6look in the supplied subdirectory for files ending in .msg/generate a type based on the constructors found create a r instancewcreate r# instance for an existing data-typex?create an additional set of translations for a type created by vused by v and w to generate a r! and possibly a message data type.opqrs4type that specifies which set of translations to use6acceptable languages in descending order of preferencemessage to translatetuv%base name to use for translation type1subdirectory which contains the translation filesdefault translation languagewmaster translation data type%existing type to add translations forpath to translation folderdefault languagexmaster translation data type%existing type to add translations forpath to translation folderdefault languageEgenerate a new datatype from the constructors found in the .msg files%string to append to constructor names!string to append to datatype namebase name of master datatype!base name of translation datatypepath to translation folder default langdatatype constructorvariable names opqrstuvwx vwxrstuopq!opqrstuvwxNone +0345CA transformation applied to the final expression. Most often, this would be used to force the type of the expression to help make more meaningful error messages.Coffeescript, TypeScript, and other languages compiles down to Javascript. Previously we waited until the very end, at the rendering stage to perform this compilation. Lets call is a post-conversion This had the advantage that all Haskell values were inserted first: for example a value could be inserted that Coffeescript would compile into Javascript. While that is perhaps a safer approach, the advantage is not used in practice: it was that way mainly for ease of implementation. The down-side is the template must be compiled down to Javascript during every request. If instead we do a pre-conversion to compile down to Javascript, we only need to perform the compilation once.The problem then is the insertion of Haskell values: we need a hole for them. This can be done with variables known to the language. During the pre-conversion we first modify all Haskell insertions So #{a} is change to shakespeare_var_a Then we can place the Haskell values in a function wrapper that exposes those variables: (function(shakespeare_var_a){ ... shakespeare_var_a ...}) TypeScript can compile that, and then we tack an application of the Haskell values onto the result: (#{a})6preEscapeIgnoreBalanced is used to not insert backtacks for variable already inside strings or backticks. coffeescript will happily ignore the interpolations, and backticks would not be treated as escaping in that context. preEscapeIgnoreLine was added to ignore comments (which in Coffeescript begin with a '#')&A parser with a user state of [String]*run a parser with a user state of [String]calls * when there is stderr or exit code failurejDetermine which identifiers are used by the given template, useful for creating systems like yesod devel.Lyz{|}~ for error reportingfor error reporting    -yz{|}~-~yz{|}'yz{|}~      None35Ccodegen is designed for generating Yesod code, including templates So it uses different interpolation characters that won't clash with templates.codegen is designed for generating Yesod code, including templates So it uses different interpolation characters that won't clash with templates. You can use the normal text quasiquoters to generate codeGenerates strict Text codegen is designed for generating Yesod code, including templates So it uses different interpolation characters that won't clash with templates.None35CIA typeclass for types that can be interpolated in CoffeeScript templates.*Return type of template-reading functions.Newtype wrapper of .}render with route interpolation. If using this module standalone, apart from type-safe routes, a dummy renderer can be used: 5renderJavascriptUrl (\_ _ -> undefined) javascriptUrleWhen using Yesod, a renderer is generated for you, which can be accessed within the GHandler monad: .Encode a JSON   to a  Data.Text >, which can be embedded efficiently in a text-based protocol.6If you are going to immediately encode straight to a , it is more efficient to use encodeToBuilder instead.jDetermine which identifiers are used by the given template, useful for creating systems like yesod devel."!"#$%&'()*!"#$%&'()* None35C+!The Roy language compiles down to Javascript. We do this compilation once at compile time to avoid needing to do it during the request. We call this a preConversion because other shakespeare modules like Lucius use Haskell to compile during the request instead rather than a system call.Read inline, quasiquoted Roy.QRead in a Roy template file. This function reads the file once, at compile time.Read in a Roy template file. This impure function uses unsafePerformIO to re-read the file on every call, allowing for rapid iteration.++ None35C&Read inline, quasiquoted CoffeeScript.ZRead in a CoffeeScript template file. This function reads the file once, at compile time.Read in a CoffeeScript template file. This impure function uses unsafePerformIO to re-read the file on every call, allowing for rapid iteration.Deprecated synonym for ,,None !"35=>CGL-jDetermine which identifiers are used by the given template, useful for creating systems like yesod devel.W./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWX-&perform the indent-to-brace conversionY&perform the indent-to-brace conversionZ[\]i2b?^_`abcdefghijhave whitespace? indentationklmnopqrstuvwxyz{|}E./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWX-YZ[\]^_`abcdefghijk<./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWX-YZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}None35C !Not intended for direct use, see .Normalized value, 1 == 100%.!Not intended for direct use, see .Units used for text formatting. Normalized value in centimeters.Absolute size units.*Create a CSS size, e.g. $(mkSize "100px").~2Absolute size unit convertion rate to centimeters. Constructs #. Not intended for direct use, see . Constructs #. Not intended for direct use, see ..Converts number and unit suffix to CSS format.+~~~ None !"345CN,renderCss ([lucius|foo{bar:baz}|] undefined)"foo{bar:baz}"Looks for an & at the beginning of a selector and, if present, indicates that we should not have a leading space. Otherwise, we should have the leading space."Runtime Lucius with mixin support. Since 1.0.6Same as %, but output has no added whitespace. Since 1.0.3jDetermine which identifiers are used by the given template, useful for creating systems like yesod devel.$templateminify?scope// None35CjDetermine which identifiers are used by the given template, useful for creating systems like yesod devel.#Create a mixin with Cassius syntax. Since 2.0.3'' None35C(The TypeScript language compiles down to Javascript. We do this compilation once at compile time to avoid needing to do it during the request. We call this a preConversion because other shakespeare modules like Lucius use Haskell to compile during the request instead rather than a system call. #Read inline, quasiquoted TypeScript XRead in a TypeScript template file. This function reads the file once, at compile time. Read in a TypeScript template file. This impure function uses unsafePerformIO to re-read the file on every call, allowing for rapid iteration.             !"#$$%&'()*+,-./0123456789:;<<=>?@ABCCDEFFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefgghijklmnopqrstuvwxyz{|}p~                        !"#$%&'()*+,-./0123456789:;<<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~9p~9i)9ijk6       #ijk6 !!"#$%&'()*++,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklm n o p q r s t u v w x y z {   | } ~     shake_7s6gOFDmlDl3jNoiS39Kvr Text.HamletText.Shakespeare.BaseText.Hamlet.RTText.Hamlet.RuntimeText.Shakespeare.I18NText.ShakespeareText.Shakespeare.Text Text.JuliusText.Roy Text.Coffee Text.Lucius Text.CassiusText.TypeScriptText.MkSizeTypeText.IndentToBraceText.Hamlet.ParseYesod.Core.HandlergetUrlRenderParamsL ByteStringText.CssText.CssCommonblaze_1zXVsYxJvNk7KmCYUCIuBjText.Blaze.HtmlHtmlDerefDerefModulesIdent DerefIdent DerefIntegral DerefRational DerefString DerefBranch DerefList DerefTupleScopeIdent parseDeref derefToExp flattenDeref parseHashparseVarparseAtparseUrlparseVarStringparseUrlStringparseIntString parseCaretparseInt parseUnder readUtf8File CloseStyleNoClose CloseInside CloseSeparate NewlineStyle NoNewlines NewlinesTextAlwaysNewlinesDefaultNewlineStyleHamletSettings hamletDoctypehamletNewlineshamletCloseStylehamletDoctypeNamesdefaultHamletSettingsxhtmlHamletSettingsEnv urlRender msgRender HamletRules hrFromHtml hrWithEnvhrEmbed HtmlUrlI18nHtmlUrl ToAttributes toAttributes attrsToHtmlshamletxshamlet htmlRuleshamletxhamlet asHtmlUrl hamletRulesihamlet ihamletRuleshamletWithSettingshamletFileWithSettings hamletFilehamletFileReloadihamletFileReload xhamletFile shamletFile xshamletFile ihamletFilecondHmaybeHHamletExceptionHamletParseExceptionHamletUnsupportedDocExceptionHamletRenderExceptionHamletRT SimpleDocSDRawSDVarSDUrl SDTemplateSDForallSDMaybeSDCond HamletDataHDHtmlHDUrl HDUrlParams HDTemplateHDBoolHDMaybeHDList HamletMap parseHamletRTrenderHamletRTrenderHamletRT' ToHamletData toHamletDataHamletTemplateparseHamletTemplatereadHamletTemplateFilerenderHamletTemplate SomeMessageLang RenderMessage renderMessage ToMessage toMessage mkMessage mkMessageFormkMessageVariantVarTypeVTPlainVTUrl VTUrlParamVTMixin RenderUrlShakespeareSettingsvarCharurlCharintChar toBuilderwrapunwrapjustVarInterpolation preConversionmodifyFinalValue PreConversion ReadProcessId WrapInsertionwrapInsertionIndentwrapInsertionStartBeginwrapInsertionSeparatorwrapInsertionStartClosewrapInsertionEndwrapInsertionAddParens PreConvert preConvertpreEscapeIgnoreBalancedpreEscapeIgnoreLine wrapInsertionParserdefaultShakespeareSettings preFilterpack' shakespeareshakespeareFromStringshakespeareFileshakespeareUsedIdentifiersshakespeareFileReloadshakespeareRuntimeToTexttoTextTextUrl renderTextUrlstextltsttextlbtsbttextFile textFileDebugtextFileReloadcodegen codegenStcodegenFileReload codegenFileRawJSrawJS RawJavascript ToJavascript toJavascript JavascriptUrl Javascript unJavascriptrenderJavascriptrenderJavascriptUrlasJavascriptUrljavascriptSettingsjsjuliusjsFile juliusFile jsFileReloadjuliusFileReloadjuliusFileDebug jsFileDebugjuliusUsedIdentifiersroyroyFile royFileReloadcoffee coffeeFilecoffeeFileReloadcoffeeFileDebugToCsstoCssCssMixinCssUrl renderCssPercentageSizepercentageSizeValue AbsoluteSizeabsoluteSizeUnitabsoluteSizeValue AbsoluteUnit CentimeterInch MillimeterPicaPointColor renderCssUrlcolorRed colorBlackmkSize absoluteSizepercentageSizeEmSizeExSize PixelSizeRTValueRTVRawRTVMixinlucius luciusFileluciusFileDebugluciusFileReloadparseTopLevels luciusRT'luciusRT luciusRTMixinluciusRTMinifiedluciusUsedIdentifiers luciusMixincassius cassiusFilecassiusFileDebugcassiusFileReloadcassiusUsedIdentifiers cassiusMixintsctypeScriptFiletypeScriptFileReload mkSizeTypedataDecshowInstanceDecnumInstanceDecfractionalInstanceDectoCssInstanceDec instanceType binaryFunDec unariFunDec1 unariFunDec2NestBlankLine lineIndent lineContenti2b stripCommentsisBlankaddClosingCounttoLnesttell'unnest UserParser derefParensderefCurlyBrackets derefList derefTupleread'expType curlyBracketsparseInterpolatedString $fLiftDeref $fLiftIdent LineContent ContentUrltestIncludeClazzesspecialOrIdentbase Data.FoldableorModule DataConstr DCQualified DCUnqualifiedBindingBindVarBindAs BindConstr BindTupleBindList BindRecordDoc DocForallDocWithDocCondDocMaybeDocCase DocContent ContentRuleInQuotes NotInQuotesNotInQuotesAttr InContentTagPieceTagNameTagIdentTagClass TagAttrib TagAttribs LineForallLineIf LineElseIfLineElseLineWith LineMaybe LineNothingLineCaseLineOfLineTag _lineTagName _lineAttr _lineContent _lineClasses _lineAttrs_lineNoNewlineContent ContentRaw ContentVar ContentEmbed ContentMsg ContentAttrsResultErrorOk parseLines parseLine nestLines nestToDoc compressDocparseDoc attrToContent htmlEmptyTagshtmlCloseStylexhtmlCloseStyle parseConds doctypeNames spaceTabs$fLiftHamletSettings $fLift(->)$fLiftNewlineStyle$fApplicativeResult$fFunctorResult $fMonadResult RuntimeVarsHamletRuntimeRuleshrrI18nVarExpEPlainEUrl EUrlParamEMixin EMixinI18nEMsg ShakespeareQueryParametersVTMsgVTAttrsMTime TranslateRender docsToExpunIdentbindingPattern mkConNameconToStrbindWildFieldsrecordToFieldNamesdocToExp contentToExphamletFromString docFromStringvarNamestrToExpgetVarshamletUsedIdentifiershamletFileReloadWithSettings readFileUtf8 readFileQ reloadMapReflookupReloadMapinsertReloadMapcontentFromString hamletRuntimehamletRuntimeMsg nothingErrorruntimeContentToHtml $fShowVarExp$fToAttributes[]$fToAttributes[]0$fToAttributes(,)$fToAttributes(,)0 UrlRendererfashowName flattenDeref'$fExceptionHamletException Data.StringIsStringtoHtmlconta_LKCPrTJwOTOLk4OU37YmeN Data.Map.BaseMap unHamletDataVoidabsurd$fToHamletDataBool$fToHamletDataMarkupM$fToHamletDataText$fToHamletDataMaybe$fToHamletData[]$fToHamletDataHamletData$fIsStringHamletDatatext_1l1AN4I48k37RaQ6fm6CEhData.Text.InternalTextGHC.BaseStringmkMessageCommonVarRawDefconstrvarscontentSDefsconstrsvarsscontent toClausesmkBody sToClause defClausetoConcheckDeftoSDefstoSDefloadLang loadLangDir loadLangFileparseDefcompress parseContent $fRenderMessagemasterSomeMessage$fIsStringSomeMessage$fRenderMessagemasterText $fToMessage[]$fToMessageTextparsereadProcessErrorGHC.ErrerrorContentsContentUrlParam ContentMix eShowErrors parseContentscontentsToShakespeare$fLiftShakespeareSettings$fLiftPreConversion$fLiftWrapInsertion$fLiftPreConvertcodegenSettingssettingsdropBar $fToTextInt $fToTextInt64 $fToTextInt32 $fToTextText $fToTextText0 $fToText[]$fToTextBuilderData.Text.Internal.BuilderBuilderencodeToTextBuilderaeson_D7i0fGPluTT5huCAwL51g6Data.Aeson.Types.InternalValuestringfromScientific $fRawJSBool$fRawJSBuilder $fRawJSText $fRawJSText0 $fRawJS[]$fToJavascriptRawJavascript$fToJavascriptValue$fToJavascriptBool roySettingscoffeeSettingscssUsedIdentifiersCDDataCDPlainCDUrl CDUrlParamCDMixin ContentMixin CssWhitespaceCssNoWhitespaceAttrattrKeyattrValTopLevelTopBlock TopAtBlock TopAtDeclTopVar mixinAttrs mixinBlocksBlock blockSelector blockAttrs blockBlocks blockMixinsMixinsStrHasLeadingSpace ChildBlocksSelector UnresolvedResolvedDListpackfromText cssFileDebugcombineSelectors blockRuntimecontentToBuilderRT cssRuntimevtToExplookupDcompressTopLevel compressBlock blockToMixin blockToCssselectorToBuildercontentsToBuildercontentToBuildertopLevelsToCassiusblocksToCassius renderBlock liftBuilder $fLiftBlock $fLiftBlock0 $fLiftContent $fLiftAttr $fLiftAttr0 $fLiftMixin $fToCssText $fToCssText0 $fToCss[] $fMonoidMixinTFCo:R:MixinsUnresolvedTFCo:R:MixinsResolvedTFCo:R:StrUnresolvedTFCo:R:StrResolvedTFCo:R:ChildBlocksUnresolvedTFCo:R:ChildBlocksResolvedTFCo:R:SelectorUnresolvedTFCo:R:SelectorResolvedabsoluteUnitRateshowSize$fToCssPercentageSize$fFractionalPercentageSize$fNumPercentageSize$fShowPercentageSize$fToCssAbsoluteSize$fFractionalAbsoluteSize$fNumAbsoluteSize$fOrdAbsoluteSize$fEqAbsoluteSize$fShowAbsoluteSize $fToCssColor $fToCssEmSize $fToCssExSize$fToCssPixelSize detectAmp PairBlockPBAttrPBBlockPBMixinluciusFromString whiteSpace whiteSpace1 parseBlock partitionPBs parseSelectortrimparsePairsBlocks parsePairisHexatMost parseCommentstringCIluciusRTInternalluciusMixinFromStringi2bMixintypeScriptSettings