\J      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~       !"#$%&'()*+,-./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"U"V#W$X$Y$Z$[%\%]%^%_%`%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+{+|+}+~++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++,--..........//0000000000000000000000 0 0 0 0 0000000011112222223 3!3"3#4$5%5&6'7(7)7*7+7,7-8.8/8081828394:5;6<7=8=9=:=;=<===>=?>@>A>B>C>D?E?F?G?H?I?J?K?L@MANAOBPBQBRCSDTEUEVFWGXHYHZH[I\J]J^J_J`JaJbJcJdJeJfJgJhJiJjKkKlKmKnKoKpKqKrKsKtKuKvKwKxKyKzK{K|K}K~KKKKKKKKKKKLLLLLLLLLMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNNOOOOO O O O O OOPPPPPQY Safe-Inferred Safe-InferredState for the parser monad*The most recently marked indentation levelNone+23468BgThe type checking monad, which provides the state of the type checker, and error reporting capabilities3A class for errors which support unification errors  State required for type checking #The next fresh unification variable The current substitution MA substitution maintains a mapping from unification variables to their values*Identifies types which support unification.A type which can contain unification variablesUntyped unification variables An empty  UnifyStateRun a computation in the Unify monad, failing with an error, or succeeding with a return value and the new next unification variable(Substitute a single unification variableSReplace a unification variable with the specified value in the current substitution[Perform the occurs check, to make sure a unification variable does not occur inside a value-Generate a fresh untyped unification variable8Generate a fresh unification variable at a specific type  !  !     ! Safe-Inferred+-"UData type for literal values. Parameterised so it can be used for Exprs and Binders.#An object literal$An array literal%A boolean literal&A character literal'A string literal(A numeric literal"#$%&'("#$%&'("('&%$#"('&%$# Safe-Inferred)*+,-./)*+,-./)*+,-./)*+,-./None+M2 Source name3Start of the span5Source position information7 Line number8 Column number 0123456789:;< 0123456789: 56789<01234:;0123456789:;<None+=Fixity data for infix operators?!Associativity for infix operatorsC(A precedence level for an infix operator =>?@ABCDEF=>?@ABC C?BA@FE=>D=>?BA@CDEFR Safe-Inferred  ! !  ! Safe-InferredSGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~SGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~SGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~SGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~  Safe-Inferred !The data type of compiler optionsDisable tail-call elimination>Disable inlining of calls to return and bind for the Eff monad#When specified, checks the type of mainN in the module, and generate a call to run main after the module definitions.Skip all optimizationsVerbose error message)Remove the comments from the generated js)The path to prepend to require statementsDefault make options  None!"+-:A qualified name, i.e. a name with an optional module name Module namesTProper names, i.e. capitalized names for e.g. module names, type//data constructors.Names for value identifiers%A symbolic name for an infix operatorAn alphanumeric identifier7Provide a default module name, if a name is unqualified None4Convert an Ident into a valid Javascript identifier:,Alphanumeric characters are kept unmodified.2Reserved javascript identifiers are prefixed with $$.Symbols are prefixed with "2 followed by a symbol name or their ordinal value.;Test if a string is a valid JS identifier without escaping.kAttempts to find a human-readable name for a symbol, if none has been specified returns the ordinal value.<Checks whether an identifier name is reserved in Javascript.7Checks whether a proper name is reserved in Javascript. None+-Data type for binders/A binder which binds its input to an identifierPA binder which matches a data constructor (type name, constructor name, binders)"A binder which binds an identifier&A binder which matches a literal valueWildcard binder None+-"An alternative in a case statement6A collection of binders with which to match the inputs9The result expression or a collect of guarded expressionsSA guard is just a boolean-valued expression that appears alongside a set of bindersA let or module binding.3Mutually recursive binding group for several values(Non-recursive binding for a single value#Data type for expressions and terms A let bindingA case expressionVariableFunction applicationFunction introductionPartial record updateA record property accessor=A data constructor (type name, constructor name, field names)A literal value"Extract the annotation from a termModify the annotation on a term NoneNone+Data constructor metadata7The constructor is for a type with multiple construcors6The constructor is for a type with a single construcorMetadata annotations/The contained reference is for a foreign member9The contained value is a typeclass dictionary constructor The contained value is a newtype)The contained value is a data constructorNone+The data type of kindsFunction kinds5Kinds for labelled, unordered rows without duplicatesThe kind of effectsThe kind of types!Unification variable of type Kind None+BA typeclass constraintThe type of types%A placeholder used in pretty printing%A placeholder used in pretty printing%A placeholder used in pretty printingA type with a kind annotationA non-empty row An empty rowA skolem constant+A type with a set of type class constraintsForall quantifier7A type synonym which is "saturated", i.e. fully appliedA type applicationA type constructor:A type wildcard, as would appear in a partial type synonymA named type variable#A unification variable of type Type0An identifier for the scope of a skolem variable4Convert a row to a list of pairs of labels and types+Convert a list of labels and types to a row"Check whether a type is a monotypeUniversally quantify a type?Replace a type variable, taking into account variable shadowing'Replace named type variables with types.Collect all type variables appearing in a type3Collect all free type variables appearing in a type EUniversally quantify over all type variables appearing free in a type 5Move all universal quantifiers to the front of a type "Check if a type contains wildcards%     $     &          None+A simplified representation of expressions which are used to represent type class dictionaries at runtime, which can be compared for equalityA subclass dictionary0A dictionary which depends on other dictionariesCA dictionary which is brought into scope by an instance declaration>A dictionary which is brought into scope by a local constraint#The type of a type class dictionaryXA type class dictionary which is an alias for an imported dictionary from another moduleA regular type class dictionary;Data representing a type class dictionary which is in scopeCThe identifier with which the dictionary can be accessed at runtimeDThe name of the type class to which this type class instance applies3The types to which this type class instance appliesLType class dependencies which must be satisfied to construct this dictionary The type of this dictionary!(Is this instance exported by its module?"MFind the original dictionary which a type class dictionary in scope refers to !" !" !" !"None+(# The type ('data' or  'newtype') of a data type declaration$A newtype constructor%A standard data constructor&The kinds of a type'A scoped type variable(A local type variable) Foreign data* Type synonym+ Data type,A flag for whether a name is for an private or public value - only public values will be included in a generated externs file.-.A name for member introduced by foreign import.@A public value for a module member or foreing import declaration/mA private value introduced as an artifact of code generation (class instances, class member accessors, etc.)0!The visibility of a name in scope1_The name is defined in the another binding group, or has been made visible by a function binder2DThe name is defined in the current binding group, but is not visible3The  Environment; defines all values and types which are currently in scope:5Value names currently in scope6Type names currently in scope7XData constructors currently in scope, along with their associated data type constructors8 Type synonyms currently in scope9!Available type class dictionaries: Type classes;TThe initial environment with no values and only the default javascript types defined<)Construct a ProperName in the Prim module=#Construct a type in the Prim module>Type constructor for functions?Type constructor for strings@Type constructor for stringsAType constructor for numbersBType constructor for integersCType constructor for booleansDType constructor for arraysEType constructor for objectsF!Check whether a type is an objectG$Smart constructor for function typesHWThe primitive types in the external javascript environment with their associated kinds.IGFinds information about data constructors from the current environment.J3Checks whether a data constructor is for a newtype.K<Finds information about values from the current environment.,#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMN)#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJK,3456789:;021,/.-&+*)('#%$NML<=>?@ABCDEFGHIJK#%$&+*)(',/.-0213456789:;<=>?@ABCDEFGHIJKLMN Safe-Inferred+OPQOPQOQPOQPNone+ RData type for bindersS)A binder with source position informationT/A binder which binds its input to an identifierU6A binder which matches an array and binds its elementsV8A binder which matches a record and binds its propertiesW)A binder which matches a data constructorX"A binder which binds an identifierY(A binder which matches a numeric literalZ*A binder which matches a character literal['A binder which matches a string literal\(A binder which matches a boolean literal]Wildcard binder^8Collect all names introduced in binders in an expression RSTUVWXYZ[\]^ RSTUVWXYZ[\]^ R]\[ZYXWVUTS^R ]\[ZYXWVUTS^None+MM_"A statement in a do-notation block`6A do notation element with source position informationa0A let statement, i.e. a pure value with a binderbA monadic value with a binderc A monadic value without a binderd"An alternative in a case statementf6A collection of binders with which to match the inputsg9The result expression or a collect of guarded expressionsh#Data type for expressions and termsi(A value with source position informationjeA placeholder for a superclass dictionary to be turned into a TypeClassDictionary during typecheckingk`A typeclass dictionary accessor, the implementation is left unspecified until CoreFn desugaring.lA placeholder for a type class dictionary to be inserted later. At the end of type checking, these placeholders will be replaced with actual expressions representing type classes dictionaries which can be evaluated at runtime. The constructor arguments represent (in order): whether or not to look at superclass implementations when searching for a dictionary, the type class name and instance type, and the type class dictionaries in scope.m\An application of a typeclass dictionary constructor. The value should be an ObjectLiteral.nA do-notation blocko A let bindingpA value with a type annotationqA case expression. During the case expansion phase of desugaring, top-level binders will get desugared into case expressions, hence the need for guards and multiple binders per branch here.rA data constructors%Conditional (if-then-else expression)tVariableuFunction applicationvFunction introductionwyPartial record updater. This will be removed during desugaring and expanded into a lambda that returns an object update.xPartial record updatey&An record property accessor expressionz An object property getter (e.g. `_.x`k). This will be removed during desugaring and expanded into a lambda that reads a property from an object.{An object constructor (object literal with underscores). This will be removed during desugaring and expanded into a lambda that returns an object literal.|An object literal}An array literal~Operator section. This will be removed during desugaring and replaced with a partially applied operator or lambda to flip the arguments.jExplicit parentheses. During the rebracketing phase of desugaring, this data constructor will be removed.qBinary operator application. During the rebracketing phase of desugaring, this data constructor will be removed.A prefix -, will be desugaredA boolean literalA character literalA string literalA numeric literalSA guard is just a boolean-valued expression that appears alongside a set of bindersThe data type of declarations.A declaration with source position informationbA type instance declaration (name, dependencies, class name, instance types, member declarations)GA type class declaration (name, argument, implies, member declarations)'A module import (module name, qualified unqualified%hiding, optional "qualified as" name)1A fixity declaration (fixity data, operator name)$A type class instance foreign import'A data type foreign import (name, kind))A foreign import declaration (name, type)6A minimal mutually recursive set of value declarationsDA value declaration (name, top-level binders, optional guard, value))A type declaration for a value (name, ty)2A type synonym declaration (name, arguments, type):A minimal mutually recursive set of data type declarationsMA data type declaration (data or newtype, name, arguments, data constructors)8The data type which specifies type of import declarationDAn import with a list of references to hide: `import M hiding (foo)`IAn import with an explicit list of references to import: `import M (foo)`+An import with no explicit list: `import M`0An item in a list of explicit imports or exports8A declaration reference with source position informationA module, in its entirety]A type class instance, created during typeclass desugaring (name, class name, instance types) A type classA value)A type constructor with data constructorsA module declaration, consisting of comments about the module, a module name, a list of declarations, and a list of the declarations that are explicitly exported. If the export list is Nothing, everything is exported.Return a module's name.,Test if a declaration is a value declaration@Test if a declaration is a data type or type synonym declaration(Test if a declaration is a module import3Test if a declaration is a data type foreign import=Test if a declaration is a type class instance foreign import-Test if a declaration is a fixity declaration)Test if a declaration is a foreign import:Test if a declaration is a type class instance declaration1Test if a declaration is a type class declarationCRecursively flatten data binding groups in the list of declarationsP_`abcdefghijklmnopqrstuvwxyz{|}~O_`abcdefghijklmnopqrstuvwxyz{|}~Ph~}|{zyxwvutsrqponmlkjidefg_cba`_cba`defgh~}|{zyxwvutsrqponmlkjiNoneNoneReturn a list of all declarations which are exported from a module. This function descends into data declarations to filter out unexported data constructors, and also filters out type instance declarations if they refer to classes or types which are not themselves exported.]Note that this function assumes that the module has already had its imports desugared using 4S. It will produce incorrect results if this is not the case - for example, type class instances will be incorrectly removed in some cases.#Filter out all data constructors from a declaration which are not exported. If the supplied declaration is not a data declaration, this function returns it unchanged.$Filter out all the type instances from a list of declarations which reference a type or type class which is both local and not exported.Note that this function assumes that the module has already had its imports desugared using "Language.PureScript.Sugar.Names.desugarImports". It will produce incorrect results if this is not the case - for example, type class instances will be incorrectly removed in some cases.%LGet all type and type class names referenced by a type instance declaration.Test if a declaration is exported, given a module's export list. Note that this function does not account for type instance declarations of non-exported types, or non-exported data constructors. Therefore, you should prefer " to this function, where possible.&_Test if a data constructor for a given type is exported, given a module's export list. Prefer " to this function, where possible.#$%&#$%& Safe-Inferred+8/Data type for simplified Javascript expressionsCommented JavascriptVRaw Javascript (generated when parsing fails for an inline foreign import declaration)Continue statementBreak statementLabelled statementInstanceOf testType-Of operatorThrow statementReturn statementIf-then-else statement ForIn loopFor loop While loopA variable assignment3A variable introduction and optional initialization A block of expressions in bracesConditional expressionVariableFunction application8A function introduction (optional name, arguments, body)&An object property accessor expressionAn object literalAn array indexer expressionAn array literalA binary operator applicationA unary operator applicationA boolean literalA string literalA numeric literalBuilt-in binary operators"Bitwise right shift with zero-fillBitwise right shiftBitwise left shift Bitwise xor Bitwise or Bitwise and Boolean or Boolean andNumeric greater-than-or-equalNumeric greater-thanNumeric less-than-or-equalNumeric less-thanGeneric inequality testGeneric equality test RemainderNumeric divisionNumeric multiplicationNumeric subtractionNumeric additionBuilt-in unary operators ConstructorNumeric unary 'plus'Bitwise negationBoolean negationNumeric negation<<< Safe-Inferred     Safe-InferredEliminate tail calls''None(CInline type class dictionaries for >>= and return for the Eff monadE.g.;Prelude[">>="](dict)(m1)(function(x) { return ...; })becomes-function __do { var x = m1(); ... })!Inline functions in the ST module()() Safe-Inferred Safe-Inferred@Collapse blocks which appear nested directly below another blockNone Type alias for basic annotations#Initial annotation with no metadata&Remove the comments from an annotation None                       ! Safe-InferredE*CWe use Text.Parsec.Token to implement the string and number lexemes+/A token parser based on the language definition41Parse zero or more values separated by semicolons50Parse one or more values separated by semicolons6-Parse zero or more values separated by commas7,Parse one or more values separated by commasE)A list of purescript reserved identifiersG+The characters allowed for use in operators^,-./0123456789:;<=>?@ABCDEFGHIJKLM*+ !"#$%&'()*+,-./0123456789:;<=>?@ABCDNEFGO8 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFG8 !"#$%&'()*+,-./0123456789;=<:>?D@ABCEFG>GFEDCBA@?>=<;:9876543210/.-,HIJKLM*+ !"#$%&'()*+,-./0123456789:;<=>?@ABCDNEFGO"None3 JParse a module nameK0Parse a qualified name, i.e. M.name or just nameL-Parse an identifier or parenthesized operatorMnRun the first parser, then match the second if possible, applying the specified function on a successful matchNnRun the first parser, then match the second zero or more times, applying the specified function for each matchOPBuild a parser from a smaller parser and a list of parsers for postfix operatorsP"Mark the current indentation levelQ;Check that the current identation level matches a predicateRACheck that the current indentation level is past the current markSWCheck that the current indentation level is at the same indentation as the current markT?Read the comments from the the next token, without consuming itU Run a parserHIJKLMNOPQRSTUHIJKLMNOPQRSTUHIJKLMNOPQRSTUHIJKLMNOPQRSTU#NoneV Parse a kindPQRVVVPQRV$NoneW5Parse a type as it appears in e.g. a data constructorXParse a monotypeYParse a polytypeZ&Parse an atomic type with no wildcardsSTUVWXYZW[\XYZ]^_WXYZXYZWSTUVWXYZW[\XYZ]^_% Safe-Inferred^Wrap a string in parentheses_)Number of characters per identation level`)Pretty print with a new indentation levela!Get the current indentation levelbPrint many linesc.Prints an object key, escaping reserved names. [\]^_`abc [\]^_`abc ^[\]_`abc[\]^_`abc&Noned4Generate a pretty-printed string representing a Kind`abddd`abd'Nonee3Generate a pretty-printed string representing a Rowf\Generate a pretty-printed string representing a Type, as it should appear inside parenthesesg4Generate a pretty-printed string representing a Type cedefghijfgefggfe cedefghijfg(NonekEGenerate a pretty-printed string representing a Javascript expressionhrGenerate a pretty-printed string representing a collection of Javascript expressions at the same indentation levellPGenerate an indented, pretty-printed string representing a Javascript expressionmnopqrstuvwxyzkhlhhmnopqrstuvwxyzkhlTNonew0123456789:=>?@ABCRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~)Nonei;Generate a pretty-printed string representing an expressionj6Generate a pretty-printed string representing a Binder{|}~ijijij{|}~ijUNonedefghij*Nonek9Generate foreign imports for all declarations in a modulekkkk+None36BlLA map from rigid type variable name/unknown variable pairs to new variables.mQThe various types of things which might need to be relabelled in errors messages.pA stack trace for an errorsWrapper of simpler errorsA type of error messages.Get the error code for a particular error type5Check whether a collection of errors is empty or not.6Create an error set from a single simple error message/Create an error set from a single error message?Lift a function on ErrorMessage to a function on MultipleErrors1Extract nested error messages from wrapper errors5Pretty print a single error, simplifying if necessaryPretty print multiple errorsPretty print multiple warningsPInterpret multiple errors and warnings in a monad supporting errors and warningsJRethrow an error with a more detailed error message in the case of failure1Rethrow an error with source position informationCollect errors in in parallelxlmnopqrstuvwxyz{|}~tlmnopqrstuvwxyz{|}~xs~}|{zyxwvutpqrmonllmonpqrs~}|{zyxwvutG,None3BMTLint the PureScript AST. | | Right now, this pass only performs a shadowing check.-None3)A list of modules with their dependencies:Sort a collection of modules based on module dependencies.6Reports an error if the module graph contains a cycle.NCalculate a list of used modules based on explicit imports and qualified namesFConvert a strongly connected component of the module graph to a module.None3EM  Read source position informationParse a single declaration6Parse a module header and a collection of declarationsParse a collection of modulesParse a collection of modules/Parse an expression in backticks or an operator Parse a valueParse a binder<Parse a binder as it would appear in a top level declaration Parse a guard@  @/None3VNoneZ !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ0None !"2346BHMgThe type checking monad, which provides the state of the type checker, and error reporting capabilities!State required for type checking: The current  Environment(The next fresh unification variable name#The next type class dictionary nameThe current module0Temporarily bind a collection of names to values/Temporarily bind a collection of names to types/Temporarily bind a collection of names to typesBTemporarily make a collection of type class dictionaries available:Get the currently available map of type class dictionaries+Lookup type class dictionaries in a module.9Temporarily bind a collection of names to local variables>Temporarily bind a collection of names to local type variables-Update the visibility of all names to DefinedQUpdate the visibility of all names to Defined in the scope of the provided action6Perform an action while preserving the names from the  Environment.*Lookup the type of a value by name in the  Environment0Lookup the visibility of a value by name in the  Environment Assert that a name is visible )Lookup the kind of a type by name in the  Environment Get the current  Environment  Update the  Environment  Modify the  Environment=Run a computation in the Check monad, starting with an empty  EnvironmentmRun a computation in the Check monad, failing with an error, or succeeding with a return value and the final  Environment.0Make an assertion, failing with an error message'Generate new type class dictionary nameLift a computation in the Check# monad into the substitution monad.bRun a computation in the substitution monad, generating a return value and the final substitution.|Run a computation in the substitution monad, generating a return value, the final substitution and updating warnings values."     "     "          1None246EInfer the kind of a single typeQInfer the kind of a single type, returning the kinds of any scoped type variablestInfer the kind of a type constructor with a collection of arguments and a collection of associated data constructorsNSimultaneously infer the kinds of several mutually recursive type constructors^Solve the set of kind constraints associated with the data constructors for a type constructor3Default all unknown kinds to the Star kind of typesInfer a kind for a type  2None!"36,Build a type substitution for a type synonym#Replace all type synonyms with the SaturatedTypeSynonym data constructor "Desaturate" SaturatedTypeSynonyms-Replace fully applied type synonyms with the SaturatedTypeSynonymR data constructor, which helps generate better error messages during unification.>Replace a type synonym and its arguments with the aliased type3None3SReplace all sets of mutually-recursive declarations in a module with binding groups BCollapse all binding groups in a module to individual declarations"6Collapse all binding groups to individual declarationsoConvert a group of mutually-recursive dependencies into a BindingGroupDeclaration (or simple ValueDeclaration). !" !"!"  !"4None3FM]An imported environment for a particular module. This also contains the module's own members.HLocal names for types within a module mapped to to their qualified namesTLocal names for data constructors within a module mapped to to their qualified namesJLocal names for classes within a module mapped to to their qualified namesILocal names for values within a module mapped to to their qualified names(The exported declarations from a module.#The types exported from each module%The classes exported from each module$The values exported from each module%The modules exported from each moduleMThe global export environment - every declaration exported from every module.Updates the exports for a module from the global environment. If the module was not previously present in the global environment, it is created.-Adds an empty module to an ExportEnvironment.<Adds a type belonging to a module to the export environment.'Adds a class to the export environment.'Adds a class to the export environment.eAdds an entry to a list of exports unless it is already present, in which case an error is returned.#FReplaces all local names with qualified names within a set of modules.Make all exports for a module explicit. This may still effect modules that have an exports list, as it will also make all data constructor exports explicit.Add `import X ()` for any modules where there are only fully qualified references to members. This ensures transitive instances are included when using a member from a module.vReplaces all local names with qualified names within a module and checks that all existing qualified names are valid.4Finds all exported declarations in a set of modules.mFilters the exports for a module to ensure only explicit exports are kept in the global exports environment.|Finds the imports within a module, mapping the imported module name to an optional set of explicitly imported declarations.,Constructs a local environment for a module.TExtends the local environment for a module by resolving an import of another module.IRaises an error for when there is more than one definition for something.####5None3$IReplace all top level type declarations in a module with type annotations%=Replace all top level type declarations with type annotations$%$%%$$%6None&+Ensure rows do not contain duplicate labels&&&&7None'Generate a new skolem constant(5Introduce skolem scope at every occurence of a ForAll)Generate a new skolem scope*PSkolemize a type variable by replacing its instances with fresh skolem constants+This function has one purpose - to skolemize type variables appearing in a SuperClassDictionary placeholder. These type variables are somewhat unique since they are the only example of scoped type variables.,1Ensure skolem variables do not escape their scope'()*+,'()*+,'()*+,'()*+,8None2346-2Unify two types, updating the current substitution.1Unify two rows, updating the current substitutionCommon labels are first identified, and unified. Remaining labels and types are unified with a trailing row unification variable, if appropriate, otherwise leftover labels result in a unification error./Check that two types unify0>Replace a single type variable with a new unification variable1$Replace type wildcards with unknowns2JReplace outermost unsolved unification variables with named type variables-./012-./012-./012-./0129NoneB3Check that the current set of type class dictionaries entail the specified type class goal, and, if so, return a type class dictionary reference.Check whether the type heads of two types are equal (for the purposes of type class dictionary lookup), and return a substitution from type variables to types which makes the type heads unify.5Check all values in a list pairwise match a predicate3333:None4\Check whether one type subsumes another, rethrowing errors to provide a better error message'Check whether one type subsumes another4444;None365Infer the types of multiple mutually-recursive values, and return elaborated values including type class dictionaries and type annotations.+Check if a value contains a type annotation=Map a function over type annotations appearing inside a valuePReplace type class dictionary placeholders with inferred type class dictionaries9Check the kind of a type, failing if it is not of kind *.yRemove any ForAlls and ConstrainedType constructors in a type by introducing new unknowns or TypeClassDictionary values.iThis is necessary during type checking to avoid unifying a polymorphic type with a unification variable.UInfer a type for a value, rethrowing any error to provide a more useful error messageInfer a type for a value>Infer the type of a property inside a record with a given type;Infer the types of variables brought into scope by a binderLCheck the types of the return values in a set of binders in a case statementNCheck the type of a value, rethrowing errors to provide a better error messageCheck the type of a value5Check the type of a collection of named record fieldsThe laxt parameter controls whether or not every record member has to be provided. For object updates, this is not the case.]Check the type of a function application, rethrowing errors to provide a better error message(Check the type of a function applicationsCompute the meet of two types, i.e. the most general type which both types subsume. TODO: handle constrained types JEnsure a set of property names and value does not contain duplicate labels  5   55  5   <None244Check that type synonyms are fully-applied in a type'Type check all declarations in a moduleWAt this point, many declarations will have been desugared, but it is still necessary to)Kind-check all types and add them to the  Environment*Type-check all values and add them to the  Environment%Bring type class instances into scopeProcess module imports6Type check an entire module and ensure all types and classes defined within the module that are required by exported members are also exported. 6.     566 6=NoneB789:;<=>789:;<=>89:;<7=>789:;<=>>None6?@ABC?@A?@CBA?@ABC?NoneDEFGHIJK !"#$%&'()*+,-./0DEFGHIJKGHIJKDEFDEFGHIJK !"#$%&'()*+,-./0@None3L@Apply a series of optimizer passes to simplified Javascript codeL12LLL12ANone3MM@Replace all top-level binders in a module with case expressions.N4Replace all top-level binders with case expressions.3M4N5678MNNM3M4N5678BNone3OAdd type synonym declarations for type class dictionary types, and value declarations for type class instance dictionary expressions. 9:O;<=>?@APQOPQOPQ 9:O;<=>?@APQCNoneR4Desugars a module from AST to CoreFn representation.BFind module names from qualified references to values. This is used to ensure instances are imported from any module that is referenced by the current module, not just from those that are imported explicitly (#667).C?Desugars import declarations from AST to CoreFn representation.D@Desugars foreign declarations from AST to CoreFn representation.EDesugars export declarations references from AST to CoreFn representation. CoreFn modules only export values, so all data constructors, class constructor, instances and values are flattened into one list.FMakes a typeclass dictionary constructor function. The returned expression is a function that accepts the superclass instances and member implementations and returns a record for the instance dictionary.G"Converts a ProperName to an Ident.RBCDEFGRRRBCDEFGWNone8"#$%&'(     RDNone3MH$The state object used in this moduleIDA map from names bound (in the input) to their names (in the output)JDThe set of names which have been used and are in scope in the outputKCRuns renaming starting with a list of idents for the initial scope.LbCreates a new renaming scope using the current as a basis. Used to backtrack when leaving an Abs.MqAdds a new scope entry for an ident. If the ident is already present, a new unique name is generated and stored.N'Finds the new name to use for an ident.O(Finds idents introduced by declarations.S,Renames within each declaration in a module.PPRenames within a declaration. isTopLevel is used to determine whether the declaration is a module member or appearing within a Let. At the top level declarations are not renamed or added to the scope (they should already have been added), whereas in a Let declarations are renamed if their name shadows another in the current scope.QRenames within a value.RRenames within literals.S!Renames within case alternatives.TRenames within binders.UHVIJWKLMNOSPQRSTSSUHVIJWKLMNOSPQRSTENone !"3MTiGenerate code in the simplified Javascript intermediate representation for all declarations in a module.TUDTUTUTUXNoneEkTUFNone3MV Replace all DoNotationBind and DoNotationValueG constructors with applications of the Prelude.bind function, and all  DoNotationLet# constructors with let expressions.VXVVVXGNone3MWWWWHNone3HMXDRemove explicit parentheses and reorder binary operator applicationsYXYZ[\]^_`abcdeZXYZXYZYXYZ[\]^_`abcdeZINone3[,The desugaring pipeline proceeds as follows: $Remove signed literals in favour of f applications3Desugar object literals with wildcards into lambdasDesugar operator sectionsDesugar do-notation using the  Prelude.Monad type classBDesugar top-level case declarations into explicit case expressionsPDesugar type declarations into value declarations with explicit type annotations'Qualify any unqualified names and types'Rebracket user-defined binary operators3Introduce type synonyms for type class dictionariesIGroup mutually recursive value and data declarations into binding groups.[ !"#$%MNOPQVWXYZ[[[JNone(3M \#Determines when to rebuild a module]Always rebuild this module^Never rebuild this module_'A value to be used in the Supply monad.`#Generated code for an externs file.aAActions that require implementations when running in "make" mode.cGet the timestamp for the input file(s) for a module. If there are multiple files (.purs and foreign files, for example) the timestamp should be for the most recently modified file.dGet the timestamp for the output files for a module. This should be the timestamp for the oldest modified file, or Nothing if any of the required output files are missing.e]Read the externs file for a module as a string and also return the actual path for the file.fJRun the code generator for the module and write any required output files.gRespond to a progress update.h[Compiles in "make" mode, compiling each module separately to a js files and an externs fileIf timestamps have not changed, the externs file can be used to provide the module's types without having to typecheck the module again.gSAdd an import declaration for a module if it does not already explicitly import it.\]^_`abcdefghhgii0123456789:=>?@ABC     #$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZdefghijlmnopqrstuvwxyz{|}~      !"#$%56789:;<=>MNOPQSVWXYZ[\]^_`abcdefghi\^]abcdefg_`hi \^]_`abcdefghhgiiKNoneBjA type representing a highly simplified version of PureScript code, intended for use in output formats like plain text or HTML.kThis type is isomorphic to j G. It makes code a bit easier to read, as the meaning is more explicit.nA single element in a rendered code fragment. The intention is to support multiple output formats. For example, plain text, or highlighted HTML.w Convert a j  to a k!, using the obvious isomorphism.x Convert a k to a j !, using the obvious isomorphism.y A version of  fromMaybe for k values.{%This function allows conversion of a j value into a value of some other type (for example, plain text, or HTML). The first argument is a function specifying how each individual n should be rendered.|A j fragment representing a space.$jklklmnopqrstuvwxyz{|}~mnojklmnopqrstuvwxyz{|}~ntsrqpoukmlvxwyjz{|}~jklkmlntsrqpouvwxyz{|}~mnoLNoneRender code representing a RowRender code representing a KindGRender code representing a Type, as it should appear inside parenthesesRender code representing a Typepqrstuvwxyz{|}~  pqrstuvwxyz{|}~YNone(jklmnopqrstuvwxyz{|}~MNoneEHM A type class member, with its type. Note that the type does not include the type class constraint; this may be added manually if desired. For example, pure from  Applicative would be `forall a. a -> f a`.,A data constructor, with its type arguments.@A type instance declaration, with its dependencies and its type.A value of this type contains information that is specific to a particular kind of declaration (as opposed to information which exists in all kinds of declarations, which goes into the  type directly).Many of the constructors are very similar to their equivalents in the real PureScript AST, except that they have their name elided, since this is already available via the rdTitle field of .yA type class, with its type arguments and its superclasses. Instances and members are represented as child declarations.5A type synonym, with its type arguments and its type.*A data type foreign import, with its kind.A data/newtype declaration, with the kind of declaration (data or newtype) and its type arguments. Constructors are represented as child declarations.#A value declaration, with its type.Given a function for turning association list keys into JSON object keys, and a function for turning association list values to JSON string values, turns an association list into a JSON object.For example: *assocListToJSON T.pack T.pack [("a", "b")] will give  {"a": "b"}.ppjklmnopqrstuvzpA NNone EESome data which will be used to augment a Declaration in the output.oThe AugmentChild constructor allows us to move all children under their respective parents. It is only necessary for type instance declarations, since they appear at the top level in the AST, and since they might need to appear as children in two places (for example, if a data type defined in a module is an instance of a type class also defined in that module).qThe AugmentFixity constructor allows us to augment operator definitions with their associativity and precedence.OThe data type for an intermediate stage which we go through during converting.In the first pass, we take all top level declarations in the module, and collect other information which will later be used to augment the top level declarations. These two situation correspond to the Right and Left constructors, respectively.In the second pass, we go over all of the Left values and augment the relevant declarations, leaving only the augmented Right values.uNote that in the Left case, we provide a [String] as well as augment information. The [String] value should be a list of titles of declarations that the augmentation should apply to. For example, for a type instance declaration, that would be any types or type classes mentioned in the instance. For a fixity declaration, it would be just the relevant operator's name.Convert a single Module.Augment top-level declarations; the second pass. See the comments under the type synonym IntermediateDeclaration for more information.`Add the default operator fixity for operators which do not have associated fixity declarations.UTODO: This may no longer be necessary after issue 806 is resolved, hopefully in 0.8.!Create a basic Declaration value.Go through a PureScript module and extract a list of Bookmarks; references to data types or values, to be used as a kind of index. These are used for generating links in the HTML documentation, for example. ONone                        PNoneE<Specifies whether a PureScript source file is considered as: 1) with the d constructor, a target source file, i.e., we want to see its modules in the output 2) with the  constructor, a dependencies source file, i.e. we do not want its modules in the output; it is there to enable desugaring, and to ensure that links between modules are constructed correctly.Given:A list of local source filesZA list of source files from external dependencies, together with their package namesGA callback, taking a list of bookmarks, and a list of desugared modules!This function does the following:2Parse all of the input and dependency source files.Partially desugar all of the resulting modules>Collect a list of bookmarks from the whole set of source files]Collect a list of desugared modules from just the input source files (not dependencies)?Call the callback with the bookmarks and desugared module list. ZNonejklmnopqrstuvwxyz{|}~     QNonecTake a list of modules and render them all in order, returning a single Markdown-formatted String.[\\]^^_`abbcdeefghijklmnopqrstuvwxyz{|}~                                              ! " y # $ %&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKKLMNOPQRSTUVWXYZ[\]^_`abcdeffghijklmnopqrstuvwxyz{|}~~ " !z{|}~&'      !"#$%&'()*+,-./01234 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![!\!]!^!_!`!a!b!c!d!e!f!g!h!i!j!k!l!m!n!o!p!q!r"s"t"7"u"v"w"x"y"z"{"|"}"~"#$$$$%%%O%H%%%%%&'''())*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ , - - . .........//0000000000 0!0"0#0$0%0&0'0(0)0*0+0,0-0.0/000102030405060708191:1;1<2=2>2?2@2A2B3C3D3E3F4S5G5H6I7J7K7L7M7N7O8P8Q8R8S8T8U9V:W;X<Y=Z=[=[=\=]=^=_=`>a>u>b>c>d?e?f?g?h?i?j?k?l@mAnAoBpBqBrCsDtEuEvFwGxHyHzH{I|J}J~JJJJJJJJJJJJKKKKKKKK0KKKKKKKKKKKKKKKKKKKKKKKLLLLLLLLLMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM M M M M MMMNNOOOOOOOOOOOPPP P!P"Q#R$RR%R&R'R(R)R*R+R,R-R.R/012345678!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![!\#]#^#$_$`$a$b$c$d$e$f$g$h$i$j$k&l&m&n'l''o'p'q'r's't(u(v(w(x(y(z({(|(}(~(((((()w))))))z))})|)))))--....................................................../11111112233333333334444444444444444444444444444889999:;;;;;;;;;;;;;;;;; ; ; ; ; ;;;<<<<<<<<<<<?????????????????????@@A A!A"A#A$A%B&B'B(B)B*B+B,BB-C.C/C0C1C2C3D4D5D6D7D8D9D:D;D<D=D>D?D@DAD4DBFCHDHEHFHGHHHIHJHKHDHHLHMHN0OJPJQJR0STKUKVKWKXKYLlLZL[L\LLoLpLrLsLtLqL]L^L_L`NaNbNcNdNeNfNgNhNiNjNkNlPmPnPPPRP|PoPpPqPrQsQtQuQtQvQwQxQyQzQ{Q|Q}Q~QQQpurescript-0.7.0.0+Language.PureScript.Docs.Utils.MonoidExtras Language.PureScript.Parser.StateControl.Monad.Unify#Language.PureScript.CoreFn.LiteralsLanguage.PureScript.Traversals!Language.PureScript.AST.SourcePos!Language.PureScript.AST.OperatorsLanguage.PureScript.ConstantsLanguage.PureScript.OptionsLanguage.PureScript.Names%Language.PureScript.CodeGen.JS.Common"Language.PureScript.CoreFn.BindersLanguage.PureScript.CoreFn.Expr%Language.PureScript.CoreFn.TraversalsLanguage.PureScript.CoreFn.MetaLanguage.PureScript.KindsLanguage.PureScript.Types)Language.PureScript.TypeClassDictionariesLanguage.PureScript.EnvironmentLanguage.PureScript.CommentsLanguage.PureScript.AST.Binders$Language.PureScript.AST.Declarations"Language.PureScript.AST.Traversals Language.PureScript.AST.Exported"Language.PureScript.CodeGen.JS.AST/Language.PureScript.CodeGen.JS.Optimizer.Common,Language.PureScript.CodeGen.JS.Optimizer.TCO0Language.PureScript.CodeGen.JS.Optimizer.MagicDo/Language.PureScript.CodeGen.JS.Optimizer.Unused/Language.PureScript.CodeGen.JS.Optimizer.BlocksLanguage.PureScript.CoreFn.Ann!Language.PureScript.CoreFn.Module Language.PureScript.Parser.Lexer!Language.PureScript.Parser.Common Language.PureScript.Parser.Kinds Language.PureScript.Parser.Types!Language.PureScript.Pretty.Common Language.PureScript.Pretty.Kinds Language.PureScript.Pretty.TypesLanguage.PureScript.Pretty.JS!Language.PureScript.Pretty.Values#Language.PureScript.CodeGen.ExternsLanguage.PureScript.ErrorsLanguage.PureScript.Linter&Language.PureScript.ModuleDependencies'Language.PureScript.Parser.DeclarationsLanguage.PureScript.Parser.JS%Language.PureScript.TypeChecker.Monad%Language.PureScript.TypeChecker.Kinds(Language.PureScript.TypeChecker.Synonyms'Language.PureScript.Sugar.BindingGroupsLanguage.PureScript.Sugar.Names*Language.PureScript.Sugar.TypeDeclarations$Language.PureScript.TypeChecker.Rows'Language.PureScript.TypeChecker.Skolems%Language.PureScript.TypeChecker.Unify*Language.PureScript.TypeChecker.Entailment+Language.PureScript.TypeChecker.Subsumption%Language.PureScript.TypeChecker.TypesLanguage.PureScript.TypeCheckerControl.Monad.SupplyControl.Monad.Supply.Class0Language.PureScript.CodeGen.JS.Optimizer.Inliner(Language.PureScript.CodeGen.JS.Optimizer*Language.PureScript.Sugar.CaseDeclarations%Language.PureScript.Sugar.TypeClasses"Language.PureScript.CoreFn.DesugarLanguage.PureScript.RenamerLanguage.PureScript.CodeGen.JS$Language.PureScript.Sugar.DoNotation)Language.PureScript.Sugar.ObjectWildcards#Language.PureScript.Sugar.OperatorsLanguage.PureScript.SugarLanguage.PureScript+Language.PureScript.Docs.RenderedCode.Types,Language.PureScript.Docs.RenderedCode.RenderLanguage.PureScript.Docs.Types Language.PureScript.Docs.ConvertLanguage.PureScript.Docs.Render(Language.PureScript.Docs.ParseAndDesugar#Language.PureScript.Docs.AsMarkdownPaths_purescriptdesugarImportsLanguage.PureScript.ASTLanguage.PureScript.PrettyLanguage.PureScript.ParserLanguage.PureScript.CoreFnLanguage.PureScript.CodeGen%Language.PureScript.Docs.RenderedCodeLanguage.PureScript.Docs mintersperse ParseStateindentationLevelUnifyTunUnifyUnificationErroroccursCheckFailed UnifyState unifyNextVarunifyCurrentSubstitution SubstitutionrunSubstitution Unifiable=?=Partialunknown isUnknownunknowns$?UnknowndefaultUnifyStaterunUnify substituteOne=:= occursCheckfresh'fresh$fMonadErroreUnifyT$fMonadStatesUnifyT$fMonoidSubstitutionLiteral ObjectLiteral ArrayLiteralBooleanLiteral CharLiteral StringLiteralNumericLiteralfstMsndMthirdMpairMmaybeMeitherMdefS SourceSpanspanName spanStartspanEnd SourcePos sourcePosLinesourcePosColumndisplaySourcePosdisplaySourceSpan$fToJSONSourceSpan$fToJSONSourcePosFixity AssociativityInfixInfixrInfixl Precedence$fToJSONFixity$fToJSONAssociativity$fShowAssociativity$#<>++>>=+-*/%<><=>===/=&&||bind unsafeIndex.|..&..^.<<<negatenotsupinfmodshlshrzshr complementzeroonebottomtopreturnpure' returnEscapeduntilEwhileErunST stRefValuenewSTRef readSTRef writeSTRef modifySTRefmkFnrunFnunit undefinedmonadEffDictionaryapplicativeEffDictionarybindEffDictionarysemiringNumber semiringInt ringNumberringIntmoduloSemiringNumbermoduloSemiringInt ordNumberordInteqNumbereqInteqString eqBooleanboundedBooleanlatticeBooleancomplementedLatticeBooleansemigroupStringsemigroupoidArrmain __superclass___unusedprimpreludedataArrayUnsafeeffst dataFunctiondataInt dataIntBitsOptions optionsNoTcooptionsNoMagicDo optionsMainoptionsNoOptimizationsoptionsVerboseErrorsoptionsNoCommentsoptionsRequirePathdefaultOptions Qualified ModuleName ProperName runProperNameIdentOprunIdent runModuleNamemoduleNameFromStringqualify$fFromJSONQualified$fToJSONQualified$fShowQualified$fShowModuleName$fShowProperName $fShowIdent identToJsidentNeedsEscapingidentCharToStringnameIsJsReservedmoduleNameToJsproperNameIsJsReservedBinder NamedBinderConstructorBinder VarBinder LiteralBinder NullBinderCaseAlternativecaseAlternativeBinderscaseAlternativeResultGuardBindRecNonRecExprLetCaseVarAppAbs ObjectUpdateAccessor Constructor extractAnn modifyAnn$fFunctorCaseAlternativeeverywhereOnValueseverythingOnValuesConstructorTypeSumType ProductTypeMeta IsForeignIsTypeClassConstructor IsNewtype IsConstructorKindFunKindRowBangStarKUnknowneverywhereOnKindseverywhereOnKindsMeverythingOnKinds $fToJSONKind ConstraintTypePrettyPrintForAllPrettyPrintObjectPrettyPrintFunction KindedTypeRConsREmptySkolemConstrainedTypeForAllSaturatedTypeSynonymTypeAppTypeConstructor TypeWildcardTypeVarTUnknown SkolemScoperunSkolemScope rowToList rowFromList isMonoTypemkForAllreplaceTypeVarsreplaceAllTypeVarsusedTypeVariablesfreeTypeVariablesquantifymoveQuantifiersToFrontcontainsWildcardseverywhereOnTypeseverywhereOnTypesTopDowneverywhereOnTypesMeverywhereOnTypesTopDownMeverythingOnTypes $fToJSONTypeDictionaryValueSubclassDictionaryValueDependentDictionaryValueGlobalDictionaryValueLocalDictionaryValueTypeClassDictionaryTypeTCDAlias TCDRegularTypeClassDictionaryInScopetcdName tcdClassNametcdInstanceTypestcdDependenciestcdType tcdExportedcanonicalizeDictionary DataDeclTypeNewtypeDataTypeKind ScopedTypeVarLocalTypeVariable ExternData TypeSynonymDataTypeNameKindExternalPublicPrivateNameVisibilityDefined Undefined EnvironmentnamestypesdataConstructors typeSynonymstypeClassDictionaries typeClassesinitEnvironmentprimNameprimTy tyFunctiontyStringtyChartyNumbertyInt tyBooleantyArraytyObjectisObjectfunction primTypeslookupConstructorisNewtypeConstructor lookupValue$fFromJSONDataDeclType$fToJSONDataDeclType$fShowDataDeclTypeComment BlockComment LineCommentPositionedBinder ArrayBinder ObjectBinder NumberBinder CharBinder StringBinder BooleanBinder binderNamesDoNotationElementPositionedDoNotationElement DoNotationLetDoNotationBindDoNotationValuePositionedValueSuperClassDictionaryTypeClassDictionaryAccessorTypeClassDictionary!TypeClassDictionaryConstructorAppDo TypedValue IfThenElse ObjectUpdater ObjectGetterObjectConstructorOperatorSectionParensBinaryNoParens UnaryMinus DeclarationPositionedDeclarationTypeInstanceDeclarationTypeClassDeclarationImportDeclarationFixityDeclarationExternInstanceDeclarationExternDataDeclarationExternDeclarationBindingGroupDeclarationValueDeclarationTypeDeclarationTypeSynonymDeclarationDataBindingGroupDeclarationDataDeclarationImportDeclarationTypeHidingExplicitImplicitDeclarationRefPositionedDeclarationRef ModuleRefTypeInstanceRef TypeClassRefValueRefTypeRefModule getModuleName isValueDecl isDataDecl isImportDeclisExternDataDeclisExternInstanceDecl isFixityDecl isExternDeclisTypeClassInstanceDeclarationisTypeClassDeclaration flattenDecls$fEqDeclarationRefeverywhereOnValuesTopDownMeverywhereOnValuesMeverythingWithContextOnValueseverywhereWithContextOnValuesM accumTypesexportedDeclarations isExportedJS JSCommentJSRaw JSContinueJSBreakJSLabel JSInstanceOfJSTypeOfJSThrowJSReturnJSIfElseJSForInJSForJSWhile JSAssignmentJSVariableIntroductionJSBlock JSConditionalJSVarJSApp JSFunction JSAccessorJSObjectLiteral JSIndexerJSArrayLiteralJSBinaryJSUnaryJSBooleanLiteralJSStringLiteralJSNumericLiteralBinaryOperatorZeroFillShiftRight ShiftRight ShiftLeft BitwiseXor BitwiseOr BitwiseAndOrAndGreaterThanOrEqualTo GreaterThanLessThanOrEqualToLessThan NotEqualToEqualToModulusDivideMultiplySubtractAdd UnaryOperatorJSNewPositive BitwiseNotNotNegateeverywhereOnJSeverywhereOnJSTopDowneverywhereOnJSTopDownMeverythingOnJSapplyAll replaceIdent replaceIdents isReassigned isReboundisUsedtargetVariable isUpdatedremoveFromBlocktcomagicDoremoveCodeAfterReturnStatementsremoveUnusedArgremoveUndefinedAppcollapseNestedBlockscollapseNestedIfsAnnnullAnnremoveComments ForeignDeclmoduleComments moduleName moduleImports moduleExports moduleForeign moduleDecls TokenParserPositionedToken ptSourcePosptToken ptCommentsTokenlexanyTokentokenmatchlparenrparenparenslbracerbracebraceslsquarersquaresquaresindentindentAtlarrowrarrow lfatArrow rfatArrowcolon doubleColonequalspipetickdotcommasemiat underscoresemiSepsemiSep1commaSep commaSep1lname qualifierreservedunamemnameuname'symbolsymbol' charLiteral stringLiteralnumbernatural identifierreservedPsNamesreservedTypeNamesopCharsfeatureWasRemoved properNameparseQualified parseIdentaugmentfoldbuildPostfixParsermarkcheckIndentationindentedsame readCommentsrunTokenParser parseKind parseTypeAtom parseType parsePolyType noWildcards PrinterState blockIndent withIndent currentIndentprettyPrintManyprettyPrintObjectKeyprettyPrintKindprettyPrintRowprettyPrintTypeAtomprettyPrintType prettyPrintJSprettyPrintValueprettyPrintBinder moduleToPs UnknownMap LabelType SkolemLabel TypeLabelMultipleErrorsrunMultipleErrors ErrorMessageSimpleErrorWrapperPositionedErrorErrorInForeignImportErrorInValueDeclarationErrorInTypeSynonymErrorInDataBindingGroupErrorInBindingGroupErrorInTypeConstructorErrorInDataConstructorErrorInApplicationErrorInferringTypeErrorCheckingKindErrorCheckingTypeErrorInSubsumptionErrorInInstance ErrorInModuleErrorInExpressionErrorUnifyingTypes NotYetDefinedSimpleErrorMessage ClassOperatorWildcardInferredType ShadowedNameTransitiveExportErrorInvalidInstanceHeadInvalidNewtypeTypeSynonymInstanceCannotApplyFunctionPropertyIsMissingExprDoesNotHaveTypeSubsumptionCheckFailedIncorrectConstructorArity ExpectedTypeExtraneousClassMemberMissingClassMemberOverlappingArgNamesArgListLengthsDifferDuplicateValueDeclarationDuplicateLabelNoInstanceFoundOverlappingInstancesConstrainedTypeUnifiedKindsDoNotUnifyTypesDoNotUnifyUnspecifiedSkolemScope EscapedSkolemPartiallyAppliedSynonymUndefinedTypeVariableNameNotInScopeNameIsUndefinedCycleInModulesCycleInTypeSynonymCycleInDeclaration InvalidDoLet InvalidDoBindDuplicateTypeArgumentDuplicateValueExportDuplicateClassExportClassConflictsWithCtorClassConflictsWithTypeCtorConflictsWithClassTypeConflictsWithClassConflictingCtorDeclsConflictingTypeDeclsConflictingImportsConflictingImportUnknownTypeConstructorUnknownDataConstructor UnknownValueUnknownTypeClass UnknownType UnknownModuleOverlappingNamesInLetRedefinedIdentRedefinedModuleOrphanFixityDeclarationOrphanTypeDeclarationMultipleFixitiesCannotReorderOperators InfiniteKind InfiniteTypeCannotWriteFileCannotReadFileCannotGetFileInfoInvalidExternsFileUnnecessaryFFIModuleMultipleFFIModulesMissingFFIModuleErrorParsingModuleErrorParsingFFIModuleErrorParsingExterns errorCodenonEmpty errorMessage singleErroronErrorMessagesunwrapErrorMessagereplaceUnknownsonTypesInErrorMessageMprettyPrintSingleErrorprettyPrintMultipleErrorsprettyPrintMultipleWarningsprettyPrintMultipleErrorsWith renderBox"interpretMultipleErrorsAndWarningsrethrowrethrowWithPositionparU$$fUnificationErrorKindMultipleErrors$$fUnificationErrorTypeMultipleErrors"$fUnificationErrorKindErrorMessage"$fUnificationErrorTypeErrorMessagelint ModuleGraph sortModulesparseImportDeclaration'parseDeclarationparseLocalDeclaration parseModuleparseModulesFromFiles parseModules parseValue parseBinderparseBinderNoParens parseGuard ForeignJSparseForeignModulesFromFilesCheckunCheck CheckStatecheckEnv checkNextVarcheckNextDictNamecheckCurrentModule bindNames bindTypeswithScopedTypeVarswithTypeClassDictionariesgetTypeClassDictionarieslookupTypeClassDictionariesbindLocalVariablesbindLocalTypeVariablesmakeBindingGroupVisiblewithBindingGroupVisiblepreservingNameslookupVariable getVisibilitycheckVisibilitylookupTypeVariablegetEnvputEnv modifyEnvrunCheck runCheck' guardWithfreshDictionaryName liftCheck liftUnifyliftUnifyWarningskindOfkindOfWithScopedVarskindsOf kindsOfAllsaturateAllTypeSynonymsdesaturateAllTypeSynonymsreplaceAllTypeSynonymsexpandTypeSynonym'expandTypeSynonymexpandAllTypeSynonymscreateBindingGroupsModulecollapseBindingGroupsModulecreateBindingGroupscollapseBindingGroupsdesugarTypeDeclarationsModuledesugarTypeDeclarationscheckDuplicateLabelsnewSkolemConstantintroduceSkolemScopenewSkolemScope skolemizeskolemizeTypesInValueskolemEscapeCheck unifyTypes unifyRows unifiesWithreplaceVarWithUnknownreplaceTypeWildcards varIfUnknownentailssubsumestypesOftypeCheckModuleSupplySupplyT unSupplyT runSupplyT evalSupplyT runSupply evalSupply MonadSupply freshName$fMonadSupplyStateT$fMonadSupplySupplyT etaConvertunThunk evaluateIifesinlineVariables inlineValuesinlineOperatorinlineCommonOperatorsinlineArrCompositionoptimizedesugarCasesModule desugarCasesdesugarTypeClassestypeClassMemberNamesuperClassDictionaryNamesmoduleToCoreFnrenameInModules moduleToJsmainCalldesugarDoModuledesugarObjectConstructors rebracketremoveSignedLiteralsdesugarOperatorSectionsdesugar RebuildPolicy RebuildAlways RebuildNever SupplyVarExterns MakeActionsgetInputTimestampgetOutputTimestamp readExternscodegenprogressmakeversion RenderedCodeContainingModule OtherModule ThisModuleRenderedCodeElementSpaceKeywordCtorSyntaxasRenderedCodeElementasContainingModulemaybeToContainingModulecontainingModuleToMaybefromContainingModuleasRenderedCode outputWithspsyntaxidentctorkindkeyword keywordForall keywordDatakeywordNewtype keywordType keywordClasskeywordInstance keywordWhereRenderTypeOptionsprettyPrintObjects renderRow renderKindrenderTypeAtom renderTypedefaultRenderTypeOptionsrenderTypeWithOptions InPackageFromDepLocalBookmark PackageErrorInvalidDataDeclType InvalidKind InvalidFixityInvalidChildDeclarationTypeInvalidDeclarationTypeInvalidVersionErrorInPackageMeta GithubRepo runGithubRepo GithubUser runGithubUserChildDeclarationInfoChildTypeClassMemberChildDataConstructor ChildInstanceChildDeclaration cdeclTitle cdeclCommentscdeclSourceSpan cdeclInfoDeclarationInfo declTitle declCommentsdeclSourceSpan declChildren declFixitydeclInfomodName modCommentsmodDeclarationsVerifiedPackageUploadedPackage NotYetKnownPackagepkgMeta pkgVersion pkgVersionTag pkgModules pkgBookmarkspkgResolvedDependencies pkgGithub pkgUploader verifyPackage packageNamedeclInfoToStringchildDeclInfoToString takeLocal takeLocals ignorePackageparseUploadedPackageparseVerifiedPackage asPackageasUploadedPackage asNotYetKnownasVerifiedPackage asGithubUser asVersion parseVersion'asModule asDeclarationasFixityparseAssociativityasAssociativityasDeclarationInfoasTypeArgumentsasKindasTypeasDataDeclTypeasChildDeclarationasChildDeclarationInfo asSourcePos asConstraintasQualifiedProperName asBookmarks asBookmarkasResolvedDependenciesasGithub asSourceSpanassocListToJSON$fToJSONInPackage$fToJSONGithubRepo$fToJSONGithubUser$fToJSONChildDeclarationInfo$fToJSONDeclarationInfo$fToJSONChildDeclaration$fToJSONDeclaration$fToJSONModule$fToJSONNotYetKnown$fToJSONPackage$fFromJSONPackage$fFromJSONGithubUser$fFromJSONNotYetKnown$fFunctorInPackage convertModulecollectBookmarksrenderDeclarationrenderDeclarationWithOptionsrenderChildDeclaration!renderChildDeclarationWithOptionsrenderConstraintrenderConstraintWithOptionsrenderConstraintsrenderConstraintsWithOptions notQualifiedtypeApp toTypeVarParseDesugarError DesugarErrorSortModulesError ParseErrorparseAndDesugarrenderModulesAsMarkdowncatchIObindirlibdirdatadir libexecdir sysconfdir getBinDir getLibDir getDataDir getLibexecDir getSysconfDirgetDataFileNamebaseGHC.BasefilterDataConstructorsfilterInstancestypeInstanceConstituentsisDctorExportedtco'magicDo'inlineSTlangDef tokenParserNumberSymbol QualifierUNameLName UnderscoreAtSemiCommaDotTickPipeEquals DoubleColonColon RFatArrow LFatArrowRArrowLArrowIndentRSquareLSquareRBraceLBraceRParenLParenprettyPrintToken parseTokens whitespace parseCommentparsePositionedToken parseTokenvalidModuleName$fShowPositionedToken parseStar parseBang parseArray parseArrayOf parseFunction parseObjectparseTypeWildcardparseTypeVariableparseTypeConstructor parseForAllparseConstrainedType parseAnyTypeparseNameAndTypeparseRowEndingparseRow typeLiteralsmatchRowfunKindappliedFunctionkindedinsertPlaceholders matchTypeAtom matchTypeforall_prettyPrintJS1prettyPrintJS'literalsstring conditionalaccessorindexerlamapptypeOf instanceOfunary'unarynegateOperatorbinaryprettyStatementsprettyPrintDeclarationprettyPrintCaseAlternativeprettyPrintDoNotationElementprettyPrintObject' ifThenElse objectUpdateprettyPrintValue'prettyPrintBinderAtomprettyPrintBinder'prettyPrintObjectPropertyBinderprettyPrintObjectProperty usedModulestoModulewithSourceSpanparseInfixExpr kindedIdentparseDataDeclarationparseTypeDeclarationparseTypeSynonymDeclarationparseValueDeclarationparseExternDeclaration parseFixityparseFixityDeclarationparseImportDeclarationparseDeclarationRefparseTypeClassDeclarationparseTypeInstanceDeclaration positionedbooleanLiteralparseNumericLiteralparseCharLiteralparseStringLiteralparseBooleanLiteralparseArrayLiteralparseObjectLiteralparseIdentifierAndValueparseAbsparseVarparseConstructor parseCaseparseCaseAlternativeparseIfThenElseparseLetparseValueAtomparseOperatorSectionparsePropertyUpdate parseAccessorparseDoparseDoNotationLetparseDoNotationBindparseDoNotationElementparseObjectGetterparseUpdaterBodyparseObjectUpdaterWildcardparseStringBinderparseCharBinderparseBooleanBinderparseNumberBinderparseVarBinderparseNullaryConstructorBinderparseConstructorBinderparseObjectBinderparseArrayBinderparseNamedBinderparseNullBinderparseIdentifierAndBinderfindModuleName solveTypes starIfUnknowninfer freshKindVarinfer'$fUnifiableCheckKind $fPartialKindbuildTypeSubstitutionreplaceAllTypeSynonyms'toBindingGroupcollapseBindingGroupsForValue usedIdentsusedImmediateIdentsusedProperNamesgetIdent getProperNametoDataBindingGroup isTypeSynonym fromValueDeclImportEnvironment importedTypesimportedDataConstructorsimportedTypeClassesimportedValuesExports exportedTypesexportedTypeClassesexportedValuesexportedModulesExportEnvironmentupdateExportedModuleaddEmptyModuleaddType addTypeClassaddValue addExportelaborateExportselaborateImportsrenameInModule findExports filterExports findImportsresolveImports resolveImportthrowConflictError$fUnifiableCheckType $fPartialTypetypeHeadsAreEqualpairwiseWork subsumes'isTyped overTypesreplaceTypeClassDictionaries checkTypeKindinstantiatePolyTypeWithUnknowns inferProperty inferBinder checkBinderscheckcheck'checkPropertiescheckFunctionApplicationcheckFunctionApplication'meetensureNoDuplicateProperties UntypedDataTypeDatatypeDictionaryForBindingGroupcheckTypedBindingGroupElementtypeForBindingGroupElementinferLetBindingcontainsTypeSynonymscheckTypeSynonyms typeCheckAll addDataTypeaddDataConstructoraddTypeSynonymvalueIsNotDefinedaddTypeClassDictionariescheckDuplicateTypeArgumentscheckTypeClassInstance shouldInlineisDictisFn isPreludeFn optimize'untilFixedPointisLeft desugarAbs inSameGrouptoDeclstoTuplemakeCaseDeclarationDesugar MemberMap desugarModule desugarDeclmemberToNameAndTypetypeClassDictionaryDeclaration#typeClassMemberToDictionaryAccessor!typeInstanceDictionaryDeclarationfindQualModulesimportToCoreFnexternToCoreFnexportToCoreFnmkTypeClassConstructor properToIdent RenameState rsBoundNames rsUsedNames runRenamenewScope updateScope lookupIdentfindDeclIdents renameInDecl renameInValuerenameInLiteralrenameInCaseAlternativerenameInBinderRename initState desugarDoChainrebracketModule removeParenscollectFixitiesensureNoDuplicatescustomOperatorTablematchOperatorstoAssocparseOp parseTicksmatchOpGHC.NumaddDefaultImportreverseDependencies importPrim Data.MaybeMaybeRCunRC$fToJSONRenderedCode$fToJSONContainingModule$fToJSONRenderedCodeElement renderHead renderLabel renderTaildePrimconvertconvertForAllspreprocessTypeDeclarationAugmentIntermediateDeclarationaugmentDeclarationsaddDefaultFixity mkDeclaration AugmentFixity AugmentChildgetDeclarationTitlebasicDeclarationconvertDeclarationconvertCommentscollectBookmarks'FileInfofileInfoToString parseFileparseAsgetDepsModuleNames addPackageDocsFirstNotFirstmodulesAsMarkdownmoduleAsMarkdowndeclAsMarkdown codeToStringfixityAsMarkdown childToStringrunDocstell'spacer headerLevel fencedBlockticks