on master help sign in
Remove redundant -Wno-orphans
commit6107908063fc807a14fd0e9fa4ce4a977320d6c1 authorHarendra Kumar <harendra@composewell.com> dateTue 13 Dec 2022, 23:52 (4 years ago) parent41b1258
6 files changed+2−13
core/src/Streamly/Data/Stream.hs−4 core/src/Streamly/Internal/Data/Array/Generic.hs+2−4 core/src/Streamly/Internal/Data/Parser/Chunked.hs−2 core/src/Streamly/Internal/Data/Unboxed.hs−1 src/Streamly.hs−1 src/Streamly/Prelude.hs−1
core/src/Streamly/Data/Stream.hs−4
@@ -1,7 +1,3 @@
1−{-# OPTIONS_GHC -Wno-orphans #-}
2−
3−#include "inline.hs"
4−
51-- |
62-- Module : Streamly.Data.Stream
73-- 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−
51-- |
62-- Module : Streamly.Internal.Data.Array.Generic
73-- Copyright : (c) 2019 Composewell Technologies
@@ -50,6 +46,8 @@ module Streamly.Internal.Data.Array.Generic
5046 )
5147where
5248
49+#include "inline.hs"
50+
5351import Control.Monad (when, replicateM)
5452import Control.Monad.IO.Class (liftIO, MonadIO)
5553import GHC.Base (MutableArray#, RealWorld)
core/src/Streamly/Internal/Data/Parser/Chunked.hs−2
@@ -1,5 +1,3 @@
1−{-# OPTIONS_GHC -Wno-orphans #-}
2−
31-- |
42-- Module : Streamly.Internal.Data.Parser.Chunked
53-- Copyright : (c) 2020 Composewell Technologies
core/src/Streamly/Internal/Data/Unboxed.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -fno-warn-orphans #-}
21{-# LANGUAGE UnboxedTuples #-}
32
43module Streamly.Internal.Data.Unboxed
src/Streamly.hs−1
@@ -54,7 +54,6 @@
5454-- package.
5555
5656{-# LANGUAGE NoMonomorphismRestriction #-}
57−{-# OPTIONS_GHC -Wno-orphans #-}
5857
5958#include "inline.hs"
6059
src/Streamly/Prelude.hs−1
@@ -1,5 +1,4 @@
11{-# OPTIONS_GHC -Wno-deprecations #-}
2−{-# OPTIONS_GHC -Wno-orphans #-}
32
43#include "inline.hs"
54