diff options
Diffstat (limited to 'Pipes/Text/IO.hs')
-rw-r--r-- | Pipes/Text/IO.hs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Pipes/Text/IO.hs b/Pipes/Text/IO.hs index de49c7b..4a092b1 100644 --- a/Pipes/Text/IO.hs +++ b/Pipes/Text/IO.hs | |||
@@ -169,9 +169,6 @@ toHandle :: MonadIO m => IO.Handle -> Consumer' Text m r | |||
169 | toHandle h = for cat (liftIO . T.hPutStr h) | 169 | toHandle h = for cat (liftIO . T.hPutStr h) |
170 | {-# INLINABLE toHandle #-} | 170 | {-# INLINABLE toHandle #-} |
171 | 171 | ||
172 | {-# RULES "p >-> toHandle h" forall p h . | ||
173 | p >-> toHandle h = for p (\txt -> liftIO (T.hPutStr h txt)) | ||
174 | #-} | ||
175 | 172 | ||
176 | 173 | ||
177 | -- | Stream text into a file. Uses @pipes-safe@. | 174 | -- | Stream text into a file. Uses @pipes-safe@. |