O      !"#$%&'()*+,-./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%{%|%}%~%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&'''''''''''''()********+++,,-........... . . . . .............../000 0!0"0#1$1%1&2'2(3)3*3+3,3-3.3/303132333435363738393:3;3<3=3>3?3@3A3B3C3D3E3F3G3H3I3J3K3L3M3N3O3P3Q3R3S3T3U3V3W3X3Y3Z3[3\3]3^3_3`3a3b3c3d3e3f3g3h3i3j3k3l3m3n3o3p3q3r3s3t3u3v3w3x3y3z3{3|3}3~3333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333344566666666666666666 6 6 6 6 6666666666666666777 8!8"8#8$8%8&8'8(9):*:+:,:-:.:/: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@gAhAiAjBkClDmEnFoGpHqIrIsJtJuKvKwKxKyKzK{K|K}L~MNOOOPQRRRRRRSSSSSSSSSSTTUVVVVWXXXXXXXXXXXYYYYYYYYYYYYYYYYYYYYYZ[[[[[[[[[[[[[[[[[[[[[[[[[[[[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\]]]]]]]]]]^^^^ ^ ^ ^ ^ ^^^^^^^^^^^^^^^^^^^ ^!^"^#^$^%^&^'^(^)^*^+^,^-^.^/^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^{^|^}^~^^^^^^^^___________`aabbcdddddeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeffffffffffffffffffffggggggggggggggggggggggggggggggggggggggggggggggggggg g g g g gggggggghhhhhhhhhii i!i"j#j$j%j&j'j(j)j*j+k,k-k.k/k0k1k2k3l4l5l6l7m8m9m:m;m<m=m>n?n@nAnBnCnDnEnFnGnHoIoJoKoLoMoNpOpPqQqRrSrTrUrVrWrXrYsZs[s\t]t^t_t`tatbtctdtetftgthtitjtktltmtntotptqtrtstttutvtwtxtytzt{t|t}t~ttttuuvvvvvvvvvvvwwSafe(     None( GGlob relative to the current directory, and produce relative pathnames. )Glob pattern for PureScript source files.-Glob pattern for PureScript dependency files.    Safe(Safe(State for the parser monad*The most recently marked indentation levelSafe(Safe(u !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~u !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~u !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~u !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~Safe(None(N Source nameStart of the spanSource position information Line number Column number   Safe(-UData type for literal values. Parameterised so it can be used for Exprs and Binders.A numeric literalA string literalA character literalA boolean literalAn array literalAn object literalxSafe(   None(4FGN>A module is just a list of elements of the types listed above.<There are four types of module element we are interested in:R1) Require statements 2) Member declarations 3) Export lists 4) Everything else|Each is labelled with the original AST node which generated it, so that we can dump it back into the output during codegen.An export is either a "regular export", which exports a name from the regular module we are in, or a reexport of a declaration in the corresponding foreign module.WRegular exports are labelled, since they might re-export an operator with another name.yA piece of code is identified by its module and its name. These keys are used to label vertices in the dependency graph.7A module is identified by its module name and its type.VModules are either "regular modules" (i.e. those generated by psc) or foreign modules.The type of error messages. We separate generation and rendering of errors using a data type, in case we need to match on error types later.3Prepare an error message for consumption by humans.FCalculate the ModuleIdentifier which a require(...) statement imports.OCompute the dependencies of all elements in a module, and add them to the tree.YMembers and exports can have dependencies. A dependency is of one of the following forms: 1) module.name or member["name"]where module was imported usingvar module = require( Module.Name);2) nameAwhere name is the name of a member defined in the current module.1Attempt to create a Module from a Javascript AST.xEach type of module element is matched using pattern guards, and everything else is bundled into the Other constructor.=Eliminate unused code based on the specified entry point set.zTopologically sort the module dependency graph, so that when we generate code, modules can be defined in the right order.A module is empty if it contains no exported members (in other words, if the only things left after dead code elimination are module imports and "other" foreign code).<If a module is empty, we don't want to generate code for it.?Generate code for a set of modules, including a call to main().8Modules get defined on the global PS object, as follows:>var PS = { }; (function(exports) { ... })(PS[ Module.Name] = PS[ Module.Name ] || {});LIn particular, a module and its foreign imports share the same namespace inside PS. This saves us from having to generate unique names for a module and its foreign imports, and is safe since a module shares a namespace with its foreign imports in PureScript as well (so there is no way to have overlaps in code generated by psc).The bundling function. This function performs dead code elimination, filters empty modules and generates and prints the final Javascript bundle.* main module namespace input modulesCThe input modules. Each module should be javascript rendered from Zy or psc.WEntry points. These module identifiers are used as the roots for dead-code eliminationAn optional main module.The namespace (e.g. PS).The require path prefix None(C None(7 Safe( !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 statementsGenerate soure mapsDefault make options  None(-=>:A qualified name, i.e. a name with an optional module name Module names$The closed set of proper name types.TProper names, i.e. capitalized names for e.g. module names, type//data constructors.Names for value identifiersAn alphanumeric identifier%A symbolic name for an infix operator"A generated name for an identifierCoerces a ProperName from one ProperNameType to another. This should be used with care, and is primarily used to convert ClassNames into TypeNames after classes have been desugared.7Provide a default module name, if a name is unqualified4Makes a qualified value from a name and module name.,Remove the module name from a qualified nameNChecks whether a qualified value is actually qualified with a module referenceRChecks whether a qualified value is not actually qualified with a module referenceFChecks whether a qualified value is qualified with a particular module#&None(-Data type for bindersWildcard binder&A binder which matches a literal value"A binder which binds an identifier)A binder which matches a data constructor/A binder which binds its input to an identifierNone(-"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.(Non-recursive binding for a single value3Mutually recursive binding group for several values#Data type for expressions and termsA literal value=A data constructor (type name, constructor name, field names)A record property accessorPartial record updateFunction introductionFunction application Variable A case expression  A let binding "Extract the annotation from a term Modify the annotation on a term                     None(None(Data constructor metadata6The constructor is for a type with a single construcor7The constructor is for a type with multiple construcorsMetadata annotations)The contained value is a data constructor The contained value is a newtype9The contained value is a typeclass dictionary constructor/The contained reference is for a foreign memberNone(The data type of kinds!Unification variable of type KindThe kind of typesThe kind of effects5Kinds for labelled, unordered rows without duplicatesFunction kinds  !"  ! "" ! !"None(C#A typeclass constraint$The type of types%#A unification variable of type Type&A named type variable':A type wildcard, as would appear in a partial type synonym(A type constructor)lA type operator. This will be desugared into a type constructor during the "operators" phase of desugaring.*A type application+Forall quantifier,+A type with a set of type class constraints-A skolem constant. An empty row/A non-empty row0A type with a kind annotation1%A placeholder used in pretty printing2%A placeholder used in pretty printing3%A placeholder used in pretty printing4qBinary operator application. During the rebracketing phase of desugaring, this data constructor will be removed.5jExplicit parentheses. During the rebracketing phase of desugaring, this data constructor will be removed.zNote: although it seems this constructor is not used, it _is_ useful, since it prevents certain traversals from matching.60An identifier for the scope of a skolem variable94Convert 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 monotype<Universally 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 type@3Collect all free type variables appearing in a typeAEUniversally quantify over all type variables appearing free in a typeB5Move all universal quantifiers to the front of a typeC"Check if a type contains wildcards(#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJ'#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHI)678$%&'()*+,-./012345#JJ9:;<=>?@ABCDEFGHI#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJNone( KA simplified representation of expressions which are used to represent type class dictionaries at runtime, which can be compared for equalityL>A dictionary which is brought into scope by a local constraintMCA dictionary which is brought into scope by an instance declarationN0A dictionary which depends on other dictionariesOA subclass dictionaryP;Data representing a type class dictionary which is in scopeRCThe identifier with which the dictionary can be accessed at runtimeS8How to obtain this instance via superclass relationshipsTDThe name of the type class to which this type class instance appliesU3The types to which this type class instance appliesVLType class dependencies which must be satisfied to construct this dictionary KLMNOPQRSTUV KLMNOPQRSTUV PQRSTUVKLMNOKLMNOPQRSTUVNone(WXYZWXYWXYZZWXYZNone( [Data type for binders\Wildcard binder] A binder which matches a literal^"A binder which binds an identifier_)A binder which matches a data constructor`mA operator alias binder. During the rebracketing phase of desugaring, this data constructor will be removed.aqBinary operator application. During the rebracketing phase of desugaring, this data constructor will be removed.bjExplicit parentheses. During the rebracketing phase of desugaring, this data constructor will be removed.zNote: although it seems this constructor is not used, it _is_ useful, since it prevents certain traversals from matching.c/A binder which binds its input to an identifierd)A binder with source position informationeA binder with a type annotationf8Collect all names introduced in binders in an expression [\]^_`abcdef [\]^_`abcdef [\]^_`abcdef[ \]^_`abcdefNone(g Type alias for basic annotationsh#Initial annotation with no metadatai&Remove the comments from an annotationghighighighiNone( jklmnopqr jklmnopqr klmnopqrjjklmnopqrNone(F CWe use Text.Parsec.Token to implement the string and number lexemes/A token parser based on the language definition1Parse zero or more values separated by semicolons0Parse one or more values separated by semicolons-Parse zero or more values separated by commas,Parse one or more values separated by commas)A list of purescript reserved identifiers+The characters allowed for use in operators<The characters allowed in the head of an unquoted record key<The characters allowed in the tail of an unquoted record key3Strings allowed to be left unquoted in a record keycstuvwxyz{|}~:stuvwxyz{|}~:tuvwxysz{|}~Bstuvwxyz{|}~None(4 Parse a module name0Parse a qualified name, i.e. M.name or just name-Parse an identifier or parenthesized operatornRun the first parser, then match the second if possible, applying the specified function on a successful matchnRun the first parser, then match the second zero or more times, applying the specified function for each matchPBuild a parser from a smaller parser and a list of parsers for postfix operators"Mark the current indentation level;Check that the current identation level matches a predicateACheck that the current indentation level is past the current markWCheck that the current indentation level is at the same indentation as the current mark?Read the comments from the the next token, without consuming it Run a parser    None( Parse a kindSafe(3Exit with an error message and a crash report link.None(* The type ('data' or  'newtype') of a data type declarationA standard data constructorA newtype constructorThe kinds of a type Data type Type synonym Foreign dataA local type variableA scoped type variableA flag for whether a name is for an private or public value - only public values will be included in a generated externs file.mA private value introduced as an artifact of code generation (class instances, class member accessors, etc.)@A public value for a module member or foreing import declaration.A name for member introduced by foreign import!The visibility of a name in scopeDThe name is defined in the current binding group, but is not visible_The name is defined in the another binding group, or has been made visible by a function binderThe  Environment; defines all values and types which are currently in scope:Value names currently in scopeType names currently in scopeyData constructors currently in scope, along with their associated type constructor name, argument types and return type. Type synonyms currently in scope!Available type class dictionaries Type classesTThe 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 moduleType constructor for functionsType constructor for stringsType constructor for stringsType constructor for numbersType constructor for integersType constructor for booleansType constructor for arraysType constructor for objects!Check whether a type is an object"Check whether a type is a function$Smart constructor for function typespThe primitive types in the external javascript environment with their associated kinds. There is also a pseudo Partial8 type that corresponds to the class with the same name./The primitive class map. This just contains to PartialB class, used as a kind of magic constraint for partial functions.GFinds information about data constructors from the current environment.3Checks whether a data constructor is for a newtype.<Finds information about values from the current environment.0-1None(5Parse a type as it appears in e.g. a data constructorParse a monotypeParse a polytype&Parse an atomic type with no wildcards None(Fixity data for infix operators!Associativity for infix operators(A precedence level for an infix operator   !None(NUN"A statement in a do-notation block A monadic value without a binderA monadic value with a binder0A let statement, i.e. a pure value with a binder6A do notation element with source position information"An alternative in a case statement6A collection of binders with which to match the inputs9The result expression or a collect of guarded expressions#Data type for expressions and termsA literal valueA prefix -, will be desugaredqBinary operator application. During the rebracketing phase of desugaring, this data constructor will be removed. jExplicit parentheses. During the rebracketing phase of desugaring, this data constructor will be removed.zNote: although it seems this constructor is not used, it _is_ useful, since it prevents certain traversals from matching. ROperator section. This will be removed during desugaring and replaced with lambda.  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 record property accessor expression Partial record updateFunction introductionFunction applicationVariable%Conditional (if-then-else expression)A data constructorA 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.A value with a type annotation A let bindingA do-notation block\An application of a typeclass dictionary constructor. The value should be an ObjectLiteral.A 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.`A typeclass dictionary accessor, the implementation is left unspecified until CoreFn desugaring.eA placeholder for a superclass dictionary to be turned into a TypeClassDictionary during typechecking0A placeholder for an anonymous function argumentEA typed hole that will be turned into a hint/error duing typechecking(A value with source position informationSA guard is just a boolean-valued expression that appears alongside a set of binders0The members of a type class instance declaration This is a derived instance!%This is a regular (explicit) instance&The data type of declarations'MA data type declaration (data or newtype, name, arguments, data constructors)(:A minimal mutually recursive set of data type declarations)2A type synonym declaration (name, arguments, type)*)A type declaration for a value (name, ty)+DA value declaration (name, top-level binders, optional guard, value),6A minimal mutually recursive set of value declarations-)A foreign import declaration (name, type).'A data type foreign import (name, kind)/UA fixity declaration (fixity data, operator name, value the operator is an alias for)0'A module import (module name, qualified unqualifiedWhiding, optional "qualified as" name) TODO: also a boolean specifying whether the old  qualifiedK syntax was used, so a warning can be raised in desugaring (remove for 0.9)1GA type class declaration (name, argument, implies, member declarations)2bA type instance declaration (name, dependencies, class name, instance types, member declarations)3.A declaration with source position information48The data type which specifies type of import declaration5,An import with no explicit list: `import M`.6IAn import with an explicit list of references to import: `import M (foo)`7DAn import with a list of references to hide: `import M hiding (foo)`80An item in a list of explicit imports or exports9)A type constructor with data constructors:A type operator;A value< A type class=]A type class instance, created during typeclass desugaring (name, class name, instance types)>A module, in its entirety?lAn unspecified ProperName ref. This will be replaced with a TypeClassRef or TypeRef during name desugaring.@8A declaration reference with source position informationAA 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.CReturn a module's name.DSAdd an import declaration for a module if it does not already explicitly import it.FFinds duplicate values in a list of declaration refs. The returned values are the duplicate refs with data constructors elided, and then a separate list of duplicate data constructors.M A traversal for TypeInstanceBodyN,Test if a declaration is a value declarationO@Test if a declaration is a data type or type synonym declarationP(Test if a declaration is a module importQ3Test if a declaration is a data type foreign importR-Test if a declaration is a fixity declarationS)Test if a declaration is a foreign importT:Test if a declaration is a type class instance declarationU1Test if a declaration is a type class declarationVCRecursively flatten data binding groups in the list of declarations_      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVbABCD89:;<=>?@WEF4567GH&'()*+,-./0123"#$%IJK !LMNOPQRSTUV     XXYYZZ"      !"#$%& '()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ"None([Return 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 Jz. 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.[\[\[\[\#None(N]^_`abcd]^_`abcd]^_`abcd]^_`abcd$None(f4Convert 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.g;Test if a string is a valid JS identifier without escaping.hkAttempts to find a human-readable name for a symbol, if none has been specified returns the ordinal value.i<Checks whether an identifier name is reserved in Javascript.j=Checks whether a name matches a built-in value in Javascript. efghijklmnopq efghijklmnopq efghijklmnopq efghijklmnopq{None([\]^_`abcdef      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUV[\]^_`abcd%None(Gr8A type or value declaration appearing in an externs filesA type declarationwA type synonym{A data construtorA value declarationA type class declarationAn instance declaration'A fixity declaration in an externs file!The associativity of the operator$The precedence level of the operatorThe operator symbol&The value the operator is an alias for"A module import in an externs fileThe imported module-The import type: regular, qualified or hiding+The imported-as name, for qualified imports4The data which will be serialized to an externs fileThe externs version Module nameList of module exportsList of module imports$List of operators and their fixities"List of type and value declaration*Convert an externs file back into a module9Generate an externs file for all declarations in a module5rstuvwxyz{|}~1rstuvwxyz{|}~1rsw{tuvxyz|}~ rsw{tuvxyz|}~&None(8/Data type for simplified Javascript expressionsA numeric literalA string literalA boolean literalA unary operator applicationA binary operator applicationAn array literalAn array indexer expressionAn object literal&An object property accessor expression8A function introduction (optional name, arguments, body)Function applicationVariableConditional expression A block of expressions in braces3A variable introduction and optional initializationA variable assignment While loopFor loop ForIn loopIf-then-else statementReturn statementThrow statementType-Of operatorInstanceOf testLabelled statementBreak statementContinue statementVRaw Javascript (generated when parsing fails for an inline foreign import declaration)Commented JavascriptBuilt-in binary operatorsNumeric additionNumeric subtractionNumeric multiplicationNumeric division RemainderGeneric equality testGeneric inequality testNumeric less-thanNumeric less-than-or-equalNumeric greater-thanNumeric greater-than-or-equal Boolean and Boolean or Bitwise and Bitwise or Bitwise xorBitwise left shiftBitwise right shift"Bitwise right shift with zero-fillBuilt-in unary operatorsNumeric negationBoolean negationBitwise negationNumeric unary 'plus' Constructor>>> 'None(    (None(Eliminate 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*None(-      -      +None(,None(@Collapse blocks which appear nested directly below another block-None(4@Apply a series of optimizer passes to simplified Javascript code!"!".None(C )String with length and source-map entries Wrap a string in parentheses +Generalize intercalate slightly for monoids)Number of characters per identation level)Pretty print with a new indentation level!Get the current indentation levelPrint many lines.Prints an object key, escaping reserved names.RPlace a box before another, vertically when the first box takes up multiple lines.Make a monoid where append consists of concatenating the string part, adding the lengths appropriately and advancing source mappings on the right hand side to account for the length of the left.                    /None(4Generate a pretty-printed string representing a Kind#$%#$%0None(3Generate a pretty-printed string representing a Row \Generate a pretty-printed string representing a Type, as it should appear inside parentheses"4Generate a pretty-printed string representing a Type&'()*+,-./01 !" !"!" &'()*+,-./01 !"1None(25Render an aligned list of items separated with commas#Pretty-print an expression3CPretty-print an atomic expression, adding parentheses if necessary.%6Generate a pretty-printed string representing a Binder 245#36789$:%#$%#%$ 245#36789$:%2None(;EGenerate a pretty-printed string representing a Javascript expression&rGenerate a pretty-printed string representing a collection of Javascript expressions at the same indentation level<PGenerate an indented, pretty-printed string representing a Javascript expression=>?@ABCDEFGHIJ;&'<&''&=>?@ABCDEFGHIJ;&'<|None(  !"#$%&'3None(47C(How critical the issue is+LA map from rigid type variable name/unknown variable pairs to new variables.1A stack trace for an error8Categories of hints>GError message hints, providing more detailed information about failure.SA type of error messages Get the source span for an error Get the module name for an error3Remove the module name and span hints from an error.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 MultipleErrorsAdd a hint to an error message1Extract nested error messages from wrapper errors5Pretty print a single error, simplifying if necessaryPretty print multiple errorsPretty print multiple warningsPretty print warnings as a BoxPretty print errors as a Box)Pretty print a Parsec ParseError as a Box(Pretty print ParseError detail messages. Adapted from }~, see  Hhttps://github.com/aslatter/parsec/blob/v3.1.9/Text/Parsec/Error.hs#L173./Indent to the right, and pad on top and bottom.JRethrow an error with a more detailed error message in the case of failure1Rethrow an error with source position informationuRuns a computation listening for warnings and then escalating any warnings that match the predicate to error status.Collect errors in in parallel()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~STUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~>?@ABCDEFGHIJKLMNOPQR89:;<=6745123+,-./0()*1()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSxTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~4None(44A list of modules with their transitive dependencies:Sort a collection of modules based on module dependencies.6Reports an error if the module graph contains a cycle.KQCalculate a list of used modules based on explicit imports and qualified names. ams is a list of  ModuleNames; that refer to names brought into scope by importing with as - this ensures that when building the list we don't inadvertantly assume a dependency on an actual module, if there is a module that has the same name as the qualified import.LFConvert a strongly connected component of the module graph to a moduleKLKL5None(4N M8There are two modes of failure for the redundancy check: WExhaustivity was incomplete due to too many cases, so we couldn't determine redundancy.OWe didn't attempt to determine redundancy for a binder, e.g. an integer binder.+We want to warn the user in the first case.NRQualifies a propername from a given qualified propername and a default module nameOGiven an environment and a datatype or newtype name, this function returns the associated data constructors if it is the case of a datatype where: - ProperName is the name of the constructor (for example, NothingN in Maybe) - [Type] is the list of arguments, if it has (for example, Just has [TypeVar "a"])PReplicates a wildcard binderQBApplies a function over two lists of tuples that may lack elementsRFind the uncovered set between two binders: the first binder is the case we are trying to cover, the second one is the matching binderSReturns the uncovered set of binders the first argument is the list of uncovered binders at step i the second argument is the (i+1)th clause of a pattern matching definitionZThe idea of the algorithm is as follows: it processes each binder of the two lists (say, x and yU) one by one at each step two cases arises: - there are no missing cases between x and y: this is very straightforward, it continues with the remaining cases but keeps the uncovered binder in its position. - there are missing cases, let us call it the set U5: on the one hand, we mix each new uncovered case in U with the current tail of uncovered set. On the other hand, it continues with the remaining cases: here we can use x. (but it will generate overlapping cases), or y,, which will generate non-overlapping cases.As an example, consider:wdata N = Z | S N f Z Z = Z --> {[S _, _], [Z, S _]} which are the right non-overlapping cases (GHC uses this). if we use x instead of y (in this case, y stands for Z and x for `_`i) we obtain: f Z Z = Z --> {[S _, _], [_, S _]} you can see that both cases overlaps each other. Up to now, we've decided to use x~ just because we expect to generate uncovered cases which might be redundant or not, but uncovered at least. If we use y instead, we'll need to have a redundancy checker (which ought to be available soon), or increase the complexity of the algorithm.TGuard handling+We say a guard is exhaustive iff it has an U (or truep) expression. Example: f x | x < 0 = 0 | otherwise = 1 is exhaustive, whereas `f x | x < 0` is not5The function below say whether or not a guard has an U# expression It is considered that U is defined in PreludeV.Returns the uncovered set of case alternativesWeMain exhaustivity checking function Starting with the set `uncovered = { _ }` (nothing covered, one `_` for each function argument), it partitions that set with the new uncovered cases, until it consumes the whole set of clauses. Then, returns the uncovered set of case alternatives.X1Exhaustivity checking over a list of declarations*Exhaustivity checking over a single moduleMYZNOPQRSTV[WX MYZNOPQRSTV[WX6None(4N9The imports and exports for a collection of modules. The  is used to store the source location of the module with a given name, used to provide useful information when there is a duplicate module definition.(The exported declarations from a module.UThe types exported from each module along with the module they originally came from.^The type operators exported from each module along with the module they originally came from.WThe classes exported from each module along with the module they originally came from.VThe values exported from each module along with the module they originally came from.KThe imported declarations for a module, including the module's own members.HLocal names for types within a module mapped to to their qualified namesQLocal names for type operators 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 modules that have been imported into the current scope.RThe names of "virtual" modules that come into existence when "import as" is used.Used to track how an import was introduced into scope. This allows us to handle the one-open-import special case that allows a name conflict to become a warning rather than being an unresolvable situation. JThe details for an import: the name of the thing that is being imported ( if importing from Az), the module that the thing was originally defined in (for re-export resolution), and the import provenance (see below). An empty  value. An empty  value. Extracts the  from an  value. Extracts the  from an  value. Extracts the  from an  value.\The exported types from the Prim module0Environment which only contains the Prim module.gSafely adds a type and its data constructors to some exports, returning an error if a conflict occurs.VSafely adds a type operator to some exports, returning an error if a conflict occurs.MSafely adds a class to some exports, returning an error if a conflict occurs.MSafely adds a value to some exports, returning an error if a conflict occurs.]eAdds an entry to a list of exports unless it is already present, in which case an error is returned.^IRaises an error for when there is more than one definition for something.SWhen reading a value from the imports, check that there are no conflicts in scope.(     \]^%     %          \]^7None(4FNU|Finds the imports within a module, mapping the imported module name to an optional set of explicitly imported declarations.)Constructs a set of imports for a module.7Constructs a set of imports for a single module import._TExtends the local environment for a module by resolving an import of another module.`_`_8None(4N SMap of module name to list of imported names from that module which have been used.!.Imported name used in some type or expression.'Find and warn on:3Unused import statements (qualified or unqualified),Unused references in an explicit import listImplicit imports of modulesoImplicit imports into a virtual module (unless the virtual module only has members from one module imported)Imports using hiding- (this is another form of implicit importing) !"#$%&abcd'efghijkl !"#$%&''!"#$%&  !"#$%&abcd'efghijkl9None(4GN(TLint the PureScript AST. | | Right now, this pass only performs a shadowing check.(  !"#$%&'(((:None(4FN m Read source position information*Parse a single declaration,6Parse a module header and a collection of declarations-)Parse a collection of modules in parallel.Parse a collection of modulesn/Parse an expression in backticks or an operatoro1Expressions including indexers and record updates/ Parse a value0Parse a binder1<Parse a binder as it would appear in a top level declaration2 Parse a guardBmpqrstuvwxy)z{|}~*+,-.no/012 )*+,-./012 *,.-/201)+Bmpqrstuvwxy)z{|}~*+,-.no/012;None(434343434None([stuvwxyz{|}~)*+,-./01234<None !"(3457IN%5Unification variables6 State required for type checking8 The current  Environment9"The next type unification variable:"The next kind unification variable;The next skolem variable<The next skolem scope constant=The current module>The current substitution?:A substitution of unification variables for types or kindsAType substitutionBKind substitutionCAn empty substitutionDCreate an empty  CheckStateE0Temporarily bind a collection of names to valuesF/Temporarily bind a collection of names to typesG/Temporarily bind a collection of names to typesHBTemporarily make a collection of type class dictionaries availableI:Get the currently available map of type class dictionariesJ+Lookup type class dictionaries in a module.K9Temporarily bind a collection of names to local variablesL>Temporarily bind a collection of names to local type variablesM-Update the visibility of all names to DefinedNQUpdate the visibility of all names to Defined in the scope of the provided actionO6Perform an action while preserving the names from the  Environment.P*Lookup the type of a value by name in the  EnvironmentQ0Lookup the visibility of a value by name in the  EnvironmentRAssert that a name is visibleS)Lookup the kind of a type by name in the  EnvironmentTGet the current  EnvironmentU Update the  EnvironmentV Modify the  EnvironmentWDRun a computation in the typechecking monad, starting with an empty  EnvironmentXtRun a computation in the typechecking monad, failing with an error, or succeeding with a return value and the final  Environment.Y0Make an assertion, failing with an error messageZbRun 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.'56789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ['56789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ['?@ABC6789:;<=>D5EFGHIJKLMNOPQRSTUVWXYZ[56789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[=None (3457FIN Generate a fresh kind variable2Update the substitution to solve a kind constraintApply a substitution to a kind2Make sure that an unknown does not occur in a kindUnify two kinds\Infer the kind of a single type]QInfer the kind of a single type, returning the kinds of any scoped type variables^tInfer the kind of a type constructor with a collection of arguments and a collection of associated data constructors_NSimultaneously 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\]^_\]^_\]^_\]^_>None!"(47G$Replace fully applied type synonyms.````?None(4NUaSReplace all sets of mutually-recursive declarations in a module with binding groupsbBCollapse all binding groups in a module to individual declarationsd6Collapse all binding groups to individual declarationsoConvert a group of mutually-recursive dependencies into a BindingGroupDeclaration (or simple ValueDeclaration).abcdabcdcadbabcd@None(4Ne@Replace all top-level binders in a module with case expressions.2Validates that case head and binder lengths match.f4Replace all top-level binders with case expressions. efeffe efANone(4NgAdd type synonym declarations for type class dictionary types, and value declarations for type class instance dictionary expressions. ghighighi ghiBNone(j4Desugars a module from AST to CoreFn representation.Find 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).?Desugars import declarations from AST to CoreFn representation.@Desugars foreign declarations from AST to CoreFn representation.Desugars 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.Makes 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."Converts a ProperName to an Ident.jjjjNone(9     ghijklmnopqrjCNone(4N$The state object used in this moduleDA map from names bound (in the input) to their names (in the output)DThe set of names which have been used and are in scope in the outputCRuns renaming starting with a list of idents for the initial scope.bCreates a new renaming scope using the current as a basis. Used to backtrack when leaving an Abs.qAdds a new scope entry for an ident. If the ident is already present, a new unique name is generated and stored.'Finds the new name to use for an ident.(Finds idents introduced by declarations.k,Renames within each declaration in a module.PRenames 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.Renames within a value.Renames within literals.!Renames within case alternatives.Renames within binders.kkkkDNone !"(4NliGenerate code in the simplified Javascript intermediate representation for all declarations in a module.lLefghijklmnopqlllNone(LefghijklmnopqlENone(4Nm Replace all DoNotationBind and DoNotationValueG constructors with applications of the Prelude.bind function, and all  DoNotationLet# constructors with let expressions.mmmmFNone(4GNnnnnGNone(47GINo=Elaborates deriving instance declarations by code generation.Takes a declaration, and if the declaration is a deriving TypeInstanceDeclaration, elaborates that into an instance declaration via code generation.ooooHNone(4NpIReplace all top level type declarations in a module with type annotationsppppINone(4FINUqLFinds all exportable members of a module, disregarding any explicit exports.rResolves the exports for a module, filtering out members that have not been exported and elaborating re-exports of other modules.~Filters the full list of exportable values, types, and classes for a module based on a list of export declaration references.qrqrqrqrJNone(4FNsReplaces all local names with qualified names within a list of modules. The modules should be topologically sorted beforehand.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.vReplaces all local names with qualified names within a module and checks that all existing qualified names are valid. Replaces ? export values with a 9 or <@ depending on what is availble within the module. Warns when a ? desugars into a <.st     stst     stKNone(4GNuvwxyz{|uvwxyz{|uvwxyz{|uvwxyz{|LNone(}}}}MNone(4N~~~~NNone(ONone(4FNAn operator associated with its declaration position, fixity, and the name of the function or data constructor it is an alias for.DRemove explicit parentheses and reorder binary operator applications  PNone(4,The desugaring pipeline proceeds as follows: $Remove signed literals in favour of  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.,     abcdefghimnopstQNone(4N+Ensure rows do not contain duplicate labelsRNone(4Generate a new skolem constant5Introduce skolem scope at every occurence of a ForAllGenerate a new skolem scopePSkolemize a type variable by replacing its instances with fresh skolem constantsThis 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 scopeSNone(3457N Generate a fresh type variable2Update the substitution to solve a type constraintApply a substitution to a type2Make sure that an unknown does not occur in a type2Compute a list of all unknowns appearing in a type2Unify two types, updating the current substitution1Unify 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 unify>Replace a single type variable with a new unification variable$Replace type wildcards with unknownsJReplace outermost unsolved unification variables with named type variables    TNone(4NThe 1 tracks those constraints which can be satisfied.Merge two type class contextsPReplace type class dictionary placeholders with inferred type class dictionariesCheck 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 predicateUNone(4YCheck that one type subsumes another, rethrowing errors to provide a better error message%Check tahat one type subsumes anotherVNone(47FNInfer 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 value9Check 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 message Infer a type for a value ;Infer the types of variables brought into scope by a binder Returns true if a binder requires its argument type to be a monotype. | If this is the case, we need to instantiate any polymorphic types before checking binders.9Instantiate polytypes only when necessitated by a binder.LCheck 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 applicationJEnsure a set of property names and value does not contain duplicate labels          WNone(345GN4Check 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 importsType check an entire module and ensure all types and classes defined within the module that are required by exported members are also exported.  !"#$%&156789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`  !"#$%&XSafe(357>L;A replacement for WriterT IO which uses mutable references.5Run a Logger computation, starting with an empty log.   YNone(47>CFILN A monad for running make actions#Determines when to rebuild a moduleNever rebuild this moduleAlways rebuild this module#Generated code for an externs file.AActions that require implementations when running in "make" mode.-This type exists to make two things abstract:;The particular backend being used (Javascript, C++11, etc.).The details of how files are read/written etc.Get 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.Get 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.]Read the externs file for a module as a string and also return the actual path for the file.JRun the code generator for the module and write any required output files.Respond to a progress update.'Progress messages from the make processRender a progress messageRebuild a single module[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. Execute a P monad, returning either errors, or the result of the compile plus any warnings.KA set of make actions that read and write modules from the given directory.'oCheck that the declarations in a given PureScript module match with those in its corresponding foreign module.()*the output directoryQa map between module names and paths to the file containing the PureScript moduleWa map between module name and the file containing the foreign javascript for the moduleGenerate a prefix comment?+',-()*+',-ZNone(4N !#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIWXY[\]^_`abcdefstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUV[\]^_`abcd !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghikmnopst[None(  \None(CA type representing a highly simplified version of PureScript code, intended for use in output formats like plain text or HTML.This type is isomorphic to . G. It makes code a bit easier to read, as the meaning is more explicit.A single element in a rendered code fragment. The intention is to support multiple output formats. For example, plain text, or highlighted HTML. Convert a .  to a !, using the obvious isomorphism. Convert a  to a . !, using the obvious isomorphism. A version of  fromMaybe for  values.%This function allows conversion of a  value into a value of some other type (for example, plain text, or HTML). The first argument is a function specifying how each individual  should be rendered.A  fragment representing a space.&/0123!!/0123]None(Render code representing a RowRender code representing a KindGRender code representing a Type, as it should appear inside parenthesesRender code representing a Type456789:;<=>?@ABCDEF  456789:;<=>?@ABCDEFNone(+^None(FIN `Minimum allowable version for generating data with the current parser, and actual version used.@A type instance declaration, with its dependencies and its type.,A data constructor, with its type arguments.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, G from H would be `forall a. a -> f a`."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 ).##A value declaration, with its type.$A data/newtype declaration, with the kind of declaration (data or newtype) and its type arguments. Constructors are represented as child declarations.%*A data type foreign import, with its kind.&5A type synonym, with its type arguments and its type.'yA type class, with its type arguments and its superclasses. Instances and members are represented as child declarations.([An operator alias declaration, with the member the alias is for and the operator's fixity.EThe version of the PureScript compiler which was used to generate this data. We store this in order to reject packages which are too old.N>Discard any children which do not satisfy the given predicate.wGiven 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"}.      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvw;<=>?@ABCDE9:87FG123456)*+,-./0"#$%&'(HIJKLMN !OPQ     RSTUVWXYZ[\]^_`abcdefghijklmnopqrstuv~}|{zywxN      !"#$%&'()*+,-./0123456789:; <=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~_None(    `None(4FIAn intermediate data type, used for either moving type class members under their parent type classes, or promoting them to normal Declaration values if their parent type class has not been re-exported.JType class members which have not yet been dealt with. The String is the name of the type class they belong to, and the constraint is used to make sure that they have the correct type if they get promoted.KA list of normal value declarations. Type class members will be added to this list if their parent type class is not available.LrA list of type class declarations. Type class members will be added to their parents in this list, if they exist.Given:The Imports/Exports Env<An order to traverse the modules (which must be topological)iA map of modules, indexed by their names, which are assumed to not have their re-exports listed yet.This function adds all the missing re-exports.M@Collect all of the re-exported declarations for a single module.We require that modules have already been sorted (P.sortModules) in order to ensure that by the time we convert a particular module, all its dependencies have already been converted.NAssemble a list of declarations re-exported from a particular module, based on the Imports and Exports value for that module, and by extracting the declarations from the current state.This function works by searching through the lists of exported declarations in the Exports, and looking them up in the associated Imports value to find the module they were imported from. Additionally:Attempts to move re-exported type class members under their parent type classes, if possible, or otherwise, "promote" them from ChildDeclarations to proper Declarations.]Filters data declarations to ensure that only re-exported data constructors are listed.dFilters type class declarations to ensure that only re-exported type class members are listed.OGiven a list of imported declarations (of a particular kind, ie. type, data, class, value, etc), and the name of an exported declaration of the same kind, together with the module it was originally defined in, return a tuple of:the module that exported declaration was imported from (note that this can be different from the module it was originally defined in, if it is a re-export),that same declaration's name.XThis function uses a type variable for names because we want to be able to instantiate name as both  and .PExtract a particular type declaration. For data declarations, constructors are only included in the output if they are listed in the arguments.Q{Get the full list of declarations for a particular module out of the state, or raise an internal error if it is not there.RTake a TypeClassEnv and handle all of the type class members in it, either adding them to their parent classes, or promoting them to normal Declaration values.*Returns a tuple of (values, type classes).SGiven a list of exported constructor names, remove any data constructor names in the provided Map of declarations which are not in the list.TGiven a list of exported type class member names, remove any data type class member names in the provided Map of declarations which are not in the list.UIf the provided Declaration is a TypeClassDeclaration, construct an appropriate Constraint for use with the types of its members.IVJKLMNOWPXYQZ[\R]ST^_`abUcIVJKLMNOWPXYQZ[\R]ST^_`abUcaNone (4FdESome 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.eOThe 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.oConvert a single Module, but ignore re-exports; any re-exported types or values will not appear in the result.fAugment top-level declarations; the second pass. See the comments under the type synonym IntermediateDeclaration for more information.g`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.9.h!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.dijefgkhlmno dijefgkhlmnobNone(4FLike convertModules, except that it takes a list of modules, together with their dependency status, and discards dependency modules in the resulting documentation.Convert a group of modules to the intermediate format, designed for producing documentation from. It is also necessary to pass an Env containing imports/exports information about the list of modules, which is needed for documenting re-exports.Note that the whole module dependency graph must be included in the list; if some modules import things from other modules, then those modules must also be included.For value declarations, if explicit type signatures are omitted, or a wildcard type is used, then we typecheck the modules and use the inferred types.p!Convert a sorted list of modules.qIf any exported value declarations have either wildcard type signatures, or none at all, then typecheck in order to fill them in with the inferred types.r<Typechecks all the modules together. Also returns the final _, which is useful for adding in inferred types where explicit declarations were not provided.stUpdates all the types of the ValueDeclarations inside the module based on their types inside the given Environment.tcPartially desugar modules so that they are suitable for extracting documentation information from. upqrsvt upqrsvtcNone(4Fw<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 names!This function does the following:2Parse all of the input and dependency source filesmAssociate each dependency module with its package name, thereby distinguishing these from local modules>Collect a list of bookmarks from the whole set of source files+Return the parsed modules and the bookmarks wxyz{|}~ wxyz{|}~None(      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwdNone(4cTake a list of modules and render them all in order, returning a single Markdown-formatted String.eNone(6An error that probably indicates a bug in this module.*An error that should be fixed by the user.RAn error which meant that it was not possible to retrieve metadata for a package.7&& fNone(CF (Listed in bower.json, but not installed.In the output of `bower list --json --offline`, there was no _resolution key. This can be caused by adding the dependency using `bower link`, or simply copying it into bower_components instead of installing it normally.Resolved, but to something other than a version. The String argument is the resolution type. The values it can take that I'm aware of are "commit" and "branch".QResolved to a version. The String argument is the resolution tag (eg, "v0.1.0").WHow to obtain the version tag and version that the data being generated will refer to.)What to do when the working tree is dirty~Attempt to retrieve package metadata from the current directory. Calls exitFailure if no package metadata could be retrieved.cAttempt to retrieve package metadata from the current directory. Returns a PackageError on failure5Check if a string is a valid SPDX license expression.RExtracts all dependencies and their versions from `bower list --json --offline``Extracts only the top level dependency names from the output of `bower list --json --offline``Returns whether it looks like there is a purescript package checked out in the given directory.0%gNone&(4CN\A Pursuit Response for a module. Consists of the modules name and the package it belongs toaA Pursuit Response for a declaration. Consist of the declarations type, module, name and packageA function/value declaration A Dependency onto another ModuleA module declarationA data/newtype declarationAn exported module?     7    ?          hNone(   iNone(N ! ! ! !jNone(FG "#$%&'()* "#$%&'()* "#$%&'()* "#$%&'()*kNone(+,-./012+,-./012+,-./012+,-./012lNone(47N 345634563456 3456mNone(47789:;<=789:;<=789:;<=789:;<=nNone&(47FM >?@ABCDEFG >?@ABCDEFG >?@ABCDEFG >?@ABCDEFGoNone &(47MUL/Constructs Patterns to insert into a sourcefileHIJKL Current lineBegin of the splitEnd of the split%Whether to explicitly type the splitsConstructors to splitMHIJKLMHIJLMKHIJKLMpNone &(47FMNONONONOqNone(PQPQPQPQrNone(CNSOnly keeps the given ModulesT:Only keeps the given Modules and all of their dependenciesU7Only keeps Identifiers that start with the given prefixV:Only keeps Identifiers that are equal to the search string RSTUVWXRSTUVWXRSUVTWX RSTUVWXsNone(CNZ=Matches any occurence of the search string with intersectionsThe scoring measures how far the matches span the string where closer is better. Examples: flMa matches flexMatcher. Score: 14.28 sons matches sortCompletions. Score: 6.25 YZ[YZ[YZ[ YZ[tNone(7N|3Rebuild the specified file using the loaded externs&\]^_`abcdefghijklmnopqrstuvwxyz{|}~#\]^_`abcdefghijklmnopqrstuvwxyz{|}~&cdgjmpvyz|}~efhiklnoqrstuwx{`ab\]^_\]^_`abcdgjmpvyz|}~efhiklnoqrstuwx{uNone(Applies the CompletionFilters and the Matcher to the given Modules and sorts the found Completions according to the Matching ScorevNone&(47MUbReads a file and returns the (lines before the imports, the imports, the lines after the imports)We start in theModuleHeader state.We skip every line we encounter, that doesn't start with "import". If we find a line that starts with module we store that linenumber. Once we find a line with "import" we store its linenumber as the start of the import section and change into theImportSection stateFor any line that starts with import or whitespace(is thus indented) we expand the end of the import section to that line and continue. If we encounter a commented or empty line, we continue moving forward in the ImportSection state but don't expand the import section end yet. This allows us to exclude newlines or comments that directly follow the import section. Once we encounter a line that is not a comment, newline, indentation or import we switch into the Res statea, which just shortcuts to the end of the file and carries the detected import section boundariesAdds an implicit import like import Prelude to a Sourcefile.Adds an explicit import like import Prelude (unit){ to a Sourcefile. If an explicit import already exists for the given module, it adds the identifier to that imports list.So &addExplicitImport "/File.purs" "bind" Prelude with an already existing import Prelude (bind) in the file File.purs returns  ["import Prelude (bind, unit)"]>Looks up the given identifier in the currently loaded modules.2Throws an error if the identifier cannot be found.KIf exactly one match is found, adds an explicit import to the importsectionaIf more than one possible imports are found, reports the possibilities as a list of completions.Writes a list of lines to  Just filepath and responds with a  TextResult, or returns the lines as a MultilineTextResult if Nothing" was given as the first argument.Test and ghci helperThe Sourcefile read fromThe module to importThe Sourcefile to read fromThe identifier to import5Filters to apply before searching for the identifier  wNone&(47FMuThe first argument is a set of modules to load. The second argument denotes modules for which to load dependencies      !"#$%& ' ( ) * + , - . . / 0 1 2 3 4 5 6 7 8 9 : ; < = = > ? @ A B C D E F G H H I J K L M N O P QRRSSTUVWXYYZ[[\]^_`abcdefghijklmnopqrstuvwxxyz{|}~'qrstuv8     8 !"#$%&'()*+,-./0123456789:;;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\] ^ ^ _ ` a b c d e f g h!i!j!k!l!m!x!x!y!z!!'!n!o!p!q!r!!!!!!s!!!t!!u!v!w!x!y!z!{!|!{!}!~!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!""########$$$$$$$$$$$$$%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&&&&&&&&&&&&&&&& & & & & &&&&&&&&&&&&&&&&&&& &!&"&#&$&%&&&'&(&)&*&+&,&-&.&/&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.U..V.V.W.W.X.X.Y.Z.[..\.].^._.`.a.b.c.d.e.f.g.h.i.j.k.l/m0n0o0p0q0r0s1t1u1v2w2x3y3z3{3|3|3}3~333333332323333333333733333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333 3 3 3 3 3333333333333333333 3!3"3#3$3%3&3'3(3)3*3+3,3-3.3/3031323333435363738393:3;3<3=3>4?4@5A6B6C6C6D6E6F6G6H6H6I6J6K6L6M6N6O6P6Q6R6S6T6T6U6V6W6X6Y6Z6[6\6]6^6_6`6a6b6c7d7e7f8g8h8i8j8k8l8m8n9o:p:q:r:s:t:u:v:w:x:y;z;{<|<}<}<~<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<====>????@@AAABCDEFGHIIJzJKKKKvKKKKLMNOOOPQRRRRRRSSSSSSSSSSTTUVVVVWXXXXXXXXXXXYyYyYYYYYYYYYYYYYYYYYYYZ[[[[[[[[[[[[8[[[[[[[[[ [ [ [ [ [[[\\\\\\\[\\\\\\\\\\\ \!\"\#\$\%\&\'\(\)\*\+\,\-\.\/]0]0]1]2]3]4]5]6]7]8^9^S^:^;^<^=^>^?^@^A^B^C^D^E^E^F^G^G^H^I^J^K^L^M^M^N^O^P^Q^R^^^^^^S^^^T^U^V^W^X^Y^^^Z^[^\^]^^^_^`^`^a^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^{^|^}^~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^___________`aabbcdddddeeeeeeeeeeeeeeeeeeeeeeeeeeeeee<eeeeeeeeffffffffffff*ffffffffgggggaggggggggggggggggggggggg g g g g g gggggggggggggggggg[gggggggg g!g"g#g$h%h&h'h(h)h*h+h,h-i.i/i0i1j2j3j4j5j6j7j8j9j:k;k<k=k>k?k@kAkBlClDlElFmGmHmImJmKmLmMnNnOnPnQnRnSnTnUnVnWoXoYoZo[o\o]p^p_q`qarbrcrdrerfrgrhsisjsktltmtHtntotptqtrtstttuttvtwtxtytzt{t|t}t~tttttttttttttttttuuvvvvvvvvvvvwwxxxxxxxxxxxxx         @                  *)Z""""%%%%())**************************** * * * * *****--///00000000000 0!1"1#1$1%1&1'1(1)1*2+2,2-2.2/202122232425262728292:4;45<5=5>5?5@5A5B5CD5E5F5G5H5|5I6J6K6L7M7N8O8P8Q8R8S8T8U8V8W8X8Y8Z:2:[:\:]:^:_:`: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:{:|:}:~::::::::::::::::::;==========>???????Q???@@@@@@@AAAAAAAAABBBBBBCCCCCCCCCCCCCCCCEGGGGGGGGGG2GGGGGGGIJJJOOOOOOOOSTTTTUVVVVVVVVVVVVVVVVVVVVVVWWWWWWWWW W W Y Y YYYYY\\\\\]]]]]]]]]]]]] ]!]]]]] !`"`#`$`%`&`'`(`)`*`+``,`-`"`.`/`0`1`2`3`4`5`6`7`*`8`9a:a;a<a=a>a?a@aAaBaCaDaEbFbGbHbIbJb bKcLcMcNcOcPcQcRcScTdUdUdVdWdXdYdZd[dd\d]d^e_e_e`eaebecedeeefegeheiejekelemenfofpfqfrfsfftfufvfwfxfyffzf{f|f}f~ffffffffffhllllllloXoooooooooorbrrrrrsisssssssssuuvvvvvvvvvvvvvwwwwwwwwww[w]wwwwwwwpures_GsIXYKLvqdoCq253DPnkUa(Language.PureScript.Publish.BoxesHelpers!Language.PureScript.Publish.Utils+Language.PureScript.Docs.Utils.MonoidExtras Language.PureScript.Parser.StateSystem.IO.UTF8Language.PureScript.ConstantsLanguage.PureScript.Traversals!Language.PureScript.AST.SourcePos Language.PureScript.AST.LiteralsLanguage.PureScript.BundleControl.Monad.SupplyControl.Monad.Supply.ClassLanguage.PureScript.OptionsLanguage.PureScript.Names"Language.PureScript.CoreFn.BindersLanguage.PureScript.CoreFn.Expr%Language.PureScript.CoreFn.TraversalsLanguage.PureScript.CoreFn.MetaLanguage.PureScript.KindsLanguage.PureScript.Types)Language.PureScript.TypeClassDictionariesLanguage.PureScript.CommentsLanguage.PureScript.AST.BindersLanguage.PureScript.CoreFn.Ann!Language.PureScript.CoreFn.Module Language.PureScript.Parser.Lexer!Language.PureScript.Parser.Common Language.PureScript.Parser.KindsLanguage.PureScript.CrashLanguage.PureScript.Environment Language.PureScript.Parser.Types!Language.PureScript.AST.Operators$Language.PureScript.AST.Declarations Language.PureScript.AST.Exported"Language.PureScript.AST.Traversals%Language.PureScript.CodeGen.JS.CommonLanguage.PureScript.Externs"Language.PureScript.CodeGen.JS.AST/Language.PureScript.CodeGen.JS.Optimizer.Common,Language.PureScript.CodeGen.JS.Optimizer.TCO0Language.PureScript.CodeGen.JS.Optimizer.MagicDo0Language.PureScript.CodeGen.JS.Optimizer.Inliner/Language.PureScript.CodeGen.JS.Optimizer.Unused/Language.PureScript.CodeGen.JS.Optimizer.Blocks(Language.PureScript.CodeGen.JS.Optimizer!Language.PureScript.Pretty.Common Language.PureScript.Pretty.Kinds Language.PureScript.Pretty.Types!Language.PureScript.Pretty.ValuesLanguage.PureScript.Pretty.JSLanguage.PureScript.Errors&Language.PureScript.ModuleDependencies%Language.PureScript.Linter.Exhaustive#Language.PureScript.Sugar.Names.Env'Language.PureScript.Sugar.Names.Imports"Language.PureScript.Linter.ImportsLanguage.PureScript.Linter'Language.PureScript.Parser.DeclarationsLanguage.PureScript.Parser.JS%Language.PureScript.TypeChecker.Monad%Language.PureScript.TypeChecker.Kinds(Language.PureScript.TypeChecker.Synonyms'Language.PureScript.Sugar.BindingGroups*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.TypeClasses.Deriving*Language.PureScript.Sugar.TypeDeclarations'Language.PureScript.Sugar.Names.ExportsLanguage.PureScript.Sugar.Names*Language.PureScript.Sugar.Operators.Common+Language.PureScript.Sugar.Operators.Binders(Language.PureScript.Sugar.Operators.Expr)Language.PureScript.Sugar.Operators.Types#Language.PureScript.Sugar.OperatorsLanguage.PureScript.Sugar$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.LoggerLanguage.PureScript.MakeLanguage.PureScriptLanguage.PureScript.Errors.JSON+Language.PureScript.Docs.RenderedCode.Types,Language.PureScript.Docs.RenderedCode.RenderLanguage.PureScript.Docs.TypesLanguage.PureScript.Docs.Render*Language.PureScript.Docs.Convert.ReExports'Language.PureScript.Docs.Convert.Single Language.PureScript.Docs.Convert)Language.PureScript.Docs.ParseAndBookmark#Language.PureScript.Docs.AsMarkdown*Language.PureScript.Publish.ErrorsWarningsLanguage.PureScript.PublishLanguage.PureScript.Ide.TypesLanguage.PureScript.Ide.ErrorLanguage.PureScript.Ide.Pursuit!Language.PureScript.Ide.ReexportsLanguage.PureScript.Ide.UtilLanguage.PureScript.Ide.Externs"Language.PureScript.Ide.SourceFileLanguage.PureScript.Ide.State!Language.PureScript.Ide.CaseSplitLanguage.PureScript.Ide.RebuildLanguage.PureScript.Ide.WatcherLanguage.PureScript.Ide.FilterLanguage.PureScript.Ide.MatcherLanguage.PureScript.Ide.Command"Language.PureScript.Ide.CompletionLanguage.PureScript.Ide.ImportsLanguage.PureScript.IdePaths_purescriptMakedesugarImportsLanguage.PureScript.ASTLanguage.PureScript.PrettyText.Parsec.ErrorshowErrorMessagesAxLanguage.PureScript.ParserLanguage.PureScript.CoreFnLanguage.PureScript.CodeGen%Language.PureScript.Docs.RenderedCodeLanguage.PureScript.Docsboxes_2Qd0ax8EpiG0k7TLjDyTb7Text.PrettyPrint.BoxesnullBoxBoxwidth indentWidthparaindentedsuccessivelyIndentedvcatspacer bulletedList printToStderr printToStdout globRelativepurescriptSourceFilespurescriptDepsFiles mintersperse ParseStateindentationLevel readUTF8File writeUTF8File$apply# applyFlipped<>++append>>=bind+add-sub*mul/div%mod<lessThan> greaterThan<= lessThanOrEq>=greaterThanOrEq==eq/=notEqcompare&&conj||disj unsafeIndex.|..&..^.<<<compose>>>composeFlippednegatenotshlshrzshr complementzeroonebottomtopreturnpure' returnEscapeduntilEwhileErunST stRefValuenewSTRef readSTRef writeSTRef modifySTRefmkFnrunFnunit undefinedmonadEffDictionaryapplicativeEffDictionarybindEffDictionarysemiringNumber semiringInt ringNumberringIntmoduloSemiringNumbermoduloSemiringInt ordBoolean ordNumberordInt ordStringordChareqNumbereqInteqStringeqChar eqBooleanboundedBooleanbooleanAlgebraBooleansemigroupStringsemigroupoidFngenerictoSpine fromSpine toSignaturemain __superclass___unusedprimpreludedataArrayUnsafeeffstcontrolApplicativecontrolSemigroupoid controlBind dataBounded dataSemigroupdataModuloSemiringdataBooleanAlgebradataEqdataOrd dataSemiringdataRing dataFunction dataIntBitsfstMsndMthirdMpairMmaybeMeitherMdefS SourceSpanspanName spanStartspanEnd SourcePos sourcePosLinesourcePosColumndisplaySourcePosdisplayStartEndPosdisplaySourceSpaninternalModuleSourceSpan$fFromJSONSourceSpan$fToJSONSourceSpan$fFromJSONSourcePos$fToJSONSourcePosLiteralNumericLiteral StringLiteral CharLiteralBooleanLiteral ArrayLiteral ObjectLiteralModuleIdentifier ModuleTypeRegularForeign ErrorMessageUnsupportedModulePathInvalidTopLevelUnableToParseModuleUnsupportedExport ErrorInModule moduleNameprintErrorMessagegetExportedIdentifiersbundleSupplySupplyT unSupplyT runSupplyT evalSupplyT runSupply evalSupply MonadSupplyfresh freshName$fMonadSupplyStateT$fMonadSupplySupplyTOptions optionsNoTcooptionsNoMagicDo optionsMainoptionsNoOptimizationsoptionsVerboseErrorsoptionsNoCommentsoptionsRequirePathoptionsSourceMapsdefaultOptions Qualified ModuleNameProperNameTypeTypeNameConstructorName ClassName Namespace ProperName runProperNameIdentOpGenIdentrunIdent showIdent freshIdent freshIdent'coerceProperName runModuleNamemoduleNameFromString showQualifiedqualify mkQualified disqualify isQualified isUnqualifiedisQualifiedWith$fFromJSONProperName$fToJSONProperName$fFromJSONQualified$fFromJSONIdent$fFromJSONModuleNameBinder NullBinder LiteralBinder VarBinderConstructorBinder NamedBinderextractBinderAnnCaseAlternativecaseAlternativeBinderscaseAlternativeResultGuardBindNonRecRecExpr ConstructorAccessor ObjectUpdateAbsAppVarCaseLet extractAnn modifyAnn$fFunctorCaseAlternativeeverywhereOnValueseverythingOnValuesConstructorType ProductTypeSumTypeMeta IsConstructor IsNewtypeIsTypeClassConstructor IsForeignKindKUnknownStarBangRowFunKindeverywhereOnKindseverywhereOnKindsMeverythingOnKinds$fFromJSONKind ConstraintTypeTUnknownTypeVar TypeWildcardTypeConstructorTypeOpTypeAppForAllConstrainedTypeSkolemREmptyRCons KindedTypePrettyPrintFunctionPrettyPrintObjectPrettyPrintForAllBinaryNoParensType ParensInType SkolemScoperunSkolemScope rowToList rowFromList isMonoTypemkForAllreplaceTypeVarsreplaceAllTypeVarsusedTypeVariablesfreeTypeVariablesquantifymoveQuantifiersToFrontcontainsWildcardseverywhereOnTypeseverywhereOnTypesTopDowneverywhereOnTypesMeverywhereOnTypesTopDownMeverythingOnTypeseverythingWithContextOnTypes$fFromJSONTypeDictionaryValueLocalDictionaryValueGlobalDictionaryValueDependentDictionaryValueSubclassDictionaryValueTypeClassDictionaryInScopetcdNametcdPath tcdClassNametcdInstanceTypestcdDependenciesComment LineComment BlockComment$fFromJSONCommentOpBinderBinaryNoParensBinderParensInBinderPositionedBinder TypedBinder binderNamesAnnnullAnnremoveComments ForeignDeclModulemoduleComments moduleImports moduleExports moduleForeign moduleDecls TokenParserPositionedToken ptSourcePosptToken ptCommentsTokenlexanyTokentokenmatchlparenrparenparenslbracerbracebraceslsquarersquaresquaresindentindentAtlarrowrarrow lfatArrow rfatArrowcolon doubleColonequalspipetickdotcommasemiat underscoreholeLitsemiSepsemiSep1commaSep commaSep1lname qualifierreservedunamemnameuname'symbolsymbol' charLiteral stringLiteralnumbernatural identifierreservedPsNamesreservedTypeNames isSymbolChar isUnquotedKey properNameparseQualified parseIdentaugmentfoldbuildPostfixParsermarkcheckIndentationsame readCommentsrunTokenParser parseKind internalError DataDeclTypeDataNewtypeTypeKindDataType TypeSynonym ExternDataLocalTypeVariable ScopedTypeVarNameKindPrivatePublicExternalNameVisibility UndefinedDefined EnvironmentnamestypesdataConstructors typeSynonymstypeClassDictionaries typeClassesinitEnvironmentshowDataDeclTypeprimNameprimTy tyFunctiontyStringtyChartyNumbertyInt tyBooleantyArraytyObjectisObject isFunctionisTypeOrAppliedfunction primTypes primClasseslookupConstructorisNewtypeConstructor lookupValue$fFromJSONDataDeclType$fToJSONDataDeclType$fFromJSONTypeKind parseTypeAtom parseType parsePolyType noWildcardsFixity AssociativityInfixlInfixrInfix Precedence showAssoc readAssoc$fToJSONFixity$fFromJSONAssociativity$fToJSONAssociativityDoNotationElementDoNotationValueDoNotationBind DoNotationLetPositionedDoNotationElement UnaryMinusBinaryNoParensParensOperatorSection ObjectGetter IfThenElse TypedValueDo!TypeClassDictionaryConstructorAppTypeClassDictionaryTypeClassDictionaryAccessorSuperClassDictionaryAnonymousArgumentHolePositionedValueTypeInstanceBodyDerivedInstanceExplicitInstance FixityAlias AliasValueAliasConstructor AliasType DeclarationDataDeclarationDataBindingGroupDeclarationTypeSynonymDeclarationTypeDeclarationValueDeclarationBindingGroupDeclarationExternDeclarationExternDataDeclarationFixityDeclarationImportDeclarationTypeClassDeclarationTypeInstanceDeclarationPositionedDeclarationImportDeclarationTypeImplicitExplicitHidingDeclarationRefTypeRef TypeOpRefValueRef TypeClassRefTypeInstanceRef ModuleRef ProperRefPositionedDeclarationRef getModuleNameaddDefaultImport isModuleReffindDuplicateRefs isImplicit isExplicitfoldFixityAlias getValueAlias getTypeAliasmapTypeInstanceBodytraverseTypeInstanceBody isValueDecl isDataDecl isImportDeclisExternDataDecl isFixityDecl isExternDeclisTypeClassInstanceDeclarationisTypeClassDeclaration flattenDecls$fEqDeclarationRef$fFromJSONDeclarationRef$fFromJSONImportDeclarationType$fFromJSONFixityAliasexportedDeclarations isExportedeverywhereOnValuesTopDownMeverywhereOnValuesMeverythingWithContextOnValueseverywhereWithContextOnValuesMeverythingWithScope accumTypesmoduleNameToJs identToJsidentNeedsEscapingidentCharToStringnameIsJsReservednameIsJsBuiltIn jsAnyReserved jsKeywordsjsSometimesReservedjsFutureReservedjsFutureReservedStrict jsOldReserved jsLiteralsExternsDeclarationEDType edTypeName edTypeKindedTypeDeclarationKind EDTypeSynonymedTypeSynonymNameedTypeSynonymArgumentsedTypeSynonymTypeEDDataConstructoredDataCtorNameedDataCtorOriginedDataCtorTypeCtoredDataCtorTypeedDataCtorFieldsEDValue edValueName edValueTypeEDClass edClassNameedClassTypeArgumentsedClassMembersedClassConstraints EDInstanceedInstanceClassNameedInstanceNameedInstanceTypesedInstanceConstraints ExternsFixityefAssociativity efPrecedence efOperatorefAlias ExternsImporteiModule eiImportType eiImportedAs ExternsFile efVersion efModuleName efExports efImports efFixitiesefDeclarationsapplyExternsFileToEnvironmentmoduleToExternsFileJSJSNumericLiteralJSStringLiteralJSBooleanLiteralJSUnaryJSBinaryJSArrayLiteral JSIndexerJSObjectLiteral JSAccessor JSFunctionJSAppJSVar JSConditionalJSBlockJSVariableIntroduction JSAssignmentJSWhileJSForJSForInJSIfElseJSReturnJSThrowJSTypeOf JSInstanceOfJSLabelJSBreak JSContinueJSRaw JSCommentBinaryOperatorAddSubtractMultiplyDivideModulusEqualTo NotEqualToLessThanLessThanOrEqualTo GreaterThanGreaterThanOrEqualToAndOr BitwiseAnd BitwiseOr BitwiseXor ShiftLeft ShiftRightZeroFillShiftRight UnaryOperatorNegateNot BitwiseNotPositiveJSNewwithSourceSpan getSourceSpaneverywhereOnJSeverywhereOnJSTopDowneverywhereOnJSTopDownMeverythingOnJSapplyAll replaceIdent replaceIdents isReassigned isReboundisUsedtargetVariable isUpdatedremoveFromBlockisFnisFn'isDictisDict'tcomagicDo etaConvertunThunk evaluateIifesinlineVariablesinlineCommonValuesinlineOperatorinlineCommonOperatorsinlineFnCompositionremoveCodeAfterReturnStatementsremoveUnusedArgremoveUndefinedAppcollapseNestedBlockscollapseNestedIfsoptimize PrinterState PlainStringStrPosSMapEmitemit addMapping parensPos intercalaterunPlainString addMapping'bumpPosaddPosemptyPrinterState blockIndent withIndent currentIndentprettyPrintManyprettyPrintObjectKeybeforebeforeWithSpace$fEmitPlainString $fEmitStrPos$fMonoidStrPosprettyPrintKindprettyPrintRowWithprettyPrintRow typeAtomAsBoxprettyPrintTypeAtom typeAsBoxprettyPrintTypeprettyPrintValueprettyPrintBinderAtomprettyPrintBinderprettyPrintJSWithSourceMaps prettyPrintJSLevelErrorWarningTypeMap umSkolemMap umNextSkolem umUnknownMap umNextUnknownMultipleErrorsrunMultipleErrorsErrorSuggestion HintCategoryExprHintKindHint CheckHint PositionHint OtherHintErrorMessageHintErrorUnifyingTypesErrorInExpressionErrorInInstanceErrorInSubsumptionErrorCheckingAccessorErrorCheckingTypeErrorCheckingKindErrorCheckingGuardErrorInferringTypeErrorInApplicationErrorInDataConstructorErrorInTypeConstructorErrorInBindingGroupErrorInDataBindingGroupErrorInTypeSynonymErrorInValueDeclarationErrorInTypeDeclarationErrorInForeignImportPositionedErrorSimpleErrorMessageErrorParsingFFIModuleErrorParsingModuleMissingFFIModuleMultipleFFIModulesUnnecessaryFFIModuleMissingFFIImplementationsUnusedFFIImplementationsInvalidFFIIdentifierCannotGetFileInfoCannotReadFileCannotWriteFile InfiniteType InfiniteKindMultipleFixitiesOrphanTypeDeclarationOrphanFixityDeclarationRedefinedModuleRedefinedIdentOverlappingNamesInLet UnknownModule UnknownType UnknownTypeOpUnknownTypeClass UnknownValueUnknownDataConstructorUnknownTypeConstructorUnknownImportTypeUnknownExportTypeUnknownImportTypeOpUnknownExportTypeOpUnknownImportTypeClassUnknownExportTypeClassUnknownImportValueUnknownExportValueUnknownExportModuleUnknownImportDataConstructorUnknownExportDataConstructor ScopeConflictScopeShadowingConflictingTypeDeclsConflictingCtorDeclsTypeConflictsWithClassCtorConflictsWithClassClassConflictsWithTypeClassConflictsWithCtorDuplicateModuleNameDuplicateClassExportDuplicateValueExportDuplicateTypeOpExportDuplicateTypeArgument InvalidDoBind InvalidDoLetCycleInDeclarationCycleInTypeSynonymCycleInModulesNameIsUndefinedUndefinedTypeVariablePartiallyAppliedSynonym EscapedSkolemTypesDoNotUnifyKindsDoNotUnifyConstrainedTypeUnifiedOverlappingInstancesNoInstanceFoundPossiblyInfiniteInstance CannotDeriveCannotFindDerivingTypeDuplicateLabelDuplicateValueDeclarationArgListLengthsDifferOverlappingArgNamesMissingClassMemberExtraneousClassMember ExpectedTypeIncorrectConstructorArityExprDoesNotHaveTypePropertyIsMissingAdditionalPropertyCannotApplyFunctionTypeSynonymInstanceOrphanInstanceInvalidNewtypeInvalidInstanceHeadTransitiveExportErrorTransitiveDctorExportError ShadowedNameShadowedTypeVar UnusedTypeVarWildcardInferredTypeHoleInferredTypeMissingTypeDeclarationNotExhaustivePatternOverlappingPatternIncompleteExhaustivityCheck ClassOperatorMisleadingEmptyTypeImportImportHidingModule UnusedImportUnusedExplicitImportUnusedDctorImportUnusedDctorExplicitImportDeprecatedOperatorDeclDeprecatedOperatorSectionDeprecatedQualifiedSyntaxDeprecatedClassImportDeprecatedClassExportDuplicateSelectiveImportDuplicateImportDuplicateImportRefDuplicateExportRef IntOutOfRangeRedundantEmptyHidingImportImplicitQualifiedImportImplicitImport HidingImportCaseBinderLengthDiffersIncorrectAnonymousArgumentInvalidOperatorInBinderDeprecatedRequirePath!CannotGeneralizeRecursiveFunction errorSpan errorModulefindHintstripModuleAndSpan errorCodenonEmpty errorMessage singleErroronErrorMessagesaddHintdefaultUnknownMapunwrapErrorMessagereplaceUnknownsonTypesInErrorMessageMwikiUrierrorSuggestionshowSuggestionprettyPrintSingleErrorprettyPrintExportprettyPrintImportprettyPrintRefprettyPrintMultipleErrorsprettyPrintMultipleWarningsprettyPrintMultipleWarningsBoxprettyPrintMultipleErrorsBoxprettyPrintMultipleErrorsWithprettyPrintParseErrorprettyPrintParseErrorMessagesline renderBoxrethrow reifyErrors reflectErrorswarnAndRethrowrethrowWithPositionwarnWithPositionwarnAndRethrowWithPosition withPositionescalateWarningWhenparU ModuleGraph sortModulescheckExhaustiveModuleEnvExports exportedTypesexportedTypeOpsexportedTypeClassesexportedValuesImports importedTypesimportedTypeOpsimportedDataConstructorsimportedTypeClassesimportedValuesimportedModulesimportedVirtualModulesImportProvenance FromImplicit FromExplicitLocal ImportRecord importNameimportSourceModuleimportProvenance nullImports nullExportsenvModuleSourceSpanenvModuleImportsenvModuleExportsprimEnv exportType exportTypeOpexportTypeClass exportValue getExportscheckImportConflicts findImportsresolveImportsresolveModuleImport UsedImportsName IdentNameTyNameTyOpName DctorName TyClassName lintImportslintparseImportDeclaration'parseDeclarationparseLocalDeclaration parseModuleparseModulesFromFiles parseModules parseValue parseBinderparseBinderNoParens parseGuard ForeignJSparseForeignModulesFromFilesUnknown CheckStatecheckEnv checkNextType checkNextKindcheckNextSkolemcheckNextSkolemScopecheckCurrentModulecheckSubstitution Substitution substType substKindemptySubstitutionemptyCheckState bindNames bindTypeswithScopedTypeVarswithTypeClassDictionariesgetTypeClassDictionarieslookupTypeClassDictionariesbindLocalVariablesbindLocalTypeVariablesmakeBindingGroupVisiblewithBindingGroupVisiblepreservingNameslookupVariable getVisibilitycheckVisibilitylookupTypeVariablegetEnvputEnv modifyEnvrunCheck runCheck' guardWith liftUnifyliftUnifyWarningskindOfkindOfWithScopedVarskindsOf kindsOfAllreplaceAllTypeSynonymscreateBindingGroupsModulecollapseBindingGroupsModulecreateBindingGroupscollapseBindingGroupsdesugarCasesModule desugarCasesdesugarTypeClassestypeClassMemberNamesuperClassDictionaryNamesmoduleToCoreFnrenameInModules moduleToJsdesugarDoModuledesugarObjectConstructorsderiveInstancesdesugarTypeDeclarationsModulefindExportableresolveExportsdesugarImportsWithEnvChaintoAssocparseOpmatchOpopTablematchOperatorsmatchBinderOperatorsmatchExprOperatorsmatchTypeOperators rebracketremoveSignedLiteralsdesugarOperatorSectionsdesugarcheckDuplicateLabelsnewSkolemConstantintroduceSkolemScopenewSkolemScope skolemizeskolemizeTypesInValueskolemEscapeCheck freshType solveTypesubstituteTypeunknownsInType unifyTypes unifyRows unifiesWithreplaceVarWithUnknownreplaceTypeWildcards varIfUnknownContextreplaceTypeClassDictionariessubsumesBindingGroupTypeRecursiveBindingGroupNonRecursiveBindingGrouptypesOftypeCheckModuleLogger runLogger runLogger'$fMonadBaseControlIOLogger$fMonadBaseIOLogger$fMonadWriterwLogger$fMonadIOLogger $fMonadLogger$fApplicativeLogger$fFunctorLoggerunMake RebuildPolicy RebuildNever RebuildAlwaysExterns MakeActionsgetInputTimestampgetOutputTimestamp readExternscodegenprogressProgressMessageCompilingModulerenderProgressMessage rebuildModulemakerunMakebuildMakeActionsversion JSONResultwarningserrors JSONErrorpositionmessage errorLinkfilename suggestion replacement ErrorPosition startLine startColumnendLine endColumn$fFromJSONErrorPosition$fFromJSONJSONError$fFromJSONJSONResult toJSONErrors toJSONError$fFromJSONErrorSuggestion RenderedCodeContainingModule ThisModule OtherModuleRenderedCodeElementSyntaxCtorKeywordSpaceasRenderedCodeElementasContainingModulemaybeToContainingModulecontainingModuleToMaybefromContainingModuleasRenderedCode outputWithspsyntaxidentident'ctorkindkeyword keywordForall keywordDatakeywordNewtype keywordType keywordClasskeywordInstance keywordWhere keywordFixityRenderTypeOptionsprettyPrintObjects currentModule renderRow renderKindrenderTypeAtom renderTypedefaultRenderTypeOptionsrenderTypeWithOptions InPackageFromDepBookmark PackageErrorCompilerTooOldErrorInPackageMetaInvalidVersionInvalidDeclarationTypeInvalidChildDeclarationType InvalidFixity InvalidKindInvalidDataDeclType GithubRepo runGithubRepo GithubUser runGithubUserChildDeclarationInfo ChildInstanceChildDataConstructorChildTypeClassMemberChildDeclaration cdeclTitle cdeclCommentscdeclSourceSpan cdeclInfoDeclarationInfoAliasDeclaration declTitle declCommentsdeclSourceSpan declChildren declFixitydeclInfomodName modCommentsmodDeclarations modReExportsVerifiedPackageUploadedPackage NotYetKnownPackagepkgMeta pkgVersion pkgVersionTag pkgModules pkgBookmarkspkgResolvedDependencies pkgGithub pkgUploaderpkgCompilerVersion verifyPackage packageNamedeclInfoToString isTypeClassisValueisType isValueAlias isTypeAliasfilterChildrenchildDeclInfoToStringisTypeClassMemberisDataConstructor takeLocal takeLocals ignorePackageparseUploadedPackageparseVerifiedPackage asPackageasUploadedPackage asNotYetKnownasVerifiedPackagedisplayPackageError asGithubUser asVersion parseVersion'asModule asDeclaration asReExport asInPackageasFixityparseAssociativityasAssociativityasDeclarationInfo asAliasForasTypeArgumentsasKindasTypeasDataDeclTypeasChildDeclarationasChildDeclarationInfo asSourcePos asConstraintasQualifiedProperNameasQualifiedIdent asBookmarks asBookmarkasResolvedDependenciesasGithub asSourceSpanassocListToJSON$fToJSONInPackage$fToJSONGithubRepo$fToJSONGithubUser$fToJSONChildDeclarationInfo$fToJSONDeclarationInfo$fToJSONChildDeclaration$fToJSONDeclaration$fToJSONModule$fToJSONNotYetKnown$fToJSONPackage$fFromJSONGithubUser$fFromJSONPackage$fFromJSONNotYetKnown$fFunctorInPackagerenderDeclarationrenderDeclarationWithOptionsrenderChildDeclaration!renderChildDeclarationWithOptionsrenderConstraintrenderConstraintWithOptionsrenderConstraintsrenderConstraintsWithOptions notQualifiedtypeApp toTypeVarupdateReExportsconvertSingleModulecollectBookmarksconvertModulesInPackageconvertModulesparseAndBookmarkDocsrenderModulesAsMarkdownmodulesAsMarkdown codeToStringrunDocs OtherError ProcessFailedIOExceptionThrown JSONSourceFromFile FromBowerList InternalErrorRepositoryFieldErrorRepositoryFieldMissingBadRepositoryType NotOnGithub UserErrorBowerJSONNotFoundLicenseNotFoundBowerExecutableNotFoundCouldntDecodeBowerJSONTagMustBeCheckedOutAmbiguousVersionsBadRepositoryFieldNoLicenseSpecifiedMissingDependencies CompileErrorDirtyWorkingTreePackageWarningNoResolvedVersionUndeclaredDependencyUnacceptableVersionDirtyWorkingTree_Warn printErrorprintErrorToStdout renderErrorrenderWarnings printWarningsPrepareMPublishOptionspublishGetVersionpublishWorkingTreeDirtydefaultPublishOptionsunsafePreparePackagepreparePackage runPrepareMwarn userError otherErrorpreparePackage'getModulesAndBookmarksgetGitWorkingTreeStatuscheckCleanWorkingTreegetVersionFromGitTaggetBowerRepositoryInfogetResolvedDependenciesPursuitResponseModuleResponseDeclarationResponsePursuitSearchType Identifier PursuitQuerySuccessCompletionResult TextResultMultilineTextResult PursuitResult ImportList ModuleListRebuildSuccess ModuleImportimportModuleName importTypeimportQualifier CompletionMatch PscIdeStatepscStateModules externsFilesPscIdePscIdeEnvironment envStateVarenvConfiguration ConfigurationconfOutputPath confDebug ExternDecl Dependency ModuleDeclDataConstructorExport ModuleIdent DeclIdentemptyPscIdeStateidentifierFromDeclarationRef encodeSuccess typeParse$fToJSONPursuitResponse$fFromJSONPursuitResponse$fFromJSONPursuitQuery$fFromJSONPursuitSearchType$fToJSONSuccess$fToJSONModuleImport$fEqModuleImport$fToJSONCompletion PscIdeError GeneralErrorNotFoundModuleNotFoundModuleFileNotFound ParseError RebuildErrorErrorMsg textError queryPursuithandlersearchPursuitForDeclarationsfindPackagesForModuleIdent getReexportsdependencyToExportreplaceExportWithAliasesreplaceReexport emptyModuleisExportremoveExportDeclsreplaceReexportsresolveReexportsrunProperNameT runIdentT prettyTypeTidentifierFromExternDeclidentifierFromMatchcompletionFromMatchencodeTdecodeTreadExternFileconvertExternsunwrapPositionedunwrapPositionedRefparseModuleFromFilegetDeclarations getImportsgetImportsForFilegetPositionedImportsgetDeclPositiongoToDefinitiongetPscIdeStategetExternFiles getExternFile getAllDecls getAllModulesgetAllModulesWithReexports getModulegetModuleWithReexports insertModule insertModule'WildcardAnnotationsexplicitAnnotations noAnnotations caseSplit makePattern addClause rebuildFile sortExterns reloadFilewatcherFilter moduleFilterdependencyFilter prefixFilterequalityFilter runFilter applyFiltersMatcher flexMatcher runMatcherListType LoadedModulesAvailableModules ImportCommandAddImplicitImportAddImportForIdentifierCommandLoad loadModulesloadDependencies typeSearch typeFiltersCompletecompleteFilterscompleteMatcherPursuit pursuitQuerypursuitSearchType CaseSplit caseSplitLinecaseSplitBegin caseSplitEndcaseSplitAnnotations caseSplitType AddClause addClauseLineaddClauseAnnotationsImportListlistTypeRebuildCwdQuit$fFromJSONCommand$fFromJSONListType$fFromJSONImportCommandgetCompletionsgetExactMatchessliceImportSectionaddImplicitImportaddImplicitImport'addExplicitImport'addImportForIdentifierprettyPrintImport'prettyPrintImportSection answerRequest parseImport handleCommand printModulescatchIObindirlibdirdatadir libexecdir sysconfdir getBinDir getLibDir getDataDir getLibexecDir getSysconfDirgetDataFileName ModuleElement ExportTypeKeycheckImportPathwithDepstoModulecompile isModuleEmptycodeGenRequireMember ExportsListOther RegularExportForeignReexportshowModuleTypefromStringLiteraltrimStringQuotes commaListtrailingCommaList matchRequire matchMembermatchExportsAssignment extractLabellangDef tokenParserisUnquotedKeyHeadCharisUnquotedKeyTailCharLParenRParenLBraceRBraceLSquareRSquareIndentLArrowRArrow LFatArrow RFatArrowColon DoubleColonEqualsPipeTickDotCommaSemiAt UnderscoreLNameUName QualifierSymbolNumberHoleLitprettyPrintToken parseTokens whitespace parseCommentparsePositionedToken parseTokenvalidModuleName$fShowPositionedToken parseStar parseBang parseFunction parseObjectparseTypeWildcardparseTypeVariableparseTypeConstructor parseForAllparseConstrainedType parseAnyTypeparseNameAndTypeparseRowEndingparseRowfilterDataConstructorsfilterInstancestypeInstanceConstituentsisDctorExportedbaseGHC.Base$fFromJSONExternsImport$fFromJSONExternsFixity$fFromJSONExternsDeclaration$fFromJSONExternsFiletco'magicDo'inlineST shouldInlineopAddopMulopEqopNotEq opLessThanopLessThanOrEq opGreaterThanopGreaterThanOrEqopAppendopSubopNegateopDivopModopConjopDisjopNot optimize'untilFixedPoint typeLiteralsmatchRowfunKindconstraintsAsBoxconstraintAsBoxappliedFunctionkindedinsertPlaceholders constrainedexplicitParens matchTypeAtom matchTypeforall_listprettyPrintValueAtomellipsisprettyPrintObjectprettyPrintLiteralValueprettyPrintDeclarationprettyPrintCaseAlternativeprettyPrintDoNotationElementprettyPrintLiteralBinderprettyPrintJS1prettyPrintJS'literalsstring conditionalaccessorindexerlamapptypeOf instanceOfunary'unarynegateOperatorbinaryprettyStatements usedModulesRedundancyError qualifyNamegetConstructors initialize genericMergemissingCasesSinglemissingCasesMultipleisExhaustiveGuard otherwise missingCasescheckExhaustivecheckExhaustiveDecls IncompletemissingAlternative primExports addExportthrowConflictError resolveImport ImportDef getIdentName getTypeOpName getTypeName getClassNamelintImportDecl findUsedRefs matchNameextractQualName matchDctor runDeclRef getTypeRefaddModuleLocErrorparseInfixExprindexersAndAccessors kindedIdentparseDataDeclarationparseTypeDeclarationparseTypeSynonymDeclarationparseValueDeclarationparseExternDeclaration parseFixityparseFixityDeclarationparseImportDeclarationparseDeclarationRefparseTypeClassDeclarationparseConstraintparseInstanceDeclarationparseTypeInstanceDeclaration parseDerivingInstanceDeclaration positionedtoPositionedError toSourcePosbooleanLiteralparseNumericLiteralparseCharLiteralparseStringLiteralparseBooleanLiteralparseArrayLiteralparseObjectLiteralparseIdentifierAndValueparseAbsparseVarparseConstructor parseCaseparseCaseAlternativeparseIfThenElseparseLetparseValueAtomparseOperatorSection parseHoleparsePropertyUpdate parseAccessorparseDoparseDoNotationLetparseDoNotationBindparseDoNotationElementparseUpdaterBodyparseAnonymousArgumentparseNumberLiteralparseNullaryConstructorBinderparseConstructorBinderparseObjectBinderparseArrayBinderparseVarOrNamedBinderparseNullBinderparseIdentifierAndBinderfindModuleName freshKind solveKindsubstituteKind occursCheck unifyKinds solveTypes starIfUnknowninfer freshKindVarinfer'replaceAllTypeSynonyms'toBindingGroupcollapseBindingGroupsForValue usedIdentsusedImmediateIdents usedTypeNamesgetIdenttoDataBindingGroup isTypeSynonym fromValueDecl validateCasesisLeft desugarAbs inSameGrouptoDeclstoTuplemakeCaseDeclarationDesugar MemberMap desugarModule desugarDeclmemberToNameAndTypetypeClassDictionaryDeclaration#typeClassMemberToDictionaryAccessor!typeInstanceDictionaryDeclarationfindQualModulesimportToCoreFnexternToCoreFnexportToCoreFnmkTypeClassConstructor properToIdent RenameState rsBoundNames rsUsedNames runRenamenewScope updateScope lookupIdentfindDeclIdents renameInDecl renameInValuerenameInLiteralrenameInCaseAlternativerenameInBinderRename initState desugarDoderiveInstanceunwrapTypeConstructor dataGeneric dataMaybe typesProxy deriveGenericderiveEq deriveOrd findTypeDecllamNulllamCaselamCase2mkVarMnmkVar objectType decomposeRec filterModuleelaborateExportsrenameInModuleupdateExportRefs FixityRecordrebracketModule removeParensexternsFixitiescollectFixitiesensureNoDuplicatescustomOperatorTable updateTypesGHC.NumcombineContextsentailstypeHeadsAreEqualpairwise subsumes'isTyped overTypes checkTypeKindinstantiatePolyTypeWithUnknowns inferBinderbinderRequiresMonotypeinstantiateForBinders checkBinderscheckcheck'checkPropertiescheckFunctionApplicationcheckFunctionApplication'ensureNoDuplicateProperties UntypedDataTypeDatatypeDictionaryForBindingGroupcheckTypedBindingGroupElementtypeForBindingGroupElementinferLetBindingcheckTypeSynonyms typeCheckAll addDataTypeaddDataConstructoraddTypeSynonymvalueIsNotDefinedaddValue addTypeClassaddTypeClassDictionariescheckDuplicateTypeArgumentscheckTypeClassInstancecheckForeignDecls importPrimmakeIOtraverseEither readTextFile$fMonadBaseControlIOMake$fMonadBaseIOMakeMaybeRCunRC$fToJSONRenderedCode$fToJSONContainingModule$fToJSONRenderedCodeElement renderHead renderLabel renderTaildePrimconvertconvertForAllspreprocessTypepure Applicative TypeClassEnvenvUnhandledMembers envValuesenvTypeClasses getReExportscollectDeclarations findImportlookupTypeDeclarationlookupModuleDeclarations handleEnvfilterTypeClassMemberstypeClassConstraintForlookupValueDeclarationlookupTypeOpDeclarationlookupTypeClassDeclarationhandleTypeClassMembersvalsAndMembersToEnvtypeClassesToEnvsplitMapfilterExportedChildrenallDeclarations|>internalErrorInModule$fMonoidTypeClassEnvDeclarationAugmentIntermediateDeclarationaugmentDeclarationsaddDefaultFixity mkDeclaration AugmentChild AugmentFixitygetDeclarationTitlebasicDeclarationconvertDeclarationconvertCommentscollectBookmarks' convertSortedtypeCheckIfNecessary typeCheckinsertValueTypespartiallyDesugar runParserFileInfo parseFiles addBookmarks throwLeftfileInfoToString parseFileparseAsgetDepsModuleNames addPackageFirstNotFirstmoduleAsMarkdowndeclAsMarkdownfixityAsMarkdown childToStringtell' headerLevel fencedBlockticksCollectedWarningsnoResolvedVersionsundeclaredDependenciesunacceptableVersionsdirtyWorkingTreedisplayUserErrordisplayRepositoryErrordisplayInternalErrordisplayJSONSourcedisplayOtherErrorcollectWarningswarnNoResolvedVersionswarnUndeclaredDependencieswarnUnacceptableVersionswarnDirtyWorkingTree$fMonoidCollectedWarningsMissing NoResolution ResolvedOtherResolvedVersion isValidSPDXasToplevelDependencies isPureScriptDependencyStatus TreeStatusCleanDirty unPrepareM catchLeftunlessM checkLicense extractGithub readProcess'findBowerExecutableasDependencyStatuswarnUndeclared handleDepstryExtractVersiongetInputAndDepsFileswithPackageNamegetPackageName$fMonadIOPrepareM$fToJSONPscIdeErrormoduleNameToText identToTextremoveTypeDeclarationsForClass convertImport convertExport convertDeclfindTypeDeclarationfindTypeDeclaration'splitTypeConstructor prettyCtorprettyPrintWildcardprettyWildcard parseType'parseTypeDeclaration'splitFunctionTypemkFilter moduleFilter'dependencyFilter' identFilter$fFromJSONFilter ScoredMatchdistanceMatcherdistanceMatcher' mkMatchersortCompletions flexMatchflexRate flexScore$fFromJSONMatchercompletionsFromModules matchFromDeclparseImportsFromFilestepaddExplicitImportImportStateMachine ModuleHeader ImportSectionRescompImportType compImportparseImportsWithModuleName moduleParseupdateAtFirstOrPrepend $fOrdImportloadModulesAndDepsfindCompletionsfindTypefindPursuitCompletionsfindPursuitPackages loadExtern printModules'listAvailableModuleslistAvailableModules'importsForFileloadModuleDependencies loadReexportsgetDependenciesForModule loadModuleloadAllModulesfilePathFromModule