[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/haskell-tng-mode f5d76fc 348/385: tidy docs
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/haskell-tng-mode f5d76fc 348/385: tidy docs |
Date: |
Wed, 6 Oct 2021 00:00:02 -0400 (EDT) |
branch: elpa/haskell-tng-mode
commit f5d76fc605487241f9a790aa6ee05bf06cac6970
Author: Tseen She <ts33n.sh3@gmail.com>
Commit: Tseen She <ts33n.sh3@gmail.com>
tidy docs
---
haskell-tng-hsinspect.el | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/haskell-tng-hsinspect.el b/haskell-tng-hsinspect.el
index ee0e086..e8c6120 100644
--- a/haskell-tng-hsinspect.el
+++ b/haskell-tng-hsinspect.el
@@ -67,7 +67,7 @@ definition of the symbol in the build tool's source archive."
;; this will only work properly if hsinspect includes all the
;; unexported modules for inplace packages. It's starting to
;; sound like a very complex feature... and perhaps not worth
- ;; implementing given that TAGS would just great.
+ ;; implementing given that TAGS work just great.
(error "%s is defined in a local package" qualified)
(when-let* ((srcid (or internal-srcid (alist-get 'srcid pkg-entry)))
(module (or internal-module (alist-get 'module
module-entry)))
@@ -134,6 +134,7 @@ definition of the symbol in the build tool's source
archive."
;; TODO populate with even more than this
'(("Data.Aeson" . "Json")
("Data.List" . "L")
+ ("Data.List" . "List")
("Data.List.NonEmpty" . "NE")
("Data.List.NonEmpty" . "NEL")
("Data.Set" . "S")
@@ -143,7 +144,15 @@ definition of the symbol in the build tool's source
archive."
("Data.ByteString" . "BS")
("Data.ByteString.Lazy" . "LBS")
("Data.Text" . "T"))
- "An alist of (MODULE . NAME) to use for qualified imports.")
+ "An alist of (MODULE . NAME) to use for qualified imports.
+
+The first matching MODULE is expanded into NAME when expanding an
+unqualified symbol into a qualified one. If one is not provided
+here, the short module name is used.
+
+The first matching NAME is imported as MODULE when importing a
+qualified symbol. In such cases, the short module name is not
+automatically used and must be provided.")
(put 'haskell-tng-hsinspect-as 'safe-local-variable #'listp)
(defun haskell-tng--hsinspect-as (module)
(or
- [nongnu] elpa/haskell-tng-mode d611f0b 322/385: thots, (continued)
- [nongnu] elpa/haskell-tng-mode d611f0b 322/385: thots, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode a717a50 331/385: allow workflow with qualified imports as default, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 70e649b 330/385: import qualified is even smarter, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 5a064fd 328/385: hypen prefix asks to qualify the import, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode c42b5c5 338/385: use url-copy-path instead of shelling out, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 8405852 351/385: document bugs and ideas, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode f429326 327/385: thots, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 8bb3c34 363/385: the in-memory cache doesn't have to cache nil, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode f5977b6 339/385: bugfix for source downloading, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 9359c7b 349/385: cl-loop, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode f5d76fc 348/385: tidy docs,
ELPA Syncer <=
- [nongnu] elpa/haskell-tng-mode 3b37524 360/385: bugfix for qualified imports when the cache was bad, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode fe2b164 372/385: fix the build, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 63225d5 374/385: use .ghc.path to find hsinspect, build tool agnostic, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 3d1122b 116/385: notes on regexps, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode c3793b2 176/385: canonical until macro, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode b7cb5b9 214/385: starting to create imenu, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 5306ae2 217/385: fix type faces with constraints, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 5f81d6b 219/385: bump python version, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 8f4d7fc 225/385: advice around smartparens workaround, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 4cbf702 205/385: move third party deps to -contrib, ELPA Syncer, 2021/10/06