on master help sign in
Remove unused UndecidableInstances pragma
f56c8f2Harendra Kumar
core/src/Streamly/Internal/Data/Parser/Chunked/Type.hs+2−3
@@ -1,6 +1,3 @@
1−{-# LANGUAGE UndecidableInstances #-}
2−#include "inline.hs"
3−
4-- |
1-- |
5-- Module : Streamly.Internal.Data.Parser.Chunked.Type
2-- Module : Streamly.Internal.Data.Parser.Chunked.Type
6-- Copyright : (c) 2020 Composewell Technologies
3-- Copyright : (c) 2020 Composewell Technologies
@@ -33,6 +30,8 @@ module Streamly.Internal.Data.Parser.Chunked.Type
33 )
30 )
34where
31where
35
32
33+#include "inline.hs"
34+
36import Control.Applicative (Alternative(..), liftA2)
35import Control.Applicative (Alternative(..), liftA2)
37import Control.Monad (MonadPlus(..), ap)
36import Control.Monad (MonadPlus(..), ap)
38import Control.Monad.IO.Class (MonadIO, liftIO)
37import 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−
4-- |
1-- |
5-- Module : Streamly.Internal.Data.Parser.ParserD.Type
2-- Module : Streamly.Internal.Data.Parser.ParserD.Type
6-- Copyright : (c) 2020 Composewell Technologies
3-- Copyright : (c) 2020 Composewell Technologies
@@ -205,6 +202,7 @@ module Streamly.Internal.Data.Parser.ParserD.Type
205 )
202 )
206where
203where
207
204
205+#include "inline.hs"
208#include "assert.hs"
206#include "assert.hs"
209
207
210import Control.Applicative (Alternative(..), liftA2)
208import 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−
4-- |
1-- |
5-- Module : Streamly.Internal.Data.Parser.ParserK.Type
2-- Module : Streamly.Internal.Data.Parser.ParserK.Type
6-- Copyright : (c) 2020 Composewell Technologies
3-- Copyright : (c) 2020 Composewell Technologies
@@ -30,6 +27,8 @@ module Streamly.Internal.Data.Parser.ParserK.Type
30 )
27 )
31where
28where
32
29
30+#include "inline.hs"
31+
33import Control.Applicative (Alternative(..), liftA2)
32import Control.Applicative (Alternative(..), liftA2)
34import Control.Monad (MonadPlus(..), ap)
33import Control.Monad (MonadPlus(..), ap)
35import Control.Monad.IO.Class (MonadIO, liftIO)
34import Control.Monad.IO.Class (MonadIO, liftIO)
core/src/Streamly/Internal/Data/Stream/Common.hs−1
@@ -1,4 +1,3 @@
1−{-# LANGUAGE UndecidableInstances #-}
2{-# OPTIONS_GHC -Wno-orphans #-}
1{-# OPTIONS_GHC -Wno-orphans #-}
3
2
4-- |
3-- |
core/src/Streamly/Internal/Data/Stream/StreamK.hs+1−4
@@ -1,7 +1,3 @@
1−{-# LANGUAGE UndecidableInstances #-}
2−
3−#include "inline.hs"
4−
5-- |
1-- |
6-- Module : Streamly.Internal.Data.Stream.StreamK
2-- Module : Streamly.Internal.Data.Stream.StreamK
7-- Copyright : (c) 2017 Composewell Technologies
3-- Copyright : (c) 2017 Composewell Technologies
@@ -175,6 +171,7 @@ module Streamly.Internal.Data.Stream.StreamK
175 )
171 )
176where
172where
177
173
174+#include "inline.hs"
178#include "assert.hs"
175#include "assert.hs"
179
176
180import Control.Monad (void, join)
177import 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−
5-- |
1-- |
6-- Module : Streamly.Internal.Data.Stream.StreamK.Type
2-- Module : Streamly.Internal.Data.Stream.StreamK.Type
7-- Copyright : (c) 2017 Composewell Technologies
3-- Copyright : (c) 2017 Composewell Technologies
@@ -103,6 +99,8 @@ module Streamly.Internal.Data.Stream.StreamK.Type
103 )
99 )
104where
100where
105
101
102+#include "inline.hs"
103+
106-- import Control.Applicative (liftA2)
104-- import Control.Applicative (liftA2)
107import Control.Monad ((>=>))
105import Control.Monad ((>=>))
108import Data.Function (fix)
106import Data.Function (fix)