backwards compat for traceM
This commit is contained in:
+2
-2
@@ -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 ()
|
||||||
|
|||||||
@@ -178,12 +178,9 @@ import GHC.Generics (
|
|||||||
, S1
|
, S1
|
||||||
, (:+:)
|
, (:+:)
|
||||||
, (:*:)
|
, (:*:)
|
||||||
, NoSelector
|
|
||||||
, Rec0
|
, Rec0
|
||||||
, Par0
|
|
||||||
, Constructor(..)
|
, Constructor(..)
|
||||||
, Selector(..)
|
, Selector(..)
|
||||||
, Arity(..)
|
|
||||||
, Fixity(..)
|
, Fixity(..)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user