on master help sign in
Include src in scope to use #include "inline.hs"
commit8bf7eedbda281fcb229d4a5fd8eedde1ce980139 authoradithyaov <adi.obilisetty@gmail.com> dateMon 9 Dec 2019, 17:19 (7 years ago) parent4172ad9
30 files changed+30−32
src/Streamly/Data/Unfold.hs+1−1 src/Streamly/FileSystem/FD.hs+1−1 src/Streamly/FileSystem/FDIO.hs+1−1 src/Streamly/FileSystem/Handle.hs+1−1 src/Streamly/Internal/Data/Array.hs+1−1 src/Streamly/Internal/Data/Pipe/Types.hs+1−1 src/Streamly/Internal/Data/Stream/Combinators.hs+1−1 src/Streamly/Internal/Data/Stream/Parallel.hs+1−1 src/Streamly/Internal/Data/Stream/Prelude.hs+1−1 src/Streamly/Internal/Data/Stream/Serial.hs+1−1 src/Streamly/Internal/Data/Stream/StreamD.hs+1−1 src/Streamly/Internal/Data/Stream/StreamD/Type.hs+1−1 src/Streamly/Internal/Data/Stream/StreamDK.hs+1−1 src/Streamly/Internal/Data/Stream/StreamK.hs+1−1 src/Streamly/Internal/Data/Stream/StreamK/Type.hs+1−1 src/Streamly/Internal/Data/Time/Units.hs+1−1 src/Streamly/Internal/Data/Unfold.hs+1−1 src/Streamly/Internal/FileSystem/Dir.hs+1−1 src/Streamly/Internal/FileSystem/File.hs+1−1 src/Streamly/Internal/FileSystem/Handle.hs+1−1 src/Streamly/Internal/Memory/Array.hs+1−1 src/Streamly/Internal/Memory/Array/Types.hs+1−1 src/Streamly/Internal/Memory/ArrayStream.hs+1−1 src/Streamly/Internal/Network/Inet/TCP.hs+1−1 src/Streamly/Internal/Network/Socket.hs+1−1 src/Streamly/Internal/Prelude.hs+1−1 src/Streamly/Memory/Array.hs+1−1 src/Streamly/Memory/Malloc.hs+1−1 src/Streamly/Prelude.hs+1−1 streamly.cabal+1−3
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 "../../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 "../inline.hs"
9+#include "inline.hs"
1010
1111-- |
1212-- Module : Streamly.Prelude
streamly.cabal+1−3
@@ -266,7 +266,7 @@ library
266266 import: lib-options
267267 js-sources: jsbits/clock.js
268268 include-dirs: src/Streamly/Internal/Data/Time
269− , src/Streamly/Streams
269+ , src
270270 if os(windows)
271271 c-sources: src/Streamly/Internal/Data/Time/Windows.c
272272 if os(darwin)
@@ -712,7 +712,6 @@ benchmark base
712712 import: bench-options
713713 type: exitcode-stdio-1.0
714714 include-dirs: src/Streamly/Internal/Data/Time
715− , src/Streamly/Streams
716715 if os(windows)
717716 c-sources: src/Streamly/Internal/Data/Time/Windows.c
718717 if os(darwin)
@@ -768,7 +767,6 @@ executable nano-bench
768767 import: bench-options
769768 hs-source-dirs: benchmark, src
770769 include-dirs: src/Streamly/Internal/Data/Time
771− , src/Streamly/Streams
772770 if os(windows)
773771 c-sources: src/Streamly/Internal/Data/Time/Windows.c
774772 if os(darwin)