Skip to content

Commit 2d3dd22

Browse files
author
Philipp Schuster
committed
Update Readme.
1 parent a782b34 commit 2d3dd22

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ haskell-names does name and module resolution for haskell-src-exts AST.
55

66
Namely, 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].
2323
Environments
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
2828
a JSON format.
2929
For 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-
156154
The core module you need is [Language.Haskell.Names][]
157155

158156
Other modules are more experimental, less documented, and you probably don't need

0 commit comments

Comments
 (0)