on master help sign in
Remove redundant -Wno-orphans
6107908Harendra Kumar
core/src/Streamly/Data/Stream.hs−4
@@ -1,7 +1,3 @@
1−{-# OPTIONS_GHC -Wno-orphans #-}
2−
3−#include "inline.hs"
4−
5-- |
1-- |
6-- Module : Streamly.Data.Stream
2-- Module : Streamly.Data.Stream
7-- Copyright : (c) 2017 Composewell Technologies
3-- Copyright : (c) 2017 Composewell Technologies
core/src/Streamly/Internal/Data/Array/Generic.hs+2−4
@@ -1,7 +1,3 @@
1−{-# OPTIONS_GHC -fno-warn-orphans #-}
2−
3−#include "inline.hs"
4−
5-- |
1-- |
6-- Module : Streamly.Internal.Data.Array.Generic
2-- Module : Streamly.Internal.Data.Array.Generic
7-- Copyright : (c) 2019 Composewell Technologies
3-- Copyright : (c) 2019 Composewell Technologies
@@ -50,6 +46,8 @@ module Streamly.Internal.Data.Array.Generic
50 )
46 )
51where
47where
52
48
49+#include "inline.hs"
50+
53import Control.Monad (when, replicateM)
51import Control.Monad (when, replicateM)
54import Control.Monad.IO.Class (liftIO, MonadIO)
52import Control.Monad.IO.Class (liftIO, MonadIO)
55import GHC.Base (MutableArray#, RealWorld)
53import GHC.Base (MutableArray#, RealWorld)
core/src/Streamly/Internal/Data/Parser/Chunked.hs−2
@@ -1,5 +1,3 @@
1−{-# OPTIONS_GHC -Wno-orphans #-}
2−
3-- |
1-- |
4-- Module : Streamly.Internal.Data.Parser.Chunked
2-- Module : Streamly.Internal.Data.Parser.Chunked
5-- Copyright : (c) 2020 Composewell Technologies
3-- Copyright : (c) 2020 Composewell Technologies
core/src/Streamly/Internal/Data/Unboxed.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -fno-warn-orphans #-}
2{-# LANGUAGE UnboxedTuples #-}
1{-# LANGUAGE UnboxedTuples #-}
3
2
4module Streamly.Internal.Data.Unboxed
3module Streamly.Internal.Data.Unboxed
src/Streamly.hs−1
@@ -54,7 +54,6 @@
54-- package.
54-- package.
55
55
56{-# LANGUAGE NoMonomorphismRestriction #-}
56{-# LANGUAGE NoMonomorphismRestriction #-}
57−{-# OPTIONS_GHC -Wno-orphans #-}
58
57
59#include "inline.hs"
58#include "inline.hs"
60
59
src/Streamly/Prelude.hs−1
@@ -1,5 +1,4 @@
1{-# OPTIONS_GHC -Wno-deprecations #-}
1{-# OPTIONS_GHC -Wno-deprecations #-}
2−{-# OPTIONS_GHC -Wno-orphans #-}
3
2
4#include "inline.hs"
3#include "inline.hs"
5
4