id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,os,architecture,failure,difficulty,testcase,blockedby,blocking,related
3464,Find import declaration importing a certain function,fasta,,"Given the command 

{{{
:find foo
}}}

, find all import declaration that import this symbol. 

Example: 
{{{
> *ModA *ModB *ModC are loaded. 
}}}

Suppose the modules all export Data.List. 

So, 
given 

{{{
module ModX(module Data.List) where import Data.List 
}}}
with X \in {A,B,C}

Now, when one currently does :i for a function in Data.List, one gets back that it is defined in Data.List, but that's not the information the user is interested in. The user wants to know which _modules_ define a certain symbol, so in this case it should say that modules ModA, ModB and ModC brought that symbol into scope. 

The user-interface could also simply be :i as it is now, but with one extra line saying where it was imported. 


",feature request,new,low,7.6.2,GHCi,6.10.4,,,,Unknown/Multiple,Unknown/Multiple,None/Unknown,Unknown,,,,
