backwards compat for traceM

This commit is contained in:
Stephen Diehl
2016-04-09 14:25:20 -04:00
parent 4bd0ed3e83
commit 8f6e97633c
2 changed files with 2 additions and 5 deletions
+2 -2
View File
@@ -35,8 +35,8 @@ traceShowM :: (P.Show a, P.Monad m) => a -> m ()
traceShowM a = T.traceM (P.show a) traceShowM a = T.traceM (P.show a)
{-# WARNING traceM "'traceM' remains in code" #-} {-# WARNING traceM "'traceM' remains in code" #-}
traceM :: P.Monad m => P.String -> m () traceM :: (P.Monad m) => P.String -> m ()
traceM = T.traceM traceM s = T.trace s (P.return ())
{-# WARNING traceIO "'traceIO' remains in code" #-} {-# WARNING traceIO "'traceIO' remains in code" #-}
traceIO :: P.String -> P.IO () traceIO :: P.String -> P.IO ()
-3
View File
@@ -178,12 +178,9 @@ import GHC.Generics (
, S1 , S1
, (:+:) , (:+:)
, (:*:) , (:*:)
, NoSelector
, Rec0 , Rec0
, Par0
, Constructor(..) , Constructor(..)
, Selector(..) , Selector(..)
, Arity(..)
, Fixity(..) , Fixity(..)
) )