Remove unused UndecidableInstances pragma
commitf56c8f227401406e506382b10963f1237dcd2ac6
authorHarendra Kumar <harendra@composewell.com>
dateWed 11 Jan 2023, 12:38 (4 years ago)
parentbd98981
core/src/Streamly/Internal/Data/Parser/Chunked/Type.hs+2−3
@@ -1,6 +1,3 @@
1−{-# LANGUAGE UndecidableInstances #-}
2−#include "inline.hs"
3−
41-- |
52-- Module : Streamly.Internal.Data.Parser.Chunked.Type
63-- Copyright : (c) 2020 Composewell Technologies
@@ -33,6 +30,8 @@ module Streamly.Internal.Data.Parser.Chunked.Type
3330 )
3431where
3532
33+#include "inline.hs"
34+
3635import Control.Applicative (Alternative(..), liftA2)
3736import Control.Monad (MonadPlus(..), ap)
3837import Control.Monad.IO.Class (MonadIO, liftIO)
core/src/Streamly/Internal/Data/Parser/ParserD/Type.hs+1−3
@@ -1,6 +1,3 @@
1−{-# LANGUAGE UndecidableInstances #-}
2−#include "inline.hs"
3−
41-- |
52-- Module : Streamly.Internal.Data.Parser.ParserD.Type
63-- Copyright : (c) 2020 Composewell Technologies
@@ -205,6 +202,7 @@ module Streamly.Internal.Data.Parser.ParserD.Type
205202 )
206203where
207204
205+#include "inline.hs"
208206#include "assert.hs"
209207
210208import Control.Applicative (Alternative(..), liftA2)
core/src/Streamly/Internal/Data/Parser/ParserK/Type.hs+2−3
@@ -1,6 +1,3 @@
1−{-# LANGUAGE UndecidableInstances #-}
2−#include "inline.hs"
3−
41-- |
52-- Module : Streamly.Internal.Data.Parser.ParserK.Type
63-- Copyright : (c) 2020 Composewell Technologies
@@ -30,6 +27,8 @@ module Streamly.Internal.Data.Parser.ParserK.Type
3027 )
3128where
3229
30+#include "inline.hs"
31+
3332import Control.Applicative (Alternative(..), liftA2)
3433import Control.Monad (MonadPlus(..), ap)
3534import Control.Monad.IO.Class (MonadIO, liftIO)
core/src/Streamly/Internal/Data/Stream/Common.hs−1
@@ -1,4 +1,3 @@
1−{-# LANGUAGE UndecidableInstances #-}
21{-# OPTIONS_GHC -Wno-orphans #-}
32
43-- |
core/src/Streamly/Internal/Data/Stream/StreamK.hs+1−4
@@ -1,7 +1,3 @@
1−{-# LANGUAGE UndecidableInstances #-}
2−
3−#include "inline.hs"
4−
51-- |
62-- Module : Streamly.Internal.Data.Stream.StreamK
73-- Copyright : (c) 2017 Composewell Technologies
@@ -175,6 +171,7 @@ module Streamly.Internal.Data.Stream.StreamK
175171 )
176172where
177173
174+#include "inline.hs"
178175#include "assert.hs"
179176
180177import Control.Monad (void, join)
core/src/Streamly/Internal/Data/Stream/StreamK/Type.hs+2−4
@@ -1,7 +1,3 @@
1−{-# LANGUAGE UndecidableInstances #-}
2−
3−#include "inline.hs"
4−
51-- |
62-- Module : Streamly.Internal.Data.Stream.StreamK.Type
73-- Copyright : (c) 2017 Composewell Technologies
@@ -103,6 +99,8 @@ module Streamly.Internal.Data.Stream.StreamK.Type
10399 )
104100where
105101
102+#include "inline.hs"
103+
106104-- import Control.Applicative (liftA2)
107105import Control.Monad ((>=>))
108106import Data.Function (fix)