Is there a way to parse haskell source and for given import check if it is redundant?

haskell-src should be useful, but I've found nothing similar here.

Edit
Report