remove conflicting import for nhc98
[haskell-directory.git] / Data / FunctorM.hs
index 193047d..086c374 100644 (file)
 --
 -- fmapM generalises fmap, just as mapM generalises map.
 --
+-- NOTE: This module is DEPRECATED.
+-- The classes in "Data.Foldable" and "Data.Traversable" provide a
+-- more general interface.
+--
 -----------------------------------------------------------------------------
 
-module FunctorM (
-       FunctorM(..)
-  ) where
+module Data.FunctorM
+{-# DEPRECATED "Use the more general Data.Foldable and Data.Traversable instead" #-}
+  (FunctorM(..)) where
 
 import Prelude
 import Data.Array