blob: ece70bf9dfe4cc4d8885989d91885db203c198dd (
plain)
1
2
3
4
5
6
7
8
9
|
{-# OPTIONS_GHC -fwarn-unused-imports #-}
module Test where
import qualified Control.Monad (ap)
-- Test that GHC warns about the following unused import:
import qualified Control.Monad.Reader
foo :: IO ()
foo = return id `Control.Monad.ap` return ()
|