@@ -5,9 +5,9 @@ haskell-names does name and module resolution for haskell-src-exts AST.
55
66Namely, it can do the following:
77
8- * for a liat of modules, compute the lists of symbols they export .
8+ * For a list of modules, compute the list of symbols each module exports .
99 This is called ` resolve ` .
10- * for each name in a module, figure out what it refers to — whether it's bound
10+ * For each name in a module, figure out what it refers to — whether it's bound
1111 locally (say, by a ` where ` clause) or globally (and then give its origin).
1212 This is called ` annotate ` .
1313
@@ -23,8 +23,8 @@ a development version of [haskell-src-exts][hse].
2323Environments
2424-----------------
2525
26- An environment is a map from module name to list of entities the module exports.
27- Entities are for example types, class , functions etc. We store these lists in
26+ An environment is a map from module name to list of symbols the module exports.
27+ Symbols are for example types, classes , functions etc. We persist these lists in
2828a JSON format.
2929For example, here are a couple of entries from ` Prelude.names ` :
3030
@@ -151,8 +151,6 @@ main = do
151151
152152### API documentation
153153
154- See [ haskell-names haddock documentation] [ doc-index ] .
155-
156154The core module you need is [ Language.Haskell.Names] [ ]
157155
158156Other modules are more experimental, less documented, and you probably don't need
0 commit comments