Removed redundant constraint from ignoreTrace (#178)

This commit is contained in:
KingoftheHomeless 2019-07-16 22:24:56 +02:00 committed by Sandy Maguire
parent de1607ea1b
commit 8812d0a6b9

View File

@ -39,7 +39,7 @@ traceToIO = interpret $ \case
------------------------------------------------------------------------------
-- | Run a 'Trace' effect by ignoring all of its messages.
ignoreTrace :: Member (Embed IO) r => Sem (Trace ': r) a -> Sem r a
ignoreTrace :: Sem (Trace ': r) a -> Sem r a
ignoreTrace = interpret $ \case
Trace _ -> pure ()
{-# INLINE ignoreTrace #-}