Skip to content

Commit fe795a6

Browse files
Move Stream.Prelude files in a separate dir
1 parent 240d0bb commit fe795a6

File tree

9 files changed

+17
-17
lines changed

9 files changed

+17
-17
lines changed

benchmark/Streamly/Benchmark/Data/Stream/Adaptive.hs renamed to benchmark/Streamly/Benchmark/Data/Stream/Prelude/Adaptive.hs

File renamed without changes.

benchmark/Streamly/Benchmark/Data/Stream/Concurrent.hs renamed to benchmark/Streamly/Benchmark/Data/Stream/Prelude/Concurrent.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
-- License : BSD3
66
-- Maintainer : streamly@composewell.com
77

8-
import Stream.ConcurrentCommon
8+
import ConcurrentCommon
99
import Streamly.Benchmark.Common (runWithCLIOpts, defaultStreamSize)
1010

1111
moduleName :: String

benchmark/Streamly/Benchmark/Data/Stream/ConcurrentCommon.hs renamed to benchmark/Streamly/Benchmark/Data/Stream/Prelude/ConcurrentCommon.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
-- License : BSD3
1010
-- Maintainer : streamly@composewell.com
1111

12-
module Stream.ConcurrentCommon
12+
module ConcurrentCommon
1313
( allBenchmarks
1414
, mkParallel
1515
, unParallel

benchmark/Streamly/Benchmark/Data/Stream/ConcurrentEager.hs renamed to benchmark/Streamly/Benchmark/Data/Stream/Prelude/ConcurrentEager.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
-- License : BSD3
66
-- Maintainer : streamly@composewell.com
77

8-
import Stream.ConcurrentCommon
8+
import ConcurrentCommon
99
import Streamly.Benchmark.Common (runWithCLIOpts, defaultStreamSize)
1010

1111
import qualified Streamly.Internal.Data.Stream.Prelude as Stream

benchmark/Streamly/Benchmark/Data/Stream/ConcurrentInterleaved.hs renamed to benchmark/Streamly/Benchmark/Data/Stream/Prelude/ConcurrentInterleaved.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
-- License : BSD3
66
-- Maintainer : streamly@composewell.com
77

8-
import Stream.ConcurrentCommon
8+
import ConcurrentCommon
99
import Streamly.Benchmark.Common (runWithCLIOpts, defaultStreamSize)
1010

1111
import qualified Streamly.Internal.Data.Stream.Prelude as Stream

benchmark/Streamly/Benchmark/Data/Stream/ConcurrentOrdered.hs renamed to benchmark/Streamly/Benchmark/Data/Stream/Prelude/ConcurrentOrdered.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
-- License : BSD3
66
-- Maintainer : streamly@composewell.com
77

8-
import Stream.ConcurrentCommon
8+
import ConcurrentCommon
99
import Streamly.Benchmark.Common (runWithCLIOpts, defaultStreamSize)
1010

1111
import qualified Streamly.Data.Stream.Prelude as Stream

benchmark/Streamly/Benchmark/Data/Stream/ConcurrentThreadHeavy.hs renamed to benchmark/Streamly/Benchmark/Data/Stream/Prelude/ConcurrentThreadHeavy.hs

File renamed without changes.
File renamed without changes.

benchmark/streamly-benchmarks.cabal

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ benchmark Data.Stream
457457
benchmark Data.Stream.Adaptive
458458
import: bench-options-threaded
459459
type: exitcode-stdio-1.0
460-
hs-source-dirs: Streamly/Benchmark/Data/Stream
460+
hs-source-dirs: Streamly/Benchmark/Data/Stream/Prelude
461461
main-is: Adaptive.hs
462462
if flag(use-streamly-core) || impl(ghcjs)
463463
buildable: False
@@ -467,10 +467,10 @@ benchmark Data.Stream.Adaptive
467467
benchmark Data.Stream.Concurrent
468468
import: bench-options-threaded
469469
type: exitcode-stdio-1.0
470-
hs-source-dirs: Streamly/Benchmark/Data/Stream/, Streamly/Benchmark/Data/
470+
hs-source-dirs: Streamly/Benchmark/Data/Stream/Prelude, Streamly/Benchmark/Data/
471471
main-is: Concurrent.hs
472472
other-modules:
473-
Stream.ConcurrentCommon
473+
ConcurrentCommon
474474
Stream.Common
475475
if flag(use-streamly-core) || impl(ghcjs)
476476
buildable: False
@@ -480,10 +480,10 @@ benchmark Data.Stream.Concurrent
480480
benchmark Data.Stream.ConcurrentEager
481481
import: bench-options-threaded
482482
type: exitcode-stdio-1.0
483-
hs-source-dirs: Streamly/Benchmark/Data/Stream/, Streamly/Benchmark/Data/
483+
hs-source-dirs: Streamly/Benchmark/Data/Stream/Prelude, Streamly/Benchmark/Data/
484484
main-is: ConcurrentEager.hs
485485
other-modules:
486-
Stream.ConcurrentCommon
486+
ConcurrentCommon
487487
Stream.Common
488488
if flag(use-streamly-core) || impl(ghcjs)
489489
buildable: False
@@ -493,10 +493,10 @@ benchmark Data.Stream.ConcurrentEager
493493
benchmark Data.Stream.ConcurrentInterleaved
494494
import: bench-options-threaded
495495
type: exitcode-stdio-1.0
496-
hs-source-dirs: Streamly/Benchmark/Data/Stream/, Streamly/Benchmark/Data/
496+
hs-source-dirs: Streamly/Benchmark/Data/Stream/Prelude, Streamly/Benchmark/Data/
497497
main-is: ConcurrentInterleaved.hs
498498
other-modules:
499-
Stream.ConcurrentCommon
499+
ConcurrentCommon
500500
Stream.Common
501501
if flag(use-streamly-core) || impl(ghcjs)
502502
buildable: False
@@ -506,10 +506,10 @@ benchmark Data.Stream.ConcurrentInterleaved
506506
benchmark Data.Stream.ConcurrentOrdered
507507
import: bench-options-threaded
508508
type: exitcode-stdio-1.0
509-
hs-source-dirs: Streamly/Benchmark/Data/Stream/, Streamly/Benchmark/Data/
509+
hs-source-dirs: Streamly/Benchmark/Data/Stream/Prelude, Streamly/Benchmark/Data/
510510
main-is: ConcurrentOrdered.hs
511511
other-modules:
512-
Stream.ConcurrentCommon
512+
ConcurrentCommon
513513
Stream.Common
514514
if flag(use-streamly-core) || impl(ghcjs)
515515
buildable: False
@@ -519,7 +519,7 @@ benchmark Data.Stream.ConcurrentOrdered
519519
benchmark Data.Stream.ConcurrentThreadHeavy
520520
import: bench-options-threaded
521521
type: exitcode-stdio-1.0
522-
hs-source-dirs: Streamly/Benchmark/Data/Stream
522+
hs-source-dirs: Streamly/Benchmark/Data/Stream/Prelude
523523
main-is: ConcurrentThreadHeavy.hs
524524
if flag(use-streamly-core) || impl(ghcjs)
525525
buildable: False
@@ -529,10 +529,10 @@ benchmark Data.Stream.ConcurrentThreadHeavy
529529
benchmark Data.Stream.Rate
530530
import: bench-options-threaded
531531
type: exitcode-stdio-1.0
532-
hs-source-dirs: Streamly/Benchmark/Data/Stream/, Streamly/Benchmark/Data/
532+
hs-source-dirs: Streamly/Benchmark/Data/, Streamly/Benchmark/Data/Stream/Prelude
533533
main-is: Rate.hs
534534
other-modules:
535-
Stream.ConcurrentCommon
535+
ConcurrentCommon
536536
Stream.Common
537537
if flag(use-streamly-core) || impl(ghcjs)
538538
buildable: False

0 commit comments

Comments
 (0)