From 2c2aaf1598c1be28716a4b31594b6b8b9a886b36 Mon Sep 17 00:00:00 2001 From: Ross Paterson Date: Wed, 15 Mar 2006 09:29:42 +0000 Subject: [PATCH] deprecate FunctorM in favour of Foldable and Traversable as discussed on the libraries list. --- Data/FunctorM.hs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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 -- 1.7.10.4