diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2014-09-18 23:05:35 +0200 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2014-09-18 23:07:35 +0200 |
commit | eae19112462fe77a3f1298bff12b409b205a581d (patch) | |
tree | 1cf7c44ad1e064a34b0eebb74a996e58ad3b440f /libraries/base/Data/Data.hs | |
parent | 8b9083655f34120b47fe407123272e0687e0bd60 (diff) | |
download | haskell-eae19112462fe77a3f1298bff12b409b205a581d.tar.gz |
Move `when` to GHC.Base
This allows several modules to avoid importing Control.Monad and thus break
import cycles that manifest themselves when implementing #9586
Reviewed By: austin, ekmett
Differential Revision: https://phabricator.haskell.org/D222
Diffstat (limited to 'libraries/base/Data/Data.hs')
-rw-r--r-- | libraries/base/Data/Data.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/Data/Data.hs b/libraries/base/Data/Data.hs index 8407c6f1ba..c6ee6f0f04 100644 --- a/libraries/base/Data/Data.hs +++ b/libraries/base/Data/Data.hs @@ -107,7 +107,7 @@ module Data.Data ( ------------------------------------------------------------------------------ -import Control.Monad +import Control.Monad ( MonadPlus(..) ) import Data.Either import Data.Eq import Data.Maybe |