[commit: base] master: Give Control.Monad.Instances a proper DEPRECATED pragma (3020c9c)

Ian Lynagh igloo at earth.li
Sat Feb 16 18:23:04 CET 2013


Repository : ssh://darcs.haskell.org//srv/darcs/packages/base

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/3020c9c9d991b7edd7a39d350877834e5bb9f288

>---------------------------------------------------------------

commit 3020c9c9d991b7edd7a39d350877834e5bb9f288
Author: Ian Lynagh <ian at well-typed.com>
Date:   Sat Feb 16 13:47:41 2013 +0000

    Give Control.Monad.Instances a proper DEPRECATED pragma

>---------------------------------------------------------------

 Control/Monad/Instances.hs |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Control/Monad/Instances.hs b/Control/Monad/Instances.hs
index 353f1c4..687d33c 100644
--- a/Control/Monad/Instances.hs
+++ b/Control/Monad/Instances.hs
@@ -15,6 +15,7 @@
 -- 'Functor' and 'Monad' instances for @(->) r@ and
 -- 'Functor' instances for @(,) a@ and @'Either' a at .
 
-module Control.Monad.Instances (Functor(..),Monad(..)) where
--- module DEPRECATED -- deprecated in 7.6
+module Control.Monad.Instances {-# DEPRECATED "This module now contains no instances and will be removed in the future" #-} -- deprecated in 7.8
+    (Functor(..),Monad(..)) where
+
 import Prelude





More information about the ghc-commits mailing list