From: Ross Paterson Date: Wed, 15 Mar 2006 09:29:42 +0000 (+0000) Subject: deprecate FunctorM in favour of Foldable and Traversable X-Git-Tag: directory_2007-05-24~322 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=2c2aaf1598c1be28716a4b31594b6b8b9a886b36;p=haskell-directory.git deprecate FunctorM in favour of Foldable and Traversable as discussed on the libraries list. --- diff --git a/Data/FunctorM.hs b/Data/FunctorM.hs index e0e1da4..086c374 100644 --- a/Data/FunctorM.hs +++ b/Data/FunctorM.hs @@ -10,11 +10,15 @@ -- -- 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 Data.FunctorM ( - FunctorM(..) - ) where +module Data.FunctorM +{-# DEPRECATED "Use the more general Data.Foldable and Data.Traversable instead" #-} + (FunctorM(..)) where import Prelude import Data.Array