I      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~  $ None%Convert a GADT to a normal data type. None.Extract the module name from a qualified name.Extract the name from a QName.(Change or add the ModuleName of a QName.Extract the string from a Name.NoneThe CPP's parsing state.Parse some Fay code.KApply incredibly simplistic CPP handling. It only recognizes the following: +#if FAY #ifdef FAY #ifndef FAY #else #endiflNote that this implementation replaces all removed lines with blanks, so that line numbers remain accurate.The parse mode for Fay. Safe-Inferred   Safe-InferredNone*      !"#$%&'()*+,-./01*      !"#$%&'()*+,-./01*      !"#$%&'()*+,-./01None$23456789:;<=>?@ABCDEFGHIJKLMNOPQRSTU$23456789:;<=>?@ABCDEFGHIJKLMNOPQRSTU$23456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUNone;The name of a module split into a list for code generation. 4Construct the complete ModulePath from a ModuleName. FConstruct intermediate module paths from a ModuleName. mkModulePaths A.B => [[A], [A,B]] pConverting a QName to a ModulePath is only relevant for constructors since they can conflict with module names.V V V  Safe-Inferred 3Alias of liftIO, I hate typing it. Hate reading it. )Do any of the (monadic) predicates match? Flip of map.3Read from a process returning both std err and out. WXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=    None24>.Helpful for writing qualified symbols (Fay.*).?Helpful for some things.@Helpful for some things.'ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcd>?@$ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcd'ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcd>?@None e/Make an identifier from the built-in HJ module.f<Mapping from unqualified names to qualified primitive names.g:Lookup a primop that was resolved to a Prelude definition.h[If this is resolved to a Prelude identifier or if it's unqualified, check if it's a primopefgheghefghNone Error type. !"#$%&'()*+,i !"#$%&'()*+,,+*)('&%$#"! ,+*)('&%$#"! iNone-The serialization context indicates whether we're currently serializing some value or a particular field in a user-defined data type.0IThese are the data types that are serializable directly to native JS data types. Strings, floating points and arrays. The others are: actions in the JS monad, which are thunks that shouldn't be forced when serialized but wrapped up as JS zero-arg functions, and unknown types can't be converted but should at least be forced.-./0123456789:;<=>?-./0123456789:;<=>?-/.0?>=<;:987654321None@Literal value type.FA name of some kind.RExpression type.oStatement type.jJust handy to have.?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}j>@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}@EDCBAF QPONMLKJIHGRnmlkjihgfedcba`_^]\[ZYXWVUTSo}|{zyxwvutsrqpjNone EFHM~xConvert a Haskell value to a Fay json value. This can fail when primitive values aren't handled by explicit cases. & can be used to resolve this issue.Convert a Haskell value to a Fay json value. This can fail when primitive values aren't handled by explicit cases. When this happens, you can add additional cases via the first parameter.qThe first parameter is a function that can be used to override the conversion. This usually looks like using k' to additional type- specific cases.,Convert a Fay json value to a Haskell value.~Convert a Fay json value to a Haskell value. This is like readFromFay, except it yields helpful error messages on failure.,Convert a Fay json value to a Haskell value.qThe first parameter is a function that can be used to override the conversion. This usually looks like using l' to additional type- specific cases.m%Parse a data type or record or tuple.nParse a tuple.o(Parse a data constructor from an object.pRMake a simple ADT constructor from an object: { "slot1": 1, "slot2": 2} -> Foo 1 2q;Make a record from a key-value: { "x": 1 } -> Foo { x = 1 }rParse a float.sParse a double.t Parse an int.u Parse a bool.vParse a string.w Parse a char.x Parse a Text.yParse an array.z Parse unit.{~|}mnopq~rstuvwxyz~~{~|}mnopq~rstuvwxyzNone"DConfiguration of the compiler. The fields with a leading underscoreRun optimizationsFlatten function application?Export the runtime?Export the stdlib?Export only the stdlib?5Possibly a fay package name, and a include directory.Pretty print the JS output?-Output a HTML file including the produced JS.(Output a source map file as outfile.map.$Any JS files to link to in the HTML.%Don't invoke main in the produced JS.3Warn on dubious stuff, not related to typechecking.File path to output to.Typecheck with GHC.Typecheck with -Wall.&Run Google Closure on the produced JS.(The package config e.g. packages-6.12.3.Included Fay packages.#Custom source location for fay-baseProduce strict and uncurried JavaScript callable wrappers for all exported functions with type signatures in the given module:Only invoke GHC for typechecking, don't produce any output#Optimize away newtype constructors?/Reading _configDirectoryIncludes is safe to do.8Get all include directories without the package mapping.:Get all include directories not included through packages.:Add a mapping from (maybe) a package to a source directory Add several include directories.;Add several include directories without package references.&Reading _configPackages is safe to do.Add a package to compilation#Add several packages to compilation5Should a strict wrapper be generated for this module?Default configuration.&""NoneEuGiven a configuration, resolve any packages specified to their data file directories for importing the *.hs sources.Resolve package.?Does a directory exist and does it contain any Haskell sources?Describe the given package.5Get the package version from the package description.!Make a share directory generator.None=BK %The JavaScript FFI interfacing monad.Print some value.The printer monad. The state of the pretty printer.Are we to pretty print?The current line.Current column.Source mappings.Current indentation level..The current output. TODO: Make more efficient.Just outputted a newline?Compile monad.Uns the compiler+Configuration and globals for the compiler.The compilation configuration.#Things written out by the compiler. Constructors.Fay to JS dispatchers.JS to Fay dispatchers.State of the compiler.$Exported identifiers for all modulesMap types to constructorsMap constructors to fields3Newtype constructor, destructor, wrapped type tuple7Map of all imported modules and their source locations.LDepth of the current lexical scope, used for creating unshadowing variables.,Name of the module currently being compiled./Module paths that have code generated for them.5Use JS Strings instead of [Char] for string literals?9Module level declarations having explicit type signaturesDefault state.Simple concatenating instance..  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}γo}|{zyxwvutsrqpRnmlkjihgfedcba`_^]\[ZYXWVUTS@EDCBAFQPONMLKJIHG,+*)('&%$#"! 0?>=<;:987654321-/.  None 3Wrap an expression in a thunk.Wrap an expression in a thunk.Generate unique names.>Resolve a given maybe-qualified name to a fully qualifed name.lResolve a given maybe-qualified name to a fully qualifed name. Use this when a resolution failure is a bug.Resolve a newtype constructor.Resolve a newtype destructor.&Qualify a name for the current module.6Qualify a QName for the current module if unqualified.Make a top-level binding.Force an expression in a thunk.(Is a JS expression a literal (constant)?7Deconstruct a parse result (a la maybe, foldr, either).Get a config option.Optimize pattern matching conditions by merging conditions in common. TODO This is buggy and no longer used. Fails on tests/case3Throw a JS exception.(Throw a JS exception (in an expression).Is an alt a wildcard?Is a pattern a wildcard?4Return formatter string if expression is a FFI call.CGenerate a temporary, SCOPED name for testing conditions and such.|Generate a temporary, SCOPED name for testing conditions and such. We don't have name tracking yet, so instead we use this.Print out a compiler warning.Pretty print a source location.(Lookup the record for a given type name. Get the fields for a given type.Get the flag used for GHC, this differs between GHC-7.6.0 and GHC-everything-else so we need to specially test for that. It's lame, but that's random flag name changes for you..Run the top level compilation for all modules.%Runs compilation for a single module.4Check if the given language pragmas are all present.if then else for when .'''NoneEFState.Optimize monad.The arity of a function. Arity here is defined to be the number of arguments that can be directly uncurried from a curried lambda abstraction. So x y z -> if x then (a -> a) else (a -> a) has an arity of 3, not 4.9Run an optimizer, which may output additional statements.&Inline x >> y to x;y in the JS output.Flatten a a>>(b>>c) to [a,b,c]. Try to collect nested a>>(b>>c).RPerform any top-level cross-module optimizations and GO DEEP to optimize further.Perform tail-call optimization.6Strip redundant forcing from the whole generated code.8Strip redundant forcing from an application if possible.OApply the given function to the top-level expressions in the given statements.NApply the given function to the top-level expressions in the given statement.9Collect functions and their arity from the whole codeset.Get the arity of an expression.'Change foo(x)(y) to foo$uncurried(x,y)./Rename an uncurried copy of a curried function.NoneMGet all non local identifiers that should be exported in the JS module scope.=Is this *resolved* name a new type constructor or destructor?.Is this *resolved* name a new type destructor?/Is this *resolved* name a new type constructor?>Add a ModulePath to CompileState, meaning it has been printed.'Has this ModulePath been added/printed?+Find the type signature of a top level nameNone-36B None|Generate a temporary, SCOPED name for testing conditions and such. We don't have name tracking yet, so instead we use this.9Generates temporary names where the scope doesn't matter.LDon't call this directly, use withScopedTmpName or unscopedTmpNames instead. None36;Top level, desugar a whole module possibly returning errorsDesugar with the option to specify a prefix for generated names. Useful if you want to provide valid haskell name that HSE can print.(a f ) => b -> a f b (f b) => a -> a f b)Convert do notation into binds and thens.7(,) => x y -> (x,y) (,,) => x y z -> (x,y,z) etc*case { ... } => foo -> case foo of { ... }6if | p -> x | q -> y => case () of _ | p -> x | q -> y(a,) => b -> (a,b)!{a} => {a=a} for R{a} expressions{a} => {a=a} for R{a} patternsDesugar list comprehensions.We only have Enum instance for Int, but GHC hard codes [x..y] syntax to GHC.Base.Enum instead of using our Enum class so we check for obviously incorrect usages and throw an error on them. This can only checks literals, but it helps a bit.;Adds an explicit import Prelude statement when appropriate.For each toplevel FFI pattern binding, search the module for the relevant type declaration; if found, add a type signature to the ffi expression. e.g. foo :: Int foo = ffi "3" becomes foo :: Int foo = ffi "3" :: Inta / b => op a b a + b => (+) a b for expressionsa : b => (:) a b for patterns(a) => a for patterns None2The opposite of Ptr+. Serialize the specified polymorphic type. foo :: Automatic a -> String=Do not serialize the specified type. This is useful for, e.g. &foo :: String -> String foo = ffi "%1"`This would normally serialize and unserialize the string, for no reason, in this case. Instead: foo :: Ptr String -> Ptr String$Will just give an identity function.Values that may be undefined Defined x encodes to x, Undefined decodes to undefined. An undefined property in a record will be removed when encoding.HValues that may be null Nullable x decodes to x, Null decodes to null.Declare a foreign action. The foreign value.Bottom. None 7Compile the given pattern against the given expression."Compile a pattern variable e.g. x.Compile a record field pattern.-Compile a literal value from a pattern match.#Compile as binding in pattern match%Compile a pattern match on a newtype.Compile a pattern application.Compile a pattern list.None 24Print the JS to a flat string. Print the JS to a pretty string.Unqualify a JsName.'Print a constructor name given a QName.Print an unqualified name.<Print a constructor name given a Name. Helper for printCons.bWords reserved in haskell as well are not needed here: case, class, do, else, if, import, in, leteThis is a hack for names generated in the Haskell AST. Should be removed once it's no longer needed.$Encode a Haskell name to JavaScript.3Normalize the given name to JavaScript-valid names.!Print the given printer indented.Output a newline.>Write out a string, updating the current position information.PGenerate a mapping from the Haskell location to the current point in the output. Intercalate monadic action. Concatenate two printables. A printer is a printable. Just write out strings.  Print one of the kinds of names.Print an expression.Print a module path.Print a single statement.Print a list of statements.#Print (and properly encode) a name./Print special constructors (tuples, list, etc.)Print module name.3Print (and properly encode to JS) a qualified name.jPrint literals. These need some special encoding for JS-format literals. Could use the Text.JSON library.            None EKCompile an FFI expression (also used when compiling top level definitions).LWarn about uses of naked x.y which will not play nicely with Google Closure.Make a Fay!JS encoder.A name used for transcoding.?The name used for the forced version of a transcoding variable.!Get arg types of a function type.9Convert a Haskell type to an internal FFI representation.Extract the type.Expand a type application. Generate a user-defined type.!Translate: JS ! Fay."Translate: Fay ! JS.#Make a translator.$DGet a JS-representation of a fundamental type for encoding/decoding.%Get the arity of a type.&7Format the FFI format string with the given arguments.'.Generate n name-typ pairs from the given list.(Generate Fay!JS encoding.)Generate JS!Fay decoding.*Make a JS!Fay decoder.+LThe argument types used in serialization of parametrized user-defined types.,@Get the index of a name from the set of type variables bindings.-.Extract the name from a possibly-kinded tyvar. !"#$%&Source Location.The format string. Arguments. The JS code.'()*+,-%()* !"#$%&'()*+,-None 246Compile Haskell expression..Compile variable./Compile Haskell literal.0Compile simple application.1Helper for compileApp.2Compile a negate application3Compile a let expression.4Compile let declaration.5Compile a list expression.6Compile an if.7Compile case expressions.87Compile the given pattern against the given expression.9Compile a guarded alt.:Compile guards;Compile a lambda.<$Compile [e1..] arithmetic sequences.=&Compile [e1..e3] arithmetic sequences.>'Compile [e1,e2..] arithmetic sequences.?)Compile [e1,e2..e3] arithmetic sequences.@wCompile a record construction with named fields | GHC will warn on uninitialized fields, they will be undefined in JS.ACompile a record update.BMake a Fay list.C5Optimize short literal [e1..e3] arithmetic sequences.D8Optimize short literal [e1,e2..e3] arithmetic sequences.E[Maximum number of elements to allow in strict list representation of arithmetic sequences../0123456789:;<=>?@ABCDE/4:./0123456789:;<=>?@ABCDE None 246FCompile Haskell declaration.Compile a declaration.G!Compile a top-level pattern bind.H(Compile a normal simple pattern binding.IFCompile a data declaration (or a GADT, latter is converted to former).JCCompile a function which pattern matches (causing a case analysis).K%Compile a right-hand-side expression.FLGHIJKFLGHIJKFLGHIJK!NoneM The data-files source directory.N"The default compiler reader value.OThe default compiler state.MNOMNOMNO"NoneP'Call out to GHC to type-check the file.PPP#None EQ$Start the compilation process using  compileModule to compile a file.Compile a moduleR$Compile a module given its file pathS5Lookup a module from include directories and compile.TCompile an import.U<Find an import's filepath and contents from its module name.QRSTUQQRSTU$None VEPreprocess and collect all information needed during code generation.W3Preprocess a module given its filepath and content.XPreprocess from an ASTY PreprocessingFind newtype declarationsZAdd new types to the state[$Add record declarations to the stateVWXYZ[\VVWXYZ[\None  246M >Compile a Haskell source string to a JavaScript source string.!Compile the top-level Fay module.Compile a source string.]-Compile given the location and source string.Compile a parse HSE module.^6For a module A.B, generate | var A = {}; | A.B = {};_ZGenerate exports for non local names, local exports have already been added to the module.`7Generate strict wrappers for the exports of the module.asIs the module a standard module, i.e., one that we'd rather not output code for if we're compiling separate files. ]^_`a ]^_`a None 246 \Compile the given file and write the output to the given path, or if nothing given, stdout.fCompile the given file and write to the output, also generates HTML and sourcemap files if configured.Compile the given file.7Compile a file returning additional generated metadata.Compile a file returning the resulting internal state of the compiler. Don't use this directly, it's only exposed for the test suite.b.Compile the given module to a runnable module.,Convert a Haskell filename to a JS filename.,Print a compile error for human consumption.TGet the JS runtime source. This will return the user supplied runtime if it exists."Get the default JS runtime source. bY !"#$%&'()*+,7,+*)('&%$#"!  bc%&''()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~dj  V  ^  ^ ]  ]  #                !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFG !"#$%&'()*+,-./0123456789:;<=>?DH+IJKILMIJNOPQIRSIRTIRUIVWIXYIXZIJ[IJ\IJ]IL^I_`I_aIbcIdeIdfIdgIdhOijOikI_lIJmIJnIJoIJpIJqIrsIrtIbuIbvIbwIbxIyzIy{I|}I|~I|IdIdOiIIbIbIJIIJI_OiIIbIIbIIIyI|OOOOOOIbOIIJOOIIOOOIyIIVIIIRIIIII|III|I|IIIIyIyIIIIIIIIIIIIIII|I|I|I|I|I|I|I|I|I|I|I|I|I|I|I|I|I|I|I|IrIrIrIrIIIIVIVIVIVIVIVIVIVIVIVIVIIIIIIIIIII I I I I IIIIIIIIIIIIIIIIIII I!I"I#I$I%I&I'I(I)I*I+I,I-I.I/I0I1I2I3I4I5I6I7I8I9I:I;I<I=I>I?I@IAIBCIBDIBEIBFIBGIBHIBIIBJIKILIMINIOIPIQIRISITIUIVIWIXIYIZI[I\I]^I]_I]_I`IaIbIcIdIeIfIgIhIiIjIkIlImInIoIpIqIrIsItIuIvIwIxIyIzI{I|I}I~IIIIIIIbIbIbIbIbIbIbIbIbIbIbIbIbIbIbIbIbIbIdIdIdIdIdIdIIIIIIIIIIyIyIyIyIyIyIyIyIyIyIyIyIyIyIyIyIyIyIyIyIyIyIyIyIyIyIyIRIRIRIRIRIRIRIRIRIRIRIRIRIRIRIRIRIRIRIRIRIRIRIRIRIRIRIRIRIRIRIRIRIRIRIRIRIIIIIIIIIIIXIXI_I_I_I_I_IJIJIJIJIJIJIJIJIIIIIIIIIOi Oi Oi Oi Oi OiOiOiOiOi !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVW XY!"#$%&'()*+,-./0123456789:;<=>Z[\]^_`abcabdefghijklmnopqrstuvwxyz{|}~                            !"#$%&'()*+,-./0123456789 : ; < = > ? @!A!B!C"D#E#F#G#H#I$J$K$L$M$N$O$PQRSTU VW fay-0.20.2.0Fay.Compiler.ParseFay.Types.CompileResult Fay.TypesFay.Compiler.PreludeFay.Types.CompileError Fay.Convert Fay.Config Fay.CompilerFay.Compiler.DesugarFay.FFIFayFay.Compiler.GADTFay.Compiler.QName Paths_fayFay.ExtsFay.Exts.ScopedFay.Types.ModulePathFay.Exts.NoAnnotationFay.Compiler.PrimOp Fay.Types.FFI Fay.Types.JsFay.Compiler.PackagesFay.Compiler.MiscFay.Compiler.OptimizerFay.Compiler.StateFay.Compiler.Desugar.TypesFay.Compiler.Desugar.NameFay.Compiler.PatternFay.Compiler.PrintFay.Compiler.FFIFay.Compiler.ExpFay.Compiler.DeclFay.Compiler.DefaultsFay.Compiler.TypecheckFay.Compiler.ImportFay.Compiler.InitialPassparseFaydefaultExtensions CompileResult resOutput resImportedresSourceMappings ModulePath unModulePath mkModulePath mkModulePathsmkModulePathFromQNameioanyMforreadAllFromProcess CompileErrorUnsupportedWhereInMatchUnsupportedWhereInAltUnsupportedRhsUnsupportedRecursiveDoUnsupportedQualStmtUnsupportedPatternUnsupportedModuleSyntaxUnsupportedLiteralUnsupportedLetBindingUnsupportedLetUnsupportedImportUnsupportedFieldPatternUnsupportedExpressionUnsupportedExportSpecUnsupportedEnumUnsupportedDeclarationUnableResolveQualifiedShouldBeDesugared ParseErrorInvalidDoBlockGHCErrorFfiNeedsTypeSigFfiFormatNoSuchArgFfiFormatInvalidJavaScriptFfiFormatIncompleteArgFfiFormatBadChars EmptyDoBlockCouldn'tFindImportSerializeContextSerializeUserArgSerializeAnywhereFundamentalType UnknownType AutomaticPtrTypeBoolTypeIntType DoubleType StringTypeDateTypeNullableDefined UserDefined TupleTypeListTypeJsType FunctionTypeJsLitJsBool JsFloatingJsIntJsStrJsCharJsName JsModuleName JsBuiltIn JsConstructorJsTmpJsParamJsApplyJsForceJsThunkJsParametrizedTypeJsThis JsNameVarJsExpJsOrJsAnd JsUndefinedJsLitObjJsObjJsInfixJsNeqJsEqJsIndex JsInstanceOf JsThrowExpJsNewJsListJsUpdatePropExternJsGetPropExtern JsUpdatePropJsLookup JsGetPropJsParenJsNull JsTernaryIfJsNegAppJsAppJsFunJsSeqJsRawExpJsStmt JsExpStmtJsBlock JsContinueJsSetPropExternJsSetConstructor JsSetModule JsSetQName JsSetPropJsUpdateJsWhileJsThrow JsEarlyReturnJsIfJsVar showToFay encodeFay readFromFay readFromFay' decodeFayConfigconfigOptimizeconfigFlattenAppsconfigExportRuntimeconfigExportStdlibconfigExportStdlibOnlyconfigPrettyPrintconfigHtmlWrapperconfigSourceMapconfigHtmlJSLibs configLibrary configWarnconfigFilePathconfigTypecheck configWallconfigGClosureconfigPackageConfconfigBasePath configStrictconfigTypecheckOnlyconfigRuntimePathconfigOptimizeNewtypes defaultConfigdefaultConfigWithSandboxconfigDirectoryIncludesconfigDirectoryIncludePaths%nonPackageConfigDirectoryIncludePathsaddConfigDirectoryIncludeaddConfigDirectoryIncludesaddConfigDirectoryIncludePathsconfigPackagesaddConfigPackageaddConfigPackagesshouldExportStrictWrapper PrintableprintJSPrinter runPrinter PrintStatepsPrettypsLinepsColumn psMappings psIndentLevelpsOutput psNewline CompileModuleCompile unCompile CompileReader readerConfigreaderCompileLitreaderCompileDecls CompileWriter writerCons writerFayToJs writerJsToFay CompileStatestateInterfacesstateRecordTypes stateRecords stateNewtypes stateImportedstateNameDepthstateModuleNamestateJsModulePathsstateUseFromString stateTypeSigsdefaultPrintStaterunCompileModuledesugardesugar'desugarPatParendesugarExpParenPtr UndefinedNullffi compileExp compileDecl compileWith compileViaStrcompileToplevelModulecompileModuleFromContentscompileModuleFromAST compileFromTocompileFromToAndGenerateHtml compileFilecompileFileWithResultcompileFileWithStatetoJsNameshowCompileErrorgetConfigRuntime getRuntime convertGADTqModNameunQual changeModuleunname unQualify changeModule' withIdentCPPStateapplyCPP parseModeCPPElseCPPIfNoCPPcatchIOversionbindirlibdirdatadir libexecdir sysconfdir getBinDir getLibDir getDataDir getLibexecDir getSysconfDirgetDataFileNameType TyVarBindStmtSrcLoc SpecialConRhsQualStmt QualConDeclQOpQNamePatFieldPatName ModulePragma ModuleNameModuleMatchLiteral ImportSpec ImportDecl GuardedRhs GuardedAltsGadtDecl FieldUpdate FieldDecl ExportSpecExpExDeclHeadDecl ClassDeclBangTypeAltX moduleName moduleExportsmoduleNameStringmkIdentnoIconvertFieldDeclfieldDeclNames declHeadName srcSpanInfobaseGHC.Base++GHC.Errerrorfoldrghc-primGHC.PrimseqGHC.Listconcatfilterzip System.IOprint Data.Tuplefstsnd otherwisemap$ undefinedGHC.Num fromInteger-GHC.Real fromRationalGHC.EnumenumFrom enumFromThen enumFromToenumFromThenTo GHC.Classes==>=negatefail>>=>>fmapreturn Control.Arrowfirst||| fromIntegral realToFrac toInteger toRational Control.MonadliftMjoinControl.Applicative<*>pure AlternativeBoundedEnumEq GHC.FloatFloating FractionalIntegralMonad Data.DataDataFunctorNumOrdGHC.ReadReadReal RealFloatRealFracGHC.ShowShowData.Typeable.InternalTypeable MonadPlus Applicative GHC.TypesBoolCharDoubleFloatInt integer-gmpGHC.Integer.TypeIntegerOrderingRationalIO Data.EitherEitherStringFalseTrueLeftRightLTEQGTfoldM Data.MonoidmappendreadFile Data.MaybeMaybe Text.ReadreadzipWithGHC.IOFilePathNothingText.ParserCombinators.ReadPReadS Data.List intercalateemptyShowSshow<**> GHC.UnicodeisSpaceisAlphaisDigitmplusmzerogmapMogmapMpgmapMgmapQigmapQgmapQrgmapQlgmapT dataCast2 dataCast1 dataTypeOftoConstrgunfoldgfoldloptionalliftA3liftA2liftA<**>manysome<|>getConstConst unwrapMonad WrapMonad WrappedMonad unwrapArrow WrapArrow WrappedArrow getZipListZipList&&&***second+++ Data.Functionon Data.Functor<$>Prelude$!readIOreadLn appendFile writeFileinteract getContentsgetLinegetCharputStrLnputStrputCharGHC.IO.ExceptionioErrorunwordswordsunlineslinesproductsumfoldl1'foldl1foldl'unfoldrsortBysort permutations subsequencestailsinitsgroupBygroupdeleteFirstsByunzip7unzip6unzip5unzip4zipWith7zipWith6zipWith5zipWith4zip7zip6zip5zip4genericReplicate genericIndexgenericSplitAt genericDrop genericTake genericLength minimumBy maximumByminimummaximuminsertByinsert mapAccumR mapAccumL partition transpose intersperse intersectBy intersectunionByunion\\deleteBynubBynub isInfixOf isSuffixOf isPrefixOf findIndices findIndexfind elemIndices elemIndex stripPrefix dropWhileEnd Data.Char isSeparatorisSymbol isPunctuationisNumberisMarkisLettergeneralCategory digitToInttoTitletoUppertoLower isAsciiUpper isAsciiLower userErrorIOErrorreads<>mconcatmemptyMonoidisRightisLeftpartitionEithersrightsleftseitherData.Ord comparingDown readLitChar lexLitCharlex readParenreadList readsPrecacoshatanhasinhcoshtanhsinhacosatanasincostansinlogBase**logsqrtpiatan2isIEEEisNegativeZeroisDenormalized isInfiniteisNaN scaleFloat significandexponent encodeFloat decodeFloat floatRange floatDigits floatRadixlcmgcd^^^oddevendivModquotRemdivremquotrecip/floorceilingroundtruncateproperFractionmaxBoundminBoundfromEnumtoEnumpredsuccGHC.Charchr intToDigit showLitChar showParen showStringshowCharshowsshowList showsPrecmfilterapliftM5liftM4liftM3liftM2unlesswhen replicateM_ replicateMfoldM_ zipWithM_zipWithM mapAndUnzipMvoidforever<=<>=>msumforM_forMfilterMmapM_mapM sequence_sequence=<<unzip3unzipzipWith3zip3!! concatMaplookupnotElemelemallanyorandreversebreakspansplitAtdroptake dropWhile takeWhilecycle replicaterepeatiteratescanr1scanrfoldr1scanl1scanlfoldllengthnullinitlasttailheadmapMaybe catMaybes listToMaybe maybeToList fromMaybefromJust isNothingisJustmaybeJustuncurrycurrysubtractsignumabs*+asTypeOfuntilflip.constidord<$isAsciiisLatin1 isControlisPrintisUpperisLower isOctDigit isHexDigit isAlphaNum/=compare<=&&||not<>maxmin safe-0.3.8SafefindIndexJustNotefindIndexJustDef findIndexJustelemIndexJustNoteelemIndexJustDef elemIndexJust findJustNote findJustDeffindJustlookupJustNote lookupJustDef lookupJustreadNotereadDefreadMayatNoteatDefatMayat assertNote fromJustNote fromJustDef scanl1Note scanr1Note scanl1Def scanr1Def scanl1May scanr1May foldl1Note' foldl1Note foldr1Note foldl1Def' foldl1Def foldr1Def foldl1May' foldl1May foldr1May maximumByNote minimumByNote maximumByDef minimumByDef maximumByMay minimumByMay maximumNote minimumNote maximumDef minimumDef maximumMay minimumMaylastNoteheadNotelastDefheadDeflastMayheadMayinitSafeinitNoteinitDefinitMaytailSafetailNotetailDeftailMayabort$fIsStringModuleName$fIsStringQName$fIsStringName SrcSpanInfoSrcSpanunAnn fayBuiltin primOpsMap findPrimOp resolvePrimOp$fErrorCompileError$fIsStringJsLit syb-0.4.2Data.Generics.AliasesextQextRparseDataOrTuple parseTuple parseObject makeSimple makeRecord parseFloat parseDoubleparseInt parseBool parseString parseChar parseText parseArray parseUnit GenericParserencodeFayInternal encodeGeneric lookupField parseUTCTimebadData justRight_configDirectoryIncludes_configPackages$fDefaultConfigresolvePackagesresolvePackagedoesSourceDirExistdescribePackagepackageVersion getShareGen$fMonoidCompileWriter liftModuleT$fMonadModuleCompilethunk stmtsThunk uniqueNamestryResolveNameunsafeResolveNamelookupNewtypeConstlookupNewtypeDestqualify qualifyQName bindToplevelforce isConstant parseResultconfigoptimizePatConditionsthrowthrowExp isWildCardAlt isWildCardPatffiExpwithScopedTmpJsNamewithScopedTmpNamewarn printSrcLoc typeToRecs typeToFieldsgetGhcPackageDbFlag runTopCompilehasLanguagePragmasifOptimizeNewtypesorigName2QNamereplaceWithBuiltInsioWarnprintSrcSpanInfo printSrcSpan recToFieldsshouldBeDesugaredhasLanguagePragmaOptStateOptimize FuncArity runOptimizer inlineMonadflattencollectoptimizeTopleveltcostripAndUncurrywalkAndStripForcesapplyToExpsInStmtsapplyToExpsInStmt collectFuncsexpArityuncurryBindingrenameUncurriedoptStmts optUncurry!getNonLocalExportsWithoutNewtypes isNewtype isNewtypeDest isNewtypeCons addModulePathaddedModulePath findTypeSiggetLocalExportsWithoutNewtypesDesugar unDesugar DesugarReaderreaderNameDepth readerNoInforeaderTmpNamePrefix runDesugarunscopedTmpNamestmpNamedesugarSection desugarDodesugarTupleCon desugarLCasedesugarMultiIfdesugarTupleSectiondesugarFieldPundesugarPatFieldPundesugarListComp checkEnumdesugarImplicitPreludedesugarToplevelFFITypeSigsdesugarInfixOphaskell-src-exts-1.15.0.1%Language.Haskell.Exts.Annotated.BuildopdesugarInfixPat desugarStmt'desugarFFITypeSigsdesugarBindsTypeSigsaddFFIExpTypeSigs transformBi universeBi transformBiM compilePat compilePVarcompilePatFields compilePLit compilePAsPatcompileNewtypePat compilePApp compilePList printJSString printJSPrettyident printConsprintConsUnQual printConsName reservedWords encodeName normalizeNameindentednewlinewritemapping intercalateM+>$fPrintablePrinter $fPrintable[]$fPrintableJsName$fPrintableJsExp$fPrintableModulePath$fPrintableJsStmt$fPrintable[]0$fPrintableName$fPrintableSpecialCon$fPrintableModuleName$fPrintableQName$fPrintableJsLit compileFFIExp warnDotUses emitFayToJstranscodingObjtranscodingObjForcedfunctionTypeArgsargTypebangType expandApp userDefinedjsToFayfayToJs translatetypeRep typeArity formatFFI explodeFields fayToJsHash jsToFayHash emitJsToFayargTypesgetIndextyvar compileVar compileLit compileApp compileApp' compileNegApp compileLetcompileLetDecl compileList compileIf compileCase compilePatAltcompileGuardedAlt compileGuards compileLambdacompileEnumFromcompileEnumFromTocompileEnumFromThencompileEnumFromThenTocompileRecConstrcompileRecUpdatemakeList optEnumFromTooptEnumFromThenTomaxStrictASLen compileDeclscompilePatBindcompileUnguardedRhscompileDataDeclcompileFunCase compileRhsmkTyVars faySourceDirdefaultCompileReaderdefaultCompileState typecheck startCompilecompileModuleFromFilecompileModuleFromName compileImport findImport initialPasspreprocessFileWithSource preprocessASTscanNewtypeDeclscompileNewtypeDeclscanRecordDecls scanTypeSigscompileFileWithSourcecreateModulePathgenerateExportsgenerateStrictExportsanStdlibModulecompileToModule