Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 2nd, 2012  |  syntax: None  |  size: 0.52 KB  |  hits: 10  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Haddock hyperlinks and without warning about redundant imports
  2. {- |
  3.  
  4. Lots of Haddock text here... it references 'someFunction'.
  5.  
  6. -}
  7. module TopLevelDoc () where
  8.  
  9. import Other.Module.With.SomeFunction
  10.        
  11. Warning: The import of `Other.Module.With.SomeFunction' is redundant
  12.            except perhaps to import instances from `Other.Module.With.SomeFunction'
  13.          To import instances alone, use: import Other.Module.With.SomeFunction()
  14.        
  15. {-# OPTIONS_GHC -fno-warn-unused-imports #-}
  16.        
  17. -- | The identifier 'M.T' is not in scope