branch: elpa/haskell-tng-mode commit 6299e6d0cdd26789ec0d80fc74ba19c978da7457 Author: Tseen She <ts33n....@gmail.com> Commit: Tseen She <ts33n....@gmail.com>
amazeballs idea --- haskell-tng-hsinspect.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/haskell-tng-hsinspect.el b/haskell-tng-hsinspect.el index f95fe5e..aa29f9c 100644 --- a/haskell-tng-hsinspect.el +++ b/haskell-tng-hsinspect.el @@ -63,6 +63,9 @@ A prefix argument ensures that caches are flushes." ;; TODO add the type around data constructors (requires hsinspect changes) (haskell-tng--import-symbol (car hit) nil (cdr hit)))))) +;; TODO expand out pattern matches (function defns and cases) based on the cons +;; for a type obtained from the Index. + (defun haskell-tng--hsinspect-import-popup (index sym) (when-let ((hits (haskell-tng--hsinspect-import-candidates index sym))) ;; TODO special case one hit