Update spelling dictionary (#2011)

Re-ran this:
```
scripts/gen/autopopulate-spellchecker.sh
```
This commit is contained in:
Karl Ostmo 2024-07-05 19:44:10 -07:00 committed by GitHub
parent 9b1b6985fa
commit 54bf8f9215
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 208 additions and 59 deletions

1
.gitignore vendored
View File

@ -15,6 +15,7 @@ stan.html
.swarm_history
*.sqlite
*.db
*.orig
*.aux

View File

@ -7,7 +7,9 @@
"add",
"Add",
"addAttributes",
"addHeader",
"Additive",
"addUTCTime",
"adjust",
"Aeson",
"AesonException",
@ -24,8 +26,10 @@
"alignRight",
"all",
"allM",
"allowOmittedFields",
"alphaNumChar",
"Alternative",
"andOf",
"any",
"anySingle",
"API",
@ -42,7 +46,7 @@
"Application",
"Applicative",
"applyAttrMappings",
"applyBindings",
"applyBearerAuth",
"applyEdit",
"appStartEvent",
"Arr",
@ -65,10 +69,16 @@
"AttrMap",
"attrName",
"AttrName",
"Auth",
"AuthHandler",
"AuthProtect",
"AuthServerData",
"auto",
"AvailablePerLine",
"availHeightL",
"availWidthL",
"backwards",
"Backwards",
"BAnd",
"Base",
"BChan",
@ -124,7 +134,6 @@
"Carrier",
"CaseInsensitive",
"cast",
"cata",
"catch",
"Catch",
"catchError",
@ -136,7 +145,11 @@
"centerLayer",
"char",
"Char",
"charLength",
"charLengthAsPosition",
"charLiteral",
"charSplitAt",
"charSplitAtPosition",
"choice",
"Choice",
"chop",
@ -175,8 +188,10 @@
"conE",
"Config",
"configPreferredColorMode",
"configSection",
"Conj",
"conName",
"Connection",
"cons",
"Cons",
"Console",
@ -193,6 +208,7 @@
"continueWithoutRedraw",
"Contravariant",
"Control",
"Cookie",
"Core",
"cos",
"count",
@ -203,20 +219,28 @@
"cyan",
"D",
"Data",
"Database",
"dataToExpQ",
"decimal",
"decodeEither'",
"decodeFileEither",
"decodeUtf8",
"decodeUtf8'",
"Decoding",
"DecsQ",
"def",
"defAttr",
"Default",
"defaultConfig",
"defaultEncodeOptions",
"defaultFileServerSettings",
"defaultJSONKeyOptions",
"defaultLayoutOptions",
"defaultMultipartOptions",
"defaultNounPlural",
"defaultOptions",
"defaultParseRequestBodyOptions",
"defaultSetCookie",
"defaultSettings",
"defaultSyntaxSpec",
"defaultTabWidth",
@ -226,12 +250,25 @@
"Definition",
"defRenderingOptions",
"delete",
"deleteFindMin",
"deletePrevWord",
"deriveEq1",
"deriveOrd1",
"deriveShow1",
"Deriving",
"Diagnostic",
"Diagnostics",
"DiagnosticSeverity",
"DiagnosticSeverity_Error",
"DiagnosticSeverity_Warning",
"DiagnosticTag",
"DiagnosticTag_Unnecessary",
"dialog",
"Dialog",
"dialogSelection",
"DidChangeTextDocumentParams",
"difference",
"DiffTime",
"diffTimeSpec",
"diffUTCTime",
"Digest",
@ -266,9 +303,7 @@
"dropTrailingPathSeparator",
"dropWhile",
"dropWhileEnd",
"DsError",
"DsWarning",
"DtUnnecessary",
"duration",
"edge",
"Edges",
"Edit",
@ -278,6 +313,7 @@
"Effect",
"either",
"Either",
"eitherDecode",
"eitherDecodeFileStrict",
"eitherToMaybe",
"elem",
@ -286,13 +322,16 @@
"empty",
"_Empty",
"Empty",
"EmptyContext",
"emptyDoc",
"EmptyR",
"emptyWidget",
"enclose",
"encloseSep",
"encode",
"encodeFile",
"encodeUtf8",
"encodeWith",
"Encoding",
"English",
"entity",
@ -301,18 +340,25 @@
"Enumeration",
"Environment",
"eof",
"eol",
"Eq",
"EQ",
"Eq1",
"eq_sel",
"Equality",
"Err",
"err401",
"err403",
"err500",
"errBody",
"error",
"Error",
"errorBundlePretty",
"ErrorC",
"escapedChar",
"evalBoolExpr",
"evalIntBindingT",
"evalState",
"evalStateT",
"Event",
"EventM",
"Events",
@ -322,13 +368,16 @@
"Except",
"Exception",
"ExceptT",
"execAccum",
"execParser",
"execState",
"execStateT",
"execute",
"Exit",
"exitFailure",
"exp",
"Exp",
"Experimental",
"explicitParseField",
"explicitParseFieldMaybe",
"Exponent",
@ -346,10 +395,12 @@
"fail",
"Fail",
"Failure",
"Fallible",
"False",
"FancyError",
"fdFileName",
"fdPayload",
"fg",
"field",
"fieldLabelModifier",
"FileBrowser",
"fileBrowserException",
@ -358,6 +409,7 @@
"fileExtensionMatch",
"fileInfoFilePath",
"FilePath",
"files",
"Filesystem",
"FillIndent",
"fillStrategy",
@ -374,11 +426,11 @@
"FiniteBits",
"finiteBitSize",
"first",
"First",
"FirstContentType",
"firstJustM",
"Fix",
"Fixed",
"Fixedpoint",
"flag",
"flag'",
"flatAlt",
@ -400,13 +452,15 @@
"fold",
"Fold",
"Foldable",
"foldFix",
"folding",
"foldl",
"foldl'",
"foldlM",
"foldM",
"foldMap",
"foldr",
"foldr1",
"foldrM",
"foldrWithKey",
"for_",
"forceAttr",
@ -420,15 +474,16 @@
"Forms",
"FPFormat",
"Fractional",
"freeVar",
"freeze",
"Free",
"from",
"From",
"fromEnum",
"FromField",
"FromHttpApiData",
"fromInteger",
"fromIntegral",
"FromJSON",
"FromJSON1",
"fromJSONKey",
"FromJSONKey",
"fromList",
@ -436,7 +491,11 @@
"fromMapText",
"fromMaybe",
"fromNanoSecs",
"fromOnly",
"fromRight'",
"fromRow",
"FromRow",
"fromSet",
"fromStrict",
"fromString",
"fromText",
@ -447,11 +506,14 @@
"Functor",
"Fuzzy",
"Fwd",
"generalOptions",
"generateImage",
"generateSignatures",
"Generic",
"Generic1",
"genericFromJSONKey",
"genericLiftParseJSON",
"genericLiftToJSON",
"GenericList",
"genericParseJSON",
"Generics",
@ -460,15 +522,17 @@
"genericToJSONKey",
"get",
"Get",
"GET",
"getContents",
"getContext",
"getCurrentTime",
"getEditContents",
"getEnv",
"getFreeVars",
"getLast",
"getName",
"getOffset",
"gets",
"getTag",
"Getter",
"getTime",
"getVirtualFile",
@ -490,7 +554,9 @@
"groupAllWith",
"GT",
"guard",
"hAccept",
"halt",
"Handle",
"handleDialogEvent",
"handleEditorEvent",
"handleFileBrowserEvent",
@ -510,22 +576,26 @@
"hBorderWithLabel",
"hBox",
"hCenter",
"hCookie",
"_head",
"head",
"header",
"Header",
"Headers",
"heading",
"help",
"helper",
"hexadecimal",
"hidden",
"hLimit",
"hLimitPercent",
"Hover",
"HoverContents",
"hPrint",
"hPutStrLn",
"hScrollToBeginning",
"hsep",
"hSize",
"hspace1",
"Html",
"HTTP",
"HttpApiData",
@ -535,6 +605,7 @@
"IArray",
"id",
"Identity",
"ifiltered",
"image",
"Image",
"imageHeight",
@ -554,18 +625,19 @@
"initialPos",
"initialPosState",
"initialState",
"InL",
"Inlines",
"Input",
"InR",
"inRange",
"insert",
"insertChar",
"insertWith",
"Instances",
"int",
"Int",
"Int32",
"Int64",
"IntBindingT",
"Integer",
"Integral",
"intercalate",
@ -577,7 +649,6 @@
"IntMap",
"into",
"IntSet",
"IntVar",
"invalidateCache",
"invalidateCacheEntry",
"invalidFormInputAttr",
@ -592,6 +663,7 @@
"IsInline",
"isJust",
"IsList",
"isLower",
"isNothing",
"Iso",
"isPrefixOf",
@ -599,6 +671,7 @@
"isSpace",
"IsString",
"isSubsetOf",
"isUpper",
"italic",
"Item",
"iterate",
@ -652,7 +725,6 @@
"lefts",
"leftSection",
"length",
"lengthAsPosition",
"lens",
"Lens",
"Lens'",
@ -668,8 +740,16 @@
"Lift",
"liftA2",
"LiftC",
"liftCompare",
"liftCompareConst",
"liftEither",
"liftEq",
"liftEqConst",
"liftIO",
"liftParseJSON",
"liftShowsPrec",
"liftShowsPrecConst",
"liftToJSON",
"line",
"line'",
"Linear",
@ -709,6 +789,7 @@
"lookAhead",
"lookup",
"lookupExtent",
"lookupInput",
"lookupMin",
"lparen",
"LSP",
@ -733,13 +814,16 @@
"mapM_",
"mapMaybe",
"mapMaybeM",
"mapMaybeWithKey",
"mapMOf",
"mapped",
"mappend",
"mapReaderT",
"mapWithKey",
"Markdown",
"markdownWith",
"MarkupContent",
"MarkupKind",
"MarkupKind_Markdown",
"match",
"max",
"Max",
@ -753,14 +837,17 @@
"MaybeT",
"maybeToEither",
"maybeToList",
"maybeToNull",
"mconcat",
"MCtrl",
"Megaparsec",
"Mem",
"member",
"mempty",
"merge",
"Message",
"metavar",
"method",
"Method",
"Metric",
"mfix",
@ -769,9 +856,11 @@
"Min",
"minBound",
"Minimorph",
"mismatchFailure",
"minView",
"Mixed",
"mkAuthHandler",
"MkCoercible",
"mkM",
"MkMarkdown",
"mkName",
"mkPos",
"mkStdGen",
@ -782,14 +871,13 @@
"modify",
"modifyDefAttr",
"Monad",
"MonadError",
"MonadFail",
"MonadFix",
"MonadIO",
"MonadParsec",
"MonadPlus",
"MonadReader",
"MonadState",
"MonadThrow",
"MonadTrans",
"Monoid",
"Monotonic",
@ -799,10 +887,15 @@
"MouseUp",
"Move",
"moveCursor",
"moveLeft",
"mplus",
"MShift",
"msum",
"Mtl",
"Multipart",
"MultipartData",
"MultipartForm",
"MultipartOptions",
"Murmur",
"murmur3",
"MVar",
@ -824,6 +917,7 @@
"newManager",
"NLP",
"NoColor",
"NoContent",
"node",
"Node",
"NodeId",
@ -854,23 +948,28 @@
"object",
"Object",
"ObjectWithSingleField",
"occursFailure",
"octal",
"ok200",
"OldList",
"omitField",
"omitNothingFields",
"omittedField",
"on",
"onConfigurationChange",
"onConfigChange",
"One",
"oneOf",
"Only",
"OnRight",
"Operator",
"option",
"optional",
"options",
"Options",
"optTextDocumentSync",
"or",
"ord",
"Ord",
"Ord1",
"Ordering",
"origin",
"otherwise",
@ -900,6 +999,8 @@
"parse",
"Parse",
"Parsec",
"parseConfig",
"parseCookies",
"parseEither",
"ParseErrorBundle",
"parseErrorTextPretty",
@ -909,7 +1010,9 @@
"ParserCombinators",
"parseRequest",
"ParserInfo",
"parseSimpleQuery",
"parseUrlPiece",
"parseUrlThrow",
"parseVersion",
"partition",
"partitionBySource",
@ -922,6 +1025,7 @@
"pi",
"Picture",
"pIndex",
"Pixel",
"PixelRGBA8",
"plain",
"PlainText",
@ -936,8 +1040,10 @@
"Position",
"Positive",
"Posix",
"POSIX",
"PosState",
"Post",
"POST",
"Postfix",
"Prefix",
"preserveIndentation",
@ -956,6 +1062,7 @@
"Prism'",
"Profunctor",
"progDesc",
"Protocol",
"Proxy",
"pstateInput",
"pstateLinePrefix",
@ -974,6 +1081,8 @@
"Q",
"QuasiQuoter",
"query",
"query_",
"QueryParam",
"Quote",
"quoteDec",
"quoteExp",
@ -998,6 +1107,7 @@
"Read",
"readEither",
"Reader",
"ReaderC",
"Readers",
"ReaderT",
"readFile",
@ -1024,13 +1134,13 @@
"renderHtml",
"renderList",
"renderListWithIndex",
"renderSimpleQuery",
"renderStrict",
"renderString",
"renderTable",
"renderVScrollbar",
"renderVScrollbarTrough",
"Rep",
"repeat",
"replace",
"replicate",
"reportExtent",
@ -1042,6 +1152,7 @@
"Response",
"responseBody",
"responseExamples",
"ResponseHeaders",
"responseLBS",
"restrictKeys",
"return",
@ -1053,7 +1164,6 @@
"RGBColor",
"Right",
"rights",
"rightSection",
"ringTerminalBell",
"Rope",
"round",
@ -1075,6 +1185,7 @@
"runServer",
"runSettings",
"runState",
"runStateT",
"runThrow",
"safeWcwidth",
"same",
@ -1087,6 +1198,7 @@
"scrollbarWidthAllocation",
"Searchable",
"second",
"Seconds",
"selectNonDirectories",
"Semigroup",
"send",
@ -1097,18 +1209,30 @@
"sepBy1",
"sepEndBy1",
"Seq",
"sequence",
"Sequence",
"sequenceA",
"Servant",
"serve",
"serveDirectoryEmbedded",
"serveDirectoryWith",
"Server",
"ServerDefinition",
"ServerError",
"serveWithContext",
"Set",
"Set3",
"setBeforeMainLoop",
"SetCookie",
"setCookieMaxAge",
"setCookieName",
"setCookiePath",
"setCookieValue",
"setDefaultColAlignment",
"setFileBrowserEntryFilter",
"setMaxRequestFileSize",
"setMaxRequestKeyLength",
"setMaxRequestNumFiles",
"setMode",
"setOf",
"setPort",
@ -1122,22 +1246,34 @@
"short",
"show",
"Show",
"Show1",
"showDigest",
"showDot",
"showDuration",
"showFFloat",
"showFirstCursor",
"showParen",
"showSpace",
"showsPrec",
"showString",
"showVersion",
"Signed",
"Simple",
"simpleTable",
"singleSample",
"singleton",
"Singletons",
"SInitialized",
"size",
"Size",
"Skip",
"skipBlockComment",
"skipLineComment",
"skipMany",
"SMethod_Initialized",
"SMethod_TextDocumentDidChange",
"SMethod_TextDocumentDidOpen",
"SMethod_TextDocumentDidSave",
"SMethod_TextDocumentHover",
"snd",
"snoc",
"softBreak",
@ -1158,7 +1294,6 @@
"split",
"Split",
"splitAt",
"splitAtPosition",
"splitDirectories",
"splitExtension",
"splitFileName",
@ -1166,6 +1301,7 @@
"splitOn",
"splitPath",
"Splittable",
"SQLite",
"squotes",
"SRGB",
"sRGB24",
@ -1178,16 +1314,14 @@
"StateC",
"StateMachine",
"statePosState",
"StateT",
"StaticFiles",
"staticHandlers",
"Status",
"stderr",
"StdGen",
"StdHandles",
"STextDocumentDidChange",
"STextDocumentDidOpen",
"STextDocumentDidSave",
"STextDocumentHover",
"stimes",
"Storage",
"str",
"strArgument",
@ -1211,7 +1345,6 @@
"sum",
"Sum",
"sumEncoding",
"SumEncoding",
"supportsMode",
"surroundingBorder",
"swap",
@ -1235,8 +1368,8 @@
"takeMVar",
"takeWhile",
"takeWhileEnd",
"takeWhileP",
"takeWhileR",
"TdSyncFull",
"Terminal",
"test",
"testEquality",
@ -1244,11 +1377,11 @@
"text",
"Text",
"textDocument",
"TextDocument",
"textDocumentSync",
"TextDocumentSyncKind",
"TextDocumentSyncKind_Full",
"TextDocumentSyncOptions",
"TextDocumentVersion",
"Textual",
"textWidth",
"tGitInfoCwdTry",
"TH",
"thematicBreak",
@ -1270,8 +1403,11 @@
"toDescList",
"toEncoding",
"toEnum",
"toField",
"ToField",
"toJSON",
"ToJSON",
"ToJSON1",
"toJSONKey",
"ToJSONKey",
"toList",
@ -1279,15 +1415,19 @@
"toMapText",
"toNanoSecs",
"toNormalizedUri",
"ToRow",
"ToSample",
"toSamples",
"toSRGB24",
"toStrict",
"toString",
"toTitle",
"toUpper",
"Trans",
"transform",
"transpose",
"Traversable",
"traversal",
"Traversal",
"Traversal'",
"traverse",
@ -1314,13 +1454,10 @@
"underline",
"unFix",
"unfoldr",
"unfreeze",
"Unicode",
"Unifiable",
"Unification",
"UnicodeException",
"uniformR",
"UniformRange",
"unify",
"union",
"unions",
"unionsWith",
@ -1328,6 +1465,7 @@
"uniplate",
"universe",
"unless",
"unlessM",
"Unlift",
"unlines",
"unpack",
@ -1338,21 +1476,22 @@
"unTagged",
"UntaggedValue",
"unwords",
"unwrapUnaryRecords",
"unzip",
"Up",
"update",
"uri",
"Uri",
"URI",
"use",
"uses",
"UTCDiff",
"UTCTime",
"UTerm",
"Utf16",
"UTF_8",
"UTF8",
"Util",
"Utility",
"UVar",
"V2",
"Validation",
"validationToEither",
@ -1364,6 +1503,7 @@
"vBox",
"vcat",
"Vector",
"Verb",
"Verbs",
"Version",
"Vertical",
@ -1400,15 +1540,17 @@
"white",
"Widget",
"Widgets",
"width",
"Width",
"Window",
"Witch",
"withArray",
"withAttr",
"withBackColor",
"withConnection",
"withDefAttr",
"wither",
"Witherable",
"withExceptT",
"withFocusRing",
"withForeColor",
"WithIndex",
@ -1423,7 +1565,9 @@
"Word32",
"Word8",
"words",
"Words",
"Wrap",
"wrapFix",
"_Wrapped",
"Wrapped",
"WrapSettings",
@ -1442,7 +1586,6 @@
"zero",
"zip",
"zipFrom",
"zipMatch",
"Zipper",
"zipWith",
"zipWithM",

View File

@ -1,22 +1,9 @@
#!/bin/bash -e
# This script lives 1 level deep in the directory structure.
# Ensure its commands get run at the toplevel.
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
cd $SCRIPT_DIR/../..
# First, install hiedb:
#
# cabal install hiedb
#
# Then, generate *.hie files:
#
# cp hie.yaml.stack hie.yaml
# cabal build -j -O0
cd $(git rev-parse --show-toplevel)
DBNAME=hie.sqlite
hiedb --database $DBNAME index .hie
scripts/gen/hiedb.sh $DBNAME
WORDS_TMPFILE_UNSORTED=$(mktemp --suffix .words)

18
scripts/gen/hiedb.sh Executable file
View File

@ -0,0 +1,18 @@
#!/bin/bash -e
cd $(git rev-parse --show-toplevel)
DEFAULT_DBNAME=hie.sqlite
DBNAME=${1:-$DEFAULT_DBNAME}
# First, you may need to install hiedb:
#
# cabal install hiedb
rm -r .hie
cabal clean
# This generates *.hie files:
cabal build -j -O0
hiedb --reindex --database $DBNAME --src-base-dir . index .hie