on master help sign in
Mention changelog in deprecation message
commit1a89d207c99f004e2ce8ab2076ff686ccc0a9aeb authorHarendra Kumar <harendra.kumar@gmail.com> dateSat 3 Aug 2019, 05:11 (7 years ago) parentea342a4
1 file changed+4−2
src/Streamly/Prelude.hs+4−2
src/Streamly/Prelude.hs+4−2
@@ -874,7 +874,8 @@ each = K.fromFoldable
874874-- | Read lines from an IO Handle into a stream of Strings.
875875--
876876-- @since 0.1.0
877−{-# DEPRECATED fromHandle "Please use Streamly.FileSystem.Handle instead." #-}
877+{-# DEPRECATED fromHandle
878+ "Please use Streamly.FileSystem.Handle module (see the changelog)" #-}
878879fromHandle :: (IsStream t, MonadIO m) => IO.Handle -> t m String
879880fromHandle h = go
880881 where
@@ -1589,7 +1590,8 @@ _toListRev = D.toListRev . toStreamD
15891590-- Write a stream of Strings to an IO Handle.
15901591--
15911592-- @since 0.1.0
1592−{-# DEPRECATED toHandle "Please use Streamly.FileSystem.Handle instead." #-}
1593+{-# DEPRECATED toHandle
1594+ "Please use Streamly.FileSystem.Handle module (see the changelog)" #-}
15931595toHandle :: MonadIO m => IO.Handle -> SerialT m String -> m ()
15941596toHandle h m = go m
15951597 where