on master help sign in
Fix warnings generated by Werror.
commitc2aec505d173ffeb7b6005b07cd3c13655dde80f authorPranay Sashank <pranaysashank@gmail.com> dateThu 14 Nov 2019, 14:29 (7 years ago) parent9183e21
2 files changed+3−1
src/Streamly/Internal/Data/Pipe/Types.hs+2 src/Streamly/Streams/StreamD.hs+1−1
src/Streamly/Internal/Data/Pipe/Types.hs+2
@@ -26,7 +26,9 @@ where
2626import Control.Arrow (Arrow(..))
2727import Control.Category (Category(..))
2828import Data.Maybe (isJust)
29+#if __GLASGOW_HASKELL__ < 808
2930import Data.Semigroup (Semigroup(..))
31+#endif
3032import Prelude hiding (zipWith, map, id, unzip, null)
3133import Streamly.Internal.Data.Strict (Tuple'(..), Tuple3'(..))
3234
src/Streamly/Streams/StreamD.hs+1−1
@@ -305,7 +305,7 @@ import Data.Maybe (fromJust, isJust)
305305import Data.Word (Word32)
306306import Foreign.Ptr (Ptr)
307307import Foreign.Storable (Storable(..))
308−import GHC.Base (assert, Char(..), unsafeChr, ord)
308+import GHC.Base (assert, unsafeChr, ord)
309309import GHC.IO.Encoding.Failure (isSurrogate)
310310import GHC.ForeignPtr (ForeignPtr (..))
311311import GHC.Ptr (Ptr (..))