[commit: packages/random] master: Hide empty when importing Control.Monad. (23f7d4e)

git at git.haskell.org git at git.haskell.org
Thu Mar 19 15:45:39 UTC 2015


Repository : ssh://git@git.haskell.org/random

On branch  : master
Link       : http://git.haskell.org/packages/random.git/commitdiff/23f7d4e4c745a9c5d2769cccdc2025c6a66af1c7

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

commit 23f7d4e4c745a9c5d2769cccdc2025c6a66af1c7
Author: Geoffrey Mainland <mainland at apeiron.net>
Date:   Tue Sep 16 11:56:31 2014 -0400

    Hide empty when importing Control.Monad.
    
    This is need for compatibility with AMP since Control.Monad now exports
    empty.


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

23f7d4e4c745a9c5d2769cccdc2025c6a66af1c7
 tests/random1283.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/random1283.hs b/tests/random1283.hs
index 2ad3530..33fc488 100644
--- a/tests/random1283.hs
+++ b/tests/random1283.hs
@@ -1,5 +1,5 @@
 import Control.Concurrent
-import Control.Monad
+import Control.Monad hiding (empty)
 import Data.Sequence (ViewL(..), empty, fromList, viewl, (<|), (|>), (><))
 import System.Random
 



More information about the ghc-commits mailing list