Removing the MonadGroup class. This is to reflect the removal of the default grouping...
authorGeorge Giorgidze <giorgidze@gmail.com>
Wed, 2 Nov 2011 22:46:01 +0000 (23:46 +0100)
committerIan Lynagh <igloo@earth.li>
Sat, 7 Jan 2012 14:31:00 +0000 (14:31 +0000)
Control/Monad/Group.hs [deleted file]
base.cabal

diff --git a/Control/Monad/Group.hs b/Control/Monad/Group.hs
deleted file mode 100644 (file)
index a3c36a2..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-{-# LANGUAGE Trustworthy #-}
-
------------------------------------------------------------------------------
--- |
--- Module      :  Control.Monad.Group
--- Copyright   :  (c) Nils Schweinsberg 2011,
---                (c) University Tuebingen 2011
--- License     :  BSD-style (see the file libraries/base/LICENSE)
--- Maintainer  :  libraries@haskell.org
--- Stability   :  experimental
--- Portability :  non-portable
---
--- Monadic grouping (used for monad comprehensions)
---
------------------------------------------------------------------------------
-
-{-# LANGUAGE CPP, MultiParamTypeClasses, FlexibleInstances #-}
-
-module Control.Monad.Group where
-
-import Prelude
-#if defined(__GLASGOW_HASKELL__)
-import GHC.Exts (groupWith)
-#endif
-
--- | `MonadGroup` type class without restrictions on the type `t`
-class Monad m => MonadGroup m t where
-    mgroupWith :: (a -> t) -> m a -> m (m a)
-
-#if defined(__GLASGOW_HASKELL__)
--- | Grouping instance for lists using the `groupWith` function from the
--- "GHC.Exts" library
-instance Ord t => MonadGroup [] t where
-    mgroupWith = groupWith
-#endif
-
index f593352..68f2ebf 100644 (file)
@@ -131,7 +131,6 @@ Library {
         Control.Monad.ST.Lazy.Safe,
         Control.Monad.ST.Lazy.Unsafe,
         Control.Monad.ST.Strict,
-        Control.Monad.Group
         Control.Monad.Zip
         Data.Bits,
         Data.Bool,