[GHC] #15335: Export `findImportUsage` from `rename/RnNames.hs` module

GHC ghc-devs at haskell.org
Tue Jul 3 01:40:03 UTC 2018


#15335: Export `findImportUsage` from `rename/RnNames.hs` module
-------------------------------------+-------------------------------------
           Reporter:  chshersh       |             Owner:  (none)
               Type:  feature        |            Status:  new
  request                            |
           Priority:  normal         |         Milestone:  8.6.1
          Component:  Compiler       |           Version:  8.4.3
           Keywords:                 |  Operating System:  Unknown/Multiple
  imports,refactoring,export         |
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 I'm writing source plugin for analyzing imports in Haskell source code. I
 don't want to duplicate code already written in GHC. So I would like to
 have `findImportUsage` function and `ImportDeclUsage` type aliases
 exported from `RnNames` module:

 *
 [https://github.com/ghc/ghc/blob/ccd8ce405db89142932daea3fdace8814b110798/compiler/rename/RnNames.hs#L1314-L1318
 GitHub: ghc/compilier/rename/RnNames]

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15335>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list