Move inline.hs to top level, src/inline.hs
commit4172ad90d0b9a6160c082920621f2ddee60c7d06
authoradithyaov <adi.obilisetty@gmail.com>
dateMon 9 Dec 2019, 16:48 (7 years ago)
parent8b92299
src/Streamly.hs+1−1
@@ -58,7 +58,7 @@
5858{-# OPTIONS_GHC -Wno-orphans #-}
5959#endif
6060
61−#include "Streamly/Streams/inline.hs"
61+#include "inline.hs"
6262
6363module Streamly
6464 (
src/Streamly/Data/Unfold.hs+1−1
@@ -8,7 +8,7 @@
88{-# LANGUAGE ScopedTypeVariables #-}
99{-# LANGUAGE TupleSections #-}
1010
11−#include "inline.hs"
11+#include "../../inline.hs"
1212
1313-- |
1414-- Module : Streamly.Data.Unfold
src/Streamly/FileSystem/FD.hs+1−1
@@ -4,7 +4,7 @@
44{-# LANGUAGE RecordWildCards #-}
55{-# LANGUAGE UnboxedTuples #-}
66
7−#include "inline.hs"
7+#include "../../inline.hs"
88
99-- |
1010-- Module : Streamly.FileSystem.FD
src/Streamly/FileSystem/FDIO.hs+1−1
@@ -4,7 +4,7 @@
44{-# LANGUAGE RecordWildCards #-}
55{-# LANGUAGE UnboxedTuples #-}
66
7−#include "inline.hs"
7+#include "../../inline.hs"
88
99-- |
1010-- Module : Streamly.FileSystem.FDIO
src/Streamly/FileSystem/Handle.hs+1−1
@@ -4,7 +4,7 @@
44{-# LANGUAGE RecordWildCards #-}
55{-# LANGUAGE UnboxedTuples #-}
66
7−#include "inline.hs"
7+#include "../../inline.hs"
88
99-- |
1010-- Module : Streamly.FileSystem.Handle
src/Streamly/Internal/Data/Array.hs+1−1
@@ -4,7 +4,7 @@
44{-# LANGUAGE MagicHash #-}
55{-# LANGUAGE UnboxedTuples #-}
66
7−#include "inline.hs"
7+#include "../../../inline.hs"
88
99-- |
1010-- Module : Streamly.Internal.Data.Array
src/Streamly/Internal/Data/Pipe/Types.hs+1−1
@@ -2,7 +2,7 @@
22{-# LANGUAGE CPP #-}
33{-# LANGUAGE ExistentialQuantification #-}
44
5−#include "inline.hs"
5+#include "../../inline.hs"
66
77-- |
88-- Module : Streamly.Internal.Data.Pipe.Types
src/Streamly/Internal/Data/Stream/Combinators.hs+1−1
@@ -1,6 +1,6 @@
11{-# LANGUAGE CPP #-}
22
3−#include "inline.hs"
3+#include "../../inline.hs"
44
55-- |
66-- Module : Streamly.Internal.Data.Stream.Combinators
src/Streamly/Internal/Data/Stream/Parallel.hs+1−1
@@ -7,7 +7,7 @@
77{-# LANGUAGE MultiParamTypeClasses #-}
88{-# LANGUAGE UndecidableInstances #-} -- XXX
99
10−#include "inline.hs"
10+#include "../../inline.hs"
1111
1212-- |
1313-- Module : Streamly.Internal.Data.Stream.Parallel
src/Streamly/Internal/Data/Stream/Prelude.hs+1−1
@@ -4,7 +4,7 @@
44{-# OPTIONS_GHC -Wno-orphans #-}
55#endif
66
7−#include "inline.hs"
7+#include "../../inline.hs"
88
99-- |
1010-- Module : Streamly.Internal.Data.Stream.Prelude
src/Streamly/Internal/Data/Stream/Serial.hs+1−1
@@ -74,7 +74,7 @@ import qualified Streamly.Internal.Data.Stream.StreamK as K
7474import qualified Streamly.Internal.Data.Stream.StreamD as D
7575
7676#include "Instances.hs"
77−#include "inline.hs"
77+#include "../../inline.hs"
7878
7979------------------------------------------------------------------------------
8080-- SerialT
src/Streamly/Internal/Data/Stream/StreamD.hs+1−1
@@ -16,7 +16,7 @@
1616{-# LANGUAGE TypeApplications #-}
1717#endif
1818
19−#include "inline.hs"
19+#include "../../inline.hs"
2020
2121-- |
2222-- Module : Streamly.Internal.Data.Stream.StreamD
src/Streamly/Internal/Data/Stream/StreamD/Type.hs+1−1
@@ -10,7 +10,7 @@
1010{-# LANGUAGE ViewPatterns #-}
1111{-# LANGUAGE RankNTypes #-}
1212
13−#include "inline.hs"
13+#include "../../../../inline.hs"
1414
1515-- |
1616-- Module : Streamly.Internal.Data.Stream.StreamD.Type
src/Streamly/Internal/Data/Stream/StreamDK.hs+1−1
@@ -7,7 +7,7 @@
77{-# LANGUAGE RecordWildCards #-}
88-- {-# LANGUAGE ScopedTypeVariables #-}
99
10−#include "inline.hs"
10+#include "../../inline.hs"
1111
1212-- |
1313-- Module : Streamly.Internal.Data.Stream.StreamDK
src/Streamly/Internal/Data/Stream/StreamK.hs+1−1
@@ -9,7 +9,7 @@
99{-# LANGUAGE ScopedTypeVariables #-}
1010{-# LANGUAGE UndecidableInstances #-} -- XXX
1111
12−#include "inline.hs"
12+#include "../../inline.hs"
1313
1414-- |
1515-- Module : Streamly.Internal.Data.Stream.StreamK
src/Streamly/Internal/Data/Stream/StreamK/Type.hs+1−1
@@ -14,7 +14,7 @@
1414{-# LANGUAGE RankNTypes #-}
1515{-# LANGUAGE UndecidableInstances #-} -- XXX
1616
17−#include "inline.hs"
17+#include "../../../../inline.hs"
1818
1919-- |
2020-- Module : Streamly.Internal.Data.Stream.StreamK.Type
src/Streamly/Internal/Data/Time/Units.hs+1−1
@@ -3,7 +3,7 @@
33{-# LANGUAGE GeneralizedNewtypeDeriving #-}
44{-# LANGUAGE ScopedTypeVariables #-}
55
6−#include "inline.hs"
6+#include "../../inline.hs"
77
88-- |
99-- Module : Streamly.Internal.Data.Time.Units
src/Streamly/Internal/Data/Unfold.hs+1−1
@@ -9,7 +9,7 @@
99{-# LANGUAGE ScopedTypeVariables #-}
1010{-# LANGUAGE TupleSections #-}
1111
12−#include "inline.hs"
12+#include "../../../inline.hs"
1313
1414-- |
1515-- Module : Streamly.Internal.Data.Unfold
src/Streamly/Internal/FileSystem/Dir.hs+1−1
@@ -5,7 +5,7 @@
55{-# LANGUAGE RecordWildCards #-}
66{-# LANGUAGE UnboxedTuples #-}
77
8−#include "inline.hs"
8+#include "../../inline.hs"
99
1010-- |
1111-- Module : Streamly.Internal.FileSystem.Dir
src/Streamly/Internal/FileSystem/File.hs+1−1
@@ -6,7 +6,7 @@
66{-# LANGUAGE RecordWildCards #-}
77{-# LANGUAGE UnboxedTuples #-}
88
9−#include "inline.hs"
9+#include "../../inline.hs"
1010
1111-- |
1212-- Module : Streamly.Internal.FileSystem.File
src/Streamly/Internal/FileSystem/Handle.hs+1−1
@@ -6,7 +6,7 @@
66{-# LANGUAGE RecordWildCards #-}
77{-# LANGUAGE UnboxedTuples #-}
88
9−#include "inline.hs"
9+#include "../../inline.hs"
1010
1111-- |
1212-- Module : Streamly.Internal.FileSystem.Handle
src/Streamly/Internal/Memory/Array.hs+1−1
@@ -6,7 +6,7 @@
66{-# LANGUAGE UnboxedTuples #-}
77{-# LANGUAGE ScopedTypeVariables #-}
88
9−#include "inline.hs"
9+#include "../../../inline.hs"
1010
1111-- |
1212-- Module : Streamly.Internal.Memory.Array
src/Streamly/Internal/Memory/Array/Types.hs+1−1
@@ -8,7 +8,7 @@
88{-# LANGUAGE TypeFamilies #-}
99{-# LANGUAGE UnboxedTuples #-}
1010{-# LANGUAGE FlexibleContexts #-}
11−#include "inline.hs"
11+#include "../../../../inline.hs"
1212
1313-- |
1414-- Module : Streamly.Internal.Memory.Array.Types
src/Streamly/Internal/Memory/ArrayStream.hs+1−1
@@ -6,7 +6,7 @@
66{-# LANGUAGE UnboxedTuples #-}
77{-# LANGUAGE ScopedTypeVariables #-}
88
9−#include "inline.hs"
9+#include "../../../inline.hs"
1010
1111-- |
1212-- Module : Streamly.Internal.Memory.ArrayStream
src/Streamly/Internal/Network/Inet/TCP.hs+1−1
@@ -6,7 +6,7 @@
66{-# LANGUAGE RecordWildCards #-}
77{-# LANGUAGE UnboxedTuples #-}
88
9−#include "inline.hs"
9+#include "../../inline.hs"
1010
1111-- |
1212-- Module : Streamly.Internal.Network.Inet.TCP
src/Streamly/Internal/Network/Socket.hs+1−1
@@ -6,7 +6,7 @@
66{-# LANGUAGE RecordWildCards #-}
77{-# LANGUAGE UnboxedTuples #-}
88
9−#include "inline.hs"
9+#include "../../inline.hs"
1010
1111-- |
1212-- Module : Streamly.Internal.Network.Socket
src/Streamly/Internal/Prelude.hs+1−1
@@ -7,7 +7,7 @@
77{-# OPTIONS_GHC -Wno-orphans #-}
88#endif
99
10−#include "../Streams/inline.hs"
10+#include "../../inline.hs"
1111
1212-- |
1313-- Module : Streamly.Internal.Prelude
src/Streamly/Memory/Array.hs+1−1
@@ -5,7 +5,7 @@
55{-# LANGUAGE UnboxedTuples #-}
66{-# LANGUAGE ScopedTypeVariables #-}
77
8−#include "inline.hs"
8+#include "../../inline.hs"
99
1010-- |
1111-- Module : Streamly.Memory.Array
src/Streamly/Memory/Malloc.hs+1−1
@@ -8,7 +8,7 @@
88{-# LANGUAGE UnboxedTuples #-}
99{-# LANGUAGE FlexibleContexts #-}
1010
11−#include "inline.hs"
11+#include "../../inline.hs"
1212
1313-- |
1414-- Module : Streamly.Memory.Malloc
src/Streamly/Prelude.hs+1−1
@@ -6,7 +6,7 @@
66{-# OPTIONS_GHC -Wno-orphans #-}
77#endif
88
9−#include "Streams/inline.hs"
9+#include "../inline.hs"
1010
1111-- |
1212-- Module : Streamly.Prelude
src/Streamly/Internal/Data/Stream/inline.hs → src/inline.hsrenamed
The content is the same.
streamly.cabal+1−1
@@ -119,7 +119,7 @@ extra-source-files:
119119 bench.sh
120120 stack.yaml
121121 src/Streamly/Internal/Data/Stream/Instances.hs
122− src/Streamly/Internal/Data/Stream/inline.hs
122+ src/inline.hs
123123 configure.ac
124124 configure
125125 src/Streamly/Internal/Data/Time/config.h.in