branch: elpa/haskell-tng-mode commit 232baf8148dd5b02e5644413cc8321c007bbb327 Author: Tseen She <ts33n....@gmail.com> Commit: Tseen She <ts33n....@gmail.com>
less import suggestions --- haskell-tng-hsinspect.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/haskell-tng-hsinspect.el b/haskell-tng-hsinspect.el index 26be915..7b26983 100644 --- a/haskell-tng-hsinspect.el +++ b/haskell-tng-hsinspect.el @@ -383,7 +383,13 @@ When using hsinspect-0.0.9, also: srcid." (export (alist-get 'export entry)) (flavour (alist-get 'flavour entry))) ;; TODO alist variable binding like RecordWildcards - (when (or (equal name sym) (equal type sym)) + (when (or + (and + (member class '(id con pat)) + (equal name sym)) + (and + (equal class 'tycon) + (equal type sym))) `(((srcid . ,srcid) (module . ,module) (name . ,name)