!U      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~                  ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T SafeUNoneVNone2M7 shakespeareRead file's content as W, converting newlines shakespeare)Embed file's content, converting newlines shakespearefEmbed file's content, converting newlines and track file via ghc dependencies, recompiling on changes  None "#27=>?M7: shakespeareA 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.F shakespeareCoffeescript, 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 #)L shakespeare&A parser with a user state of [String]X shakespeare*run a parser with a user state of [String]Y shakespearecalls Z* when there is stderr or exit code failureS shakespearejDetermine which identifiers are used by the given template, useful for creating systems like yesod devel.Y shakespearefor error reportingN shakespearefor error reporting-*+,-./0162345789:;=<>?@ABCDEFGHIJKLMNOPQRSTU-0162345789:FGHIJK>?@ABCDE;=<MPRTQS/*+,-.LNUONone=?MFg shakespeareIA typeclass for types that can be interpolated in CoffeeScript templates.i shakespeare*Return type of template-reading functions.j shakespeareNewtype wrapper of [.n shakespeare}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: .\ shakespeareEncode 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.y shakespearejDetermine which identifiers are used by the given template, useful for creating systems like yesod devel.cdefghijklmnopqrstuvwxyqrtswxvuijklefghcdmnpyoNone=?MP^ shakespeare!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. shakespeareRead inline, quasiquoted Roy. shakespeareQRead in a Roy template file. This function reads the file once, at compile time. shakespeareRead in a Roy template file. This impure function uses unsafePerformIO to re-read the file on every call, allowing for rapid iteration.None=?MV shakespeare&Read inline, quasiquoted CoffeeScript. shakespeareZRead in a CoffeeScript template file. This function reads the file once, at compile time. shakespeareRead in a CoffeeScript template file. This impure function uses unsafePerformIO to re-read the file on every call, allowing for rapid iteration. shakespeareDeprecated synonym for None &'=?GHMQV\9_ shakespearejDetermine which identifiers are used by the given template, useful for creating systems like yesod devel._ shakespeare&perform the indent-to-brace conversion` shakespeare&perform the indent-to-brace conversiona shakespearei2b?b shakespearehave whitespace? shakespeare indentationEcdefghijklmnopqrstuvwxyz{|}~_`abNone=?Mf  shakespeare!Not intended for direct use, see . shakespeareNormalized value, 1 == 100%. shakespeare!Not intended for direct use, see . shakespeareUnits used for text formatting. shakespeare Normalized value in centimeters. shakespeareAbsolute size units. shakespeare*Create a CSS size, e.g. $(mkSize "100px"). shakespeare2Absolute size unit convertion rate to centimeters. shakespeare Constructs #. Not intended for direct use, see . shakespeare Constructs #. Not intended for direct use, see . shakespeare.Converts number and unit suffix to CSS format.None &'=>?MXps shakespeare,renderCss ([lucius|foo{bar:baz}|] undefined)"foo{bar:baz}" shakespeareLooks 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. shakespeare"Runtime Lucius with mixin support. Since 1.0.6 shakespeareSame as %, but output has no added whitespace. Since 1.0.3 shakespearejDetermine which identifiers are used by the given template, useful for creating systems like yesod devel. shakespearetemplate shakespeareminify? shakespearescope//None2=>?x  shakespearenever add newlines shakespeare+add newlines between consecutive text lines shakespeareadd newlines everywhere shakespeare*Settings for parsing of a hamlet document. shakespeareHThe value to replace a "!!!" with. Do not include the trailing newline. shakespeareShould we add newlines to the output, making it more human-readable? Useful for client-side debugging but may alter browser page layout. shakespeareWHow a tag should be closed. Use this to switch between HTML, XHTML or even XML output. shakespeareBMapping from short names in "$doctype" statements to full doctype. shakespeareTrue == avoid newlines shakespearebool: does it include params? shakespeare;Defaults settings: HTML5 doctype and HTML-style empty tags. shakespeareFWhen 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. shakespeare/This funny hack is to allow us to refer to the i function without requiring the user to have it in scope. See how this function is used in Text.Hamlet.0None2=>? shakespeareFshould embeded template (via ^{..}) be plain Html or actual templates?None=>?V shakespeareA function generating an 9 given a message translator and a URL rendering function. shakespeareA function generating an  given a URL-rendering function. shakespeare0Convert some value to a list of attribute pairs. shakespeareG"Simple Hamlet" quasi-quoter. May only be used to generate expressions. Generated expressions have type . >>>  ( [0|<div>Hello, world!|]) <div>Hello, world!</div>  shakespeareLike , but produces XHTML. shakespeare>Hamlet quasi-quoter. May only be used to generate expressions.Generated expression have type  url , for some url. data MyRoute = Home render :: & MyRoute render Home _ = "/home" >>>  ( ([:|<a href=@{Home}>Home|] render)) <a href="/home">Home</a>  shakespeareLike , but produces XHTML. shakespeareYHamlet quasi-quoter with internationalization. May only be used to generate expressions. Generated expressions have type  msg url , for some msg and url. =data MyMsg = Hi | Bye data MyRoute = Home renderEnglish :: H MyMsg renderEnglish Hi = "hi" renderEnglish Bye = "bye" renderUrl :: ) MyRoute renderUrl Home _ = "/home" >>>  ( ([J|@{Home} _{Hi} _{Bye}|] renderEnglish renderUrl)) <div>/home hi bye <div>   shakespeareEQuasiquoter that follows XHTML serialization rules and supports i18n. shakespeareLike w, but the external file is parsed at runtime. Allows for more rapid development, but should not be used in production. shakespeareLike  w, but the external file is parsed at runtime. Allows for more rapid development, but should not be used in production.  shakespeareLike , but produces XHTML.  shakespeareLike  , but produces XHTML.  shakespeareChecks 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. shakespearevRuns the second argument with the value in the first, if available. Otherwise, runs the third argument, if available.7     7      None&'=?G shakespeare.Data which can be passed to a Hamlet template. shakespeareKA piece of data that can be embedded and passed to a Hamlet template (via ).This supplies an  instance, so with OverloadedStringsC it will support literal strings, which are converted to HTML via . For other datatypes, use . shakespeareA parsed Hamlet template. See  and . shakespeare]Parse an in-memory Hamlet template. This operation may fail if the template is not parsable. shakespeareSame as k, but reads from a file. The file is assumed to be UTF-8 encoded (same assumption as compile-time Hamlet). shakespeare2Render 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.   None=?M& shakespearejDetermine which identifiers are used by the given template, useful for creating systems like yesod devel.' shakespeare#Create a mixin with Cassius syntax. Since 2.0.3'"#$%&''"#$%'& 72012 Michael Snoyman <michael@snoyman.com>, Jeremy Shaw4BSD-style (see the LICENSE file in the distribution)%Michael Snoyman <michael@snoyman.com> experimentalportableNone =?@AEHVXE* shakespeare*an RFC1766 / ISO 639-1 language code (eg, fr, en-GB, etc).+ shakespearethe +4 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.- shakespeare-- is used to convert the value inside #{ } to IThe primary purpose of this class is to allow the value in #{ } to be a W or % rather than forcing it to always be ./ shakespeare,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 + instance0 shakespearecreate +# instance for an existing data-type1 shakespeare?create an additional set of translations for a type created by / shakespeareused by / and 0 to generate a +! and possibly a message data type, shakespeare4type that specifies which set of translations to use shakespeare6acceptable languages in descending order of preference shakespearemessage to translate/ shakespeare%base name to use for translation type shakespeare1subdirectory which contains the translation files shakespearedefault translation language0 shakespearemaster translation data type shakespeare%existing type to add translations for shakespearepath to translation folder shakespearedefault language1 shakespearemaster translation data type shakespeare%existing type to add translations for shakespearepath to translation folder shakespearedefault language shakespeareEgenerate a new datatype from the constructors found in the .msg files shakespeare%string to append to constructor names shakespeare!string to append to datatype name shakespearebase name of master datatype shakespeare!base name of translation datatype shakespearepath to translation folder shakespeare default lang shakespearedatatype shakespeare constructor shakespearevariable names ()*+,-./01 /01+,-.()* None=?M shakespearecodegen is designed for generating Yesod code, including templates So it uses different interpolation characters that won't clash with templates.D shakespearecodegen 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 codeE shakespeareGenerates strict Text codegen is designed for generating Yesod code, including templates So it uses different interpolation characters that won't clash with templates.789:;<=>?@ABCDEFG978:;>ABC=<@?DEGF None=?M shakespeare(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. shakespeare Identical to ' but uses jsx when compiling TypeScriptO shakespeare#Read inline, quasiquoted TypeScriptP shakespeare,Read inline, quasiquoted TypeScript with jsxQ shakespeareXRead in a TypeScript template file. This function reads the file once, at compile time.R shakespeareaRead in a TypeScript template file with jsx. This function reads the file once, at compile time.S shakespeareRead in a TypeScript template file. This impure function uses unsafePerformIO to re-read the file on every call, allowing for rapid iteration.T shakespeareRead in a TypeScript with jsx template file. This impure function uses unsafePerformIO to re-read the file on every call, allowing for rapid iteration.OPQRSTOPQRST !"#$%&''()*+,-./0123456789:;<=>?@ABCDEFGHIJKKLMNOPQRSTUVWXXYZ[\]^__`abcdefghijklmnopqrstuvwxyz{|}}~       !  " # $ % & ' ( ) * + , - . / 0 1 2 3 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^_`abcdeafghijklmnopqrs&tuvwxyz{|}~}az~aah     )shakespeare-2.0.21-DlwSC0fdq0dDhMBvvRCpHM Text.HamletText.Shakespeare.BaseText.Shakespeare Text.JuliusText.Roy Text.Coffee Text.LuciusText.Hamlet.RTText.Hamlet.Runtime Text.CassiusText.Shakespeare.I18NText.Shakespeare.TextText.TypeScriptText.IndentToBraceText.MkSizeTypeYesod.Core.HandlergetUrlRenderParamsL ByteStringText.Internal.CssText.Internal.CssCommonText.Hamlet.ParseText.Blaze.Html.Renderer renderHtmlText.Blaze.Html.Renderer.String)blaze-html-0.9.1.1-E0enfQtU1ZTDNQ8G8pIpJpText.Blaze.HtmlHtmlDerefDerefModulesIdent DerefIdent DerefIntegral DerefRational DerefString DerefBranch DerefList DerefTupleScopeIdent parseDeref derefToExp flattenDeref parseHashparseVarparseAtparseUrlparseVarStringparseUrlStringparseIntString parseCaretparseInt parseUnderreadUtf8FileString readUtf8File readFileQreadFileRecompileQ $fLiftIdent $fLiftDeref $fShowIdent $fEqIdent $fReadIdent $fDataIdent $fOrdIdent $fShowDeref $fEqDeref $fReadDeref $fDataDeref $fOrdDerefVarTypeVTPlainVTUrl VTUrlParamVTMixin RenderUrlShakespeareSettingsvarCharurlCharintChar toBuilderwrapunwrapjustVarInterpolation preConversionmodifyFinalValue PreConversion ReadProcessId WrapInsertionwrapInsertionIndentwrapInsertionStartBeginwrapInsertionSeparatorwrapInsertionStartClosewrapInsertionEndwrapInsertionAddParens PreConvert preConvertpreEscapeIgnoreBalancedpreEscapeIgnoreLine wrapInsertionParserdefaultShakespeareSettings preFilterpack' shakespeareshakespeareFromStringshakespeareFileshakespeareUsedIdentifiersshakespeareFileReloadshakespeareRuntime$fLiftWrapInsertion$fLiftPreConversion$fLiftPreConvert$fLiftShakespeareSettings $fShowContent $fEqContent $fShowVarType $fEqVarType $fOrdVarType $fEnumVarType$fBoundedVarType $fDataVarType$fGenericVarTypeRawJSrawJS RawJavascript ToJavascript toJavascript JavascriptUrl Javascript unJavascriptrenderJavascriptrenderJavascriptUrlasJavascriptUrljavascriptSettingsjsjuliusjsFile juliusFile jsFileReloadjuliusFileReloadjuliusFileDebug jsFileDebugjuliusUsedIdentifiers$fToJavascriptText$fToJavascriptText0$fToJavascript[]$fToJavascriptValue$fToJavascriptBool$fToJavascriptRawJavascript $fRawJSBool$fRawJSBuilder $fRawJSText $fRawJSText0 $fRawJS[]$fSemigroupJavascript$fMonoidJavascriptroyroyFile royFileReloadcoffee coffeeFilecoffeeFileReloadcoffeeFileDebugToCsstoCssCssMixinCssUrl renderCssPercentageSizepercentageSizeValue AbsoluteSizeabsoluteSizeUnitabsoluteSizeValue AbsoluteUnit CentimeterInch MillimeterPicaPointColor renderCssUrlcolorRed colorBlackmkSize absoluteSizepercentageSizeEmSizeExSize PixelSizeRTValueRTVRawRTVMixinlucius luciusFileluciusFileDebugluciusFileReloadparseTopLevels luciusRT'luciusRT luciusRTMixinluciusRTMinifiedluciusUsedIdentifiers luciusMixin CloseStyleNoClose CloseInside CloseSeparate NewlineStyle NoNewlines NewlinesTextAlwaysNewlinesDefaultNewlineStyleHamletSettings hamletDoctypehamletNewlineshamletCloseStylehamletDoctypeNamesdefaultHamletSettingsxhtmlHamletSettingsHamletExceptionHamletParseExceptionHamletUnsupportedDocExceptionHamletRenderExceptionHamletRT SimpleDocSDRawSDVarSDUrl SDTemplateSDForallSDMaybeSDCond HamletDataHDHtmlHDUrl HDUrlParams HDTemplateHDBoolHDMaybeHDList HamletMap parseHamletRTrenderHamletRTrenderHamletRT'$fExceptionHamletException$fShowHamletExceptionEnv urlRender msgRender HamletRules hrFromHtml hrWithEnvhrEmbed HtmlUrlI18nHtmlUrl TranslateRender ToAttributes toAttributes attrsToHtmlshamletxshamlet htmlRuleshamletxhamlet asHtmlUrl hamletRulesihamlet ihamletRuleshamletWithSettingshamletFromStringhamletFileWithSettings hamletFilehamletFileReloadihamletFileReload xhamletFile shamletFile xshamletFile ihamletFilecondHmaybeH$fToAttributes[]$fToAttributes[]0$fToAttributes(,)$fToAttributes(,)0 $fShowVarExp ToHamletData toHamletDataHamletTemplateparseHamletTemplatereadHamletTemplateFilerenderHamletTemplate$fIsStringHamletData$fToHamletDataBool$fToHamletDataMarkupM$fToHamletDataText$fToHamletDataMaybe$fToHamletData[]$fToHamletDataHamletDatacassius cassiusFilecassiusFileDebugcassiusFileReloadcassiusUsedIdentifiers cassiusMixin SomeMessageLang RenderMessage renderMessage ToMessage toMessage mkMessage mkMessageFormkMessageVariant $fToMessage[]$fToMessageText$fRenderMessagemasterText $fRenderMessagemasterSomeMessage$fIsStringSomeMessageToTexttoTextTextUrl renderTextUrlstextltsttextlbtsbttextFile textFileDebugtextFileReloadcodegen codegenStcodegenFileReload codegenFile $fToTextInt $fToTextInt64 $fToTextInt32 $fToTextText $fToTextText0 $fToText[]$fToTextBuildertsctscJSXtypeScriptFiletypeScriptJSXFiletypeScriptFileReloadtypeScriptJSXFileReloadi2b mkSizeTypebaseGHC.BaseStringparsereadProcessErrorGHC.Errerror text-1.2.3.1Data.Text.Internal.BuilderBuilderencodeToTextBuilder$aeson-1.4.4.0-II0bGeQF04T9wPxoYYEonnData.Aeson.Types.InternalValue roySettingscssUsedIdentifiers cssFileDebug cssRuntime renderBlockCDDataCDMixin CDUrlParamCDUrlCDPlainContentsContent ContentMixinContentUrlParam ContentUrl ContentVar ContentRawCssNoWhitespace CssWhitespaceAttrattrValattrKeyTopLevelTopVar TopAtDecl TopAtBlockTopBlock mixinBlocks mixinAttrsBlock blockMixins blockBlocks blockAttrs blockSelectorMixinsStrHasLeadingSpace ChildBlocksSelector UnresolvedResolvedDListpackfromTextcombineSelectors blockRuntimecontentToBuilderRTvtToExpgetVarslookupDcompressTopLevel compressBlock blockToMixin blockToCssselectorToBuildercontentsToBuildercontentToBuildertopLevelsToCassiusblocksToCassius liftBuilderabsoluteUnitRateshowSize detectAmp LineContenttestIncludeClazzesspecialOrIdent Data.FoldableorModule DataConstr DCUnqualified DCQualifiedBindingBindVarBindAs BindConstr BindRecord BindTupleBindListDoc DocForallDocWithDocCondDocMaybeDocCase DocContent ContentEmbed ContentMsg ContentAttrsResultErrorOkparseDoc System.IOputStrLnixhamlet Data.StringIsStringtoHtmlcontainers-0.6.0.1Data.Map.InternalMapData.Text.InternalTextmkMessageCommonmkBodycodegenSettingstypeScriptSettingstypeScriptJSXSettings