2019-08-23 05:35:19 +03:00
|
|
|
cabal-version: 2.2
|
2017-11-20 15:33:13 +03:00
|
|
|
name: streamly
|
2022-05-23 15:16:22 +03:00
|
|
|
version: 0.9.0
|
2021-06-02 14:15:09 +03:00
|
|
|
synopsis: Dataflow programming and declarative concurrency
|
2017-12-02 18:39:06 +03:00
|
|
|
description:
|
2021-06-23 20:48:45 +03:00
|
|
|
Browse the documentation at https://streamly.composewell.com.
|
|
|
|
.
|
|
|
|
Streamly is a streaming framework to build reliable and scalable
|
|
|
|
software systems from modular building blocks using dataflow
|
|
|
|
programming and declarative concurrency. Stream fusion optimizations
|
|
|
|
in streamly result in high-performance, modular combinatorial
|
|
|
|
programming.
|
|
|
|
.
|
|
|
|
Performance with simplicity:
|
2017-10-20 07:06:00 +03:00
|
|
|
.
|
2021-05-28 17:14:57 +03:00
|
|
|
* Performance on par with C (<https://github.com/composewell/streaming-benchmarks Benchmarks>)
|
2021-06-23 20:48:45 +03:00
|
|
|
* API close to standard Haskell lists (<https://github.com/composewell/streamly-examples Examples>)
|
2021-05-28 17:14:57 +03:00
|
|
|
* Declarative concurrency with automatic scaling
|
|
|
|
* Filesystem, fsnotify, network, and Unicode support included
|
2021-04-02 21:05:38 +03:00
|
|
|
* More functionality provided via many ecosystem packages
|
2018-05-04 21:53:03 +03:00
|
|
|
.
|
2021-06-23 20:48:45 +03:00
|
|
|
Unified and powerful abstractions:
|
2019-11-14 23:51:34 +03:00
|
|
|
.
|
2021-06-23 20:48:45 +03:00
|
|
|
* Unifies unfolds, arrays, folds, and parsers with streaming
|
|
|
|
* Unifies @Data.List@, @list-t@, and @logict@ with streaming
|
|
|
|
* Unifies concurrency with standard streaming abstractions
|
|
|
|
* Provides time-domain combinators for reactive programming
|
|
|
|
* Interworks with bytestring and streaming libraries
|
2019-11-14 23:51:34 +03:00
|
|
|
|
2021-06-02 14:15:09 +03:00
|
|
|
homepage: https://streamly.composewell.com
|
2017-12-05 18:40:43 +03:00
|
|
|
bug-reports: https://github.com/composewell/streamly/issues
|
2019-08-23 05:35:19 +03:00
|
|
|
license: BSD-3-Clause
|
2017-06-07 18:32:27 +03:00
|
|
|
license-file: LICENSE
|
2022-03-17 20:26:26 +03:00
|
|
|
tested-with: GHC==8.4.4
|
2019-08-27 05:18:30 +03:00
|
|
|
, GHC==8.6.5
|
2021-05-23 16:15:49 +03:00
|
|
|
, GHC==8.8.4
|
2021-11-18 12:59:50 +03:00
|
|
|
, GHC==8.10.7
|
2022-04-02 00:26:32 +03:00
|
|
|
, GHC==9.0.2
|
|
|
|
, GHC==9.2.2
|
2020-10-26 13:52:12 +03:00
|
|
|
author: Composewell Technologies
|
2019-11-06 19:25:35 +03:00
|
|
|
maintainer: streamly@composewell.com
|
2020-10-26 13:52:12 +03:00
|
|
|
copyright: 2017 Composewell Technologies
|
2021-06-10 21:03:40 +03:00
|
|
|
category:
|
|
|
|
Streamly, Concurrency, Streaming, Dataflow, Pipes, Reactivity, List,
|
|
|
|
Logic, Non-determinism, Parsing, Array, Time, Unicode, Filesystem,
|
|
|
|
Network
|
|
|
|
stability: Stable
|
2021-06-21 00:31:05 +03:00
|
|
|
build-type: Configure
|
2017-06-07 18:32:27 +03:00
|
|
|
|
2017-12-04 13:39:36 +03:00
|
|
|
extra-source-files:
|
2020-06-06 23:07:55 +03:00
|
|
|
benchmark/*.hs
|
2022-04-28 17:51:11 +03:00
|
|
|
benchmark/bench-runner/Main.hs
|
|
|
|
benchmark/bench-runner/bench-runner.cabal
|
2020-06-06 23:07:55 +03:00
|
|
|
benchmark/Streamly/Benchmark/Data/*.hs
|
2021-11-28 12:40:32 +03:00
|
|
|
benchmark/Streamly/Benchmark/Data/Array/Common.hs
|
|
|
|
benchmark/Streamly/Benchmark/Data/Array/CommonImports.hs
|
|
|
|
benchmark/Streamly/Benchmark/Data/Array/SmallArray.hs
|
2021-11-28 13:02:53 +03:00
|
|
|
benchmark/Streamly/Benchmark/Data/Array/Foreign.hs
|
2022-07-11 10:53:22 +03:00
|
|
|
benchmark/Streamly/Benchmark/Data/Ring/Unboxed.hs
|
2022-01-10 00:13:36 +03:00
|
|
|
benchmark/Streamly/Benchmark/Data/Array/Foreign/Mut.hs
|
2021-02-06 12:36:10 +03:00
|
|
|
benchmark/Streamly/Benchmark/Data/Array/Stream/Foreign.hs
|
2022-03-15 12:33:33 +03:00
|
|
|
benchmark/Streamly/Benchmark/Data/Fold/Window.hs
|
2020-06-06 23:07:55 +03:00
|
|
|
benchmark/Streamly/Benchmark/Data/Parser/*.hs
|
|
|
|
benchmark/Streamly/Benchmark/Data/Stream/*.hs
|
2020-07-05 10:54:17 +03:00
|
|
|
benchmark/Streamly/Benchmark/FileSystem/*.hs
|
2020-07-08 16:52:00 +03:00
|
|
|
benchmark/Streamly/Benchmark/FileSystem/Handle/*.hs
|
2020-06-06 23:07:55 +03:00
|
|
|
benchmark/Streamly/Benchmark/Prelude/*.hs
|
2020-12-07 14:00:13 +03:00
|
|
|
benchmark/Streamly/Benchmark/Unicode/*.hs
|
2020-06-06 23:07:55 +03:00
|
|
|
benchmark/lib/Streamly/Benchmark/*.hs
|
2020-12-09 15:17:20 +03:00
|
|
|
benchmark/lib/Streamly/Benchmark/Common/*.hs
|
2020-06-06 23:07:55 +03:00
|
|
|
benchmark/streamly-benchmarks.cabal
|
2020-11-19 18:02:44 +03:00
|
|
|
bin/mk-hscope.sh
|
|
|
|
bin/mk-tags.sh
|
2020-06-06 23:07:55 +03:00
|
|
|
configure
|
|
|
|
configure.ac
|
2021-06-15 21:41:07 +03:00
|
|
|
docs/*.hs
|
2021-06-10 23:55:38 +03:00
|
|
|
docs/streamly-docs.cabal
|
2022-04-26 17:18:52 +03:00
|
|
|
targets/streamly-targets.cabal
|
|
|
|
targets/Targets.hs
|
2022-04-28 17:51:11 +03:00
|
|
|
test/test-runner/Main.hs
|
|
|
|
test/test-runner/test-runner.cabal
|
2022-03-07 13:00:48 +03:00
|
|
|
|
|
|
|
-- This is duplicated
|
2019-12-09 13:37:17 +03:00
|
|
|
src/Streamly/Internal/Data/Stream/Instances.hs
|
2022-01-06 16:00:18 +03:00
|
|
|
src/Streamly/Internal/Data/Array/ArrayMacros.h
|
2022-03-07 13:00:48 +03:00
|
|
|
|
2020-08-07 14:05:28 +03:00
|
|
|
src/Streamly/Internal/FileSystem/Event/Darwin.h
|
2020-08-17 01:41:17 +03:00
|
|
|
src/config.h.in
|
2020-06-06 23:07:55 +03:00
|
|
|
src/inline.hs
|
2020-12-12 08:55:53 +03:00
|
|
|
test/Streamly/Test/Data/*.hs
|
2021-11-26 23:58:10 +03:00
|
|
|
test/Streamly/Test/Data/Array/CommonImports.hs
|
|
|
|
test/Streamly/Test/Data/Array/Common.hs
|
2021-02-01 09:33:57 +03:00
|
|
|
test/Streamly/Test/Data/Array/Foreign.hs
|
2022-07-11 09:09:28 +03:00
|
|
|
test/Streamly/Test/Data/Ring/Unboxed.hs
|
2021-04-27 00:07:14 +03:00
|
|
|
test/Streamly/Test/Data/Array/Stream/Foreign.hs
|
2022-02-10 10:26:44 +03:00
|
|
|
test/Streamly/Test/Data/Parser/ParserD.hs
|
2020-12-12 08:55:53 +03:00
|
|
|
test/Streamly/Test/FileSystem/Event.hs
|
2021-11-09 12:02:37 +03:00
|
|
|
test/Streamly/Test/FileSystem/Event/Common.hs
|
|
|
|
test/Streamly/Test/FileSystem/Event/Darwin.hs
|
2021-09-30 17:28:28 +03:00
|
|
|
test/Streamly/Test/FileSystem/Event/Windows.hs
|
|
|
|
test/Streamly/Test/FileSystem/Event/Linux.hs
|
Add test cases for Data.Fold/Array, FileSystem.Handle
Added the following test cases to Data.Fold:
drain, drainBy, mean, stdDev, variance, mconcat, foldMap, foldMapM,
lookup, mapM, teeWithLength, teeWithMax, distribute, partition, unzip
Added the following test cases to Data.Array.Storable.Foreign
* fromList and fromListN
Added FileSystem.Handle module
2020-11-30 19:10:28 +03:00
|
|
|
test/Streamly/Test/FileSystem/Handle.hs
|
2020-12-31 12:17:25 +03:00
|
|
|
test/Streamly/Test/Network/Socket.hs
|
|
|
|
test/Streamly/Test/Network/Inet/TCP.hs
|
2020-12-12 08:55:53 +03:00
|
|
|
test/Streamly/Test/Prelude.hs
|
|
|
|
test/Streamly/Test/Prelude/*.hs
|
2020-09-21 16:45:02 +03:00
|
|
|
test/Streamly/Test/Unicode/*.hs
|
2022-03-15 12:33:33 +03:00
|
|
|
test/Streamly/Test/Data/Fold/*.hs
|
2020-12-12 08:55:53 +03:00
|
|
|
test/lib/Streamly/Test/Common.hs
|
|
|
|
test/lib/Streamly/Test/Prelude/Common.hs
|
|
|
|
test/streamly-tests.cabal
|
|
|
|
test/version-bounds.hs
|
2020-09-21 16:45:02 +03:00
|
|
|
test/Streamly/Test/Unicode/ucd/NormalizationTest.txt
|
|
|
|
test/Streamly/Test/Unicode/extra/NormalizationTest.txt
|
2021-08-05 21:24:12 +03:00
|
|
|
benchmark/Streamly/Benchmark/Unicode/data/AllChars.txt
|
|
|
|
benchmark/Streamly/Benchmark/Unicode/data/Devanagari.txt
|
|
|
|
benchmark/Streamly/Benchmark/Unicode/data/Japanese.txt
|
|
|
|
benchmark/Streamly/Benchmark/Unicode/data/Vietnamese.txt
|
|
|
|
benchmark/Streamly/Benchmark/Unicode/data/Deutsch.txt
|
|
|
|
benchmark/Streamly/Benchmark/Unicode/data/English.txt
|
|
|
|
benchmark/Streamly/Benchmark/Unicode/data/Korean.txt
|
2019-01-11 00:51:02 +03:00
|
|
|
|
2022-03-07 13:00:48 +03:00
|
|
|
-- Include streamly-core when packaging
|
|
|
|
-- This is temporary as we will soon break this package out
|
|
|
|
core/configure
|
|
|
|
core/configure.ac
|
|
|
|
core/src/Streamly/Internal/Data/Stream/Instances.hs
|
|
|
|
core/src/Streamly/Internal/Data/Array/ArrayMacros.h
|
|
|
|
core/src/inline.hs
|
|
|
|
core/src/Streamly/Internal/Data/Time/Clock/config-clock.h
|
|
|
|
core/src/config.h.in
|
|
|
|
core/src/Streamly/Internal/BaseCompat.hs
|
|
|
|
core/src/Streamly/Internal/Control/Exception.hs
|
|
|
|
core/src/Streamly/Internal/Control/Monad.hs
|
|
|
|
core/src/Streamly/Internal/Control/ForkIO.hs
|
|
|
|
core/src/Streamly/Internal/Data/Cont.hs
|
|
|
|
core/src/Streamly/Internal/Foreign/Malloc.hs
|
|
|
|
core/src/Streamly/Internal/System/IO.hs
|
2022-03-25 14:56:37 +03:00
|
|
|
core/src/Streamly/Internal/Data/IsMap.hs
|
2022-03-07 13:00:48 +03:00
|
|
|
core/src/Streamly/Internal/Data/Tuple/Strict.hs
|
|
|
|
core/src/Streamly/Internal/Data/Maybe/Strict.hs
|
|
|
|
core/src/Streamly/Internal/Data/Either/Strict.hs
|
|
|
|
core/src/Streamly/Internal/Control/Concurrent.hs
|
|
|
|
core/src/Streamly/Internal/Control/ForkLifted.hs
|
|
|
|
core/src/Streamly/Internal/Data/IOFinalizer.hs
|
|
|
|
core/src/Streamly/Internal/Data/Time/TimeSpec.hsc
|
|
|
|
core/src/Streamly/Internal/Data/Time/Units.hs
|
|
|
|
core/src/Streamly/Internal/Data/Time/Clock/Type.hsc
|
|
|
|
core/src/Streamly/Internal/Data/Time/Clock.hs
|
|
|
|
core/src/Streamly/Internal/Data/SVar/Type.hs
|
|
|
|
core/src/Streamly/Internal/Data/Stream/StreamK/Type.hs
|
|
|
|
core/src/Streamly/Internal/Data/Fold/Step.hs
|
|
|
|
core/src/Streamly/Internal/Data/Refold/Type.hs
|
|
|
|
core/src/Streamly/Internal/Data/Fold/Type.hs
|
|
|
|
core/src/Streamly/Internal/Data/Stream/StreamD/Step.hs
|
|
|
|
core/src/Streamly/Internal/Data/Stream/StreamD/Type.hs
|
|
|
|
core/src/Streamly/Internal/Data/Stream/StreamDK/Type.hs
|
|
|
|
core/src/Streamly/Internal/Data/Unfold/Type.hs
|
|
|
|
core/src/Streamly/Internal/Data/Producer/Type.hs
|
|
|
|
core/src/Streamly/Internal/Data/Producer.hs
|
|
|
|
core/src/Streamly/Internal/Data/Producer/Source.hs
|
|
|
|
core/src/Streamly/Internal/Data/Parser/ParserK/Type.hs
|
|
|
|
core/src/Streamly/Internal/Data/Parser/ParserD/Type.hs
|
|
|
|
core/src/Streamly/Internal/Data/Pipe/Type.hs
|
2022-06-15 10:58:15 +03:00
|
|
|
core/src/Streamly/Internal/Data/Unboxed.hs
|
2022-07-30 23:23:04 +03:00
|
|
|
core/src/Streamly/Internal/Data/IORef/Unboxed.hs
|
2022-08-04 08:35:36 +03:00
|
|
|
core/src/Streamly/Internal/Data/Array/Unboxed/Mut/Type.hs
|
|
|
|
core/src/Streamly/Internal/Data/Array/Unboxed/Mut.hs
|
|
|
|
core/src/Streamly/Internal/Data/Array/Unboxed/Type.hs
|
2022-03-07 13:00:48 +03:00
|
|
|
core/src/Streamly/Internal/Data/Array/Mut/Type.hs
|
|
|
|
core/src/Streamly/Internal/Data/Stream/StreamD/Generate.hs
|
|
|
|
core/src/Streamly/Internal/Data/Stream/StreamD/Eliminate.hs
|
|
|
|
core/src/Streamly/Internal/Data/Stream/StreamD/Nesting.hs
|
|
|
|
core/src/Streamly/Internal/Data/Stream/StreamD/Transform.hs
|
|
|
|
core/src/Streamly/Internal/Data/Stream/StreamD/Exception.hs
|
|
|
|
core/src/Streamly/Internal/Data/Stream/StreamD/Lift.hs
|
|
|
|
core/src/Streamly/Internal/Data/Stream/StreamD.hs
|
|
|
|
core/src/Streamly/Internal/Data/Stream/StreamDK.hs
|
2022-03-10 12:24:20 +03:00
|
|
|
core/src/Streamly/Internal/Data/Stream/Common.hs
|
2022-03-07 13:00:48 +03:00
|
|
|
core/src/Streamly/Internal/Data/Parser/ParserD/Tee.hs
|
|
|
|
core/src/Streamly/Internal/Data/Parser/ParserD.hs
|
|
|
|
core/src/Streamly/Internal/Data/Unfold.hs
|
|
|
|
core/src/Streamly/Internal/Data/Unfold/Enumeration.hs
|
|
|
|
core/src/Streamly/Internal/Data/Fold/Tee.hs
|
|
|
|
core/src/Streamly/Internal/Data/Fold.hs
|
2022-03-17 15:16:55 +03:00
|
|
|
|
2022-03-07 13:00:48 +03:00
|
|
|
core/src/Streamly/Internal/Data/Parser.hs
|
|
|
|
core/src/Streamly/Internal/Data/Pipe.hs
|
|
|
|
core/src/Streamly/Internal/Data/Stream/Serial.hs
|
2022-05-24 15:22:00 +03:00
|
|
|
core/src/Streamly/Internal/Data/Stream.hs
|
2022-05-24 15:22:00 +03:00
|
|
|
core/src/Streamly/Internal/Data/Stream/Bottom.hs
|
2022-06-20 14:29:19 +03:00
|
|
|
core/src/Streamly/Internal/Data/Stream/Eliminate.hs
|
2022-08-07 21:10:28 +03:00
|
|
|
core/src/Streamly/Internal/Data/Stream/Enumerate.hs
|
2022-05-24 15:22:00 +03:00
|
|
|
core/src/Streamly/Internal/Data/Stream/Exception.hs
|
|
|
|
core/src/Streamly/Internal/Data/Stream/Expand.hs
|
|
|
|
core/src/Streamly/Internal/Data/Stream/Generate.hs
|
|
|
|
core/src/Streamly/Internal/Data/Stream/Lift.hs
|
|
|
|
core/src/Streamly/Internal/Data/Stream/Reduce.hs
|
2022-06-25 19:18:07 +03:00
|
|
|
core/src/Streamly/Internal/Data/Stream/Top.hs
|
2022-06-20 14:29:19 +03:00
|
|
|
core/src/Streamly/Internal/Data/Stream/Transform.hs
|
|
|
|
core/src/Streamly/Internal/Data/Stream/Type.hs
|
2022-03-22 23:03:58 +03:00
|
|
|
core/src/Streamly/Internal/Data/Stream/WSerial.hs
|
2022-03-07 13:00:48 +03:00
|
|
|
core/src/Streamly/Internal/Data/Stream/Zip.hs
|
|
|
|
core/src/Streamly/Internal/Data/List.hs
|
|
|
|
core/src/Streamly/Internal/Data/Array.hs
|
2022-08-04 08:35:36 +03:00
|
|
|
core/src/Streamly/Internal/Data/Array/Unboxed.hs
|
2022-03-07 13:00:48 +03:00
|
|
|
core/src/Streamly/Internal/Data/Array/Stream/Mut/Foreign.hs
|
|
|
|
core/src/Streamly/Internal/Data/Array/Stream/Fold/Foreign.hs
|
|
|
|
core/src/Streamly/Internal/Data/Ring/Foreign.hs
|
|
|
|
core/src/Streamly/Internal/Data/Ring.hs
|
|
|
|
core/src/Streamly/Internal/Data/Stream/StreamK.hs
|
|
|
|
core/src/Streamly/Data/Fold.hs
|
|
|
|
core/src/Streamly/Data/Fold/Tee.hs
|
2022-03-15 12:33:33 +03:00
|
|
|
core/src/Streamly/Internal/Data/Fold/Window.hs
|
2022-08-04 08:35:36 +03:00
|
|
|
core/src/Streamly/Data/Array/Unboxed.hs
|
2022-03-07 13:00:48 +03:00
|
|
|
core/src/Streamly/Internal/Data/Time/Clock/Darwin.c
|
|
|
|
core/src/Streamly/Internal/Data/Time/Clock/Windows.c
|
|
|
|
core/streamly-core.cabal
|
|
|
|
core/jsbits/clock.js
|
|
|
|
core/Setup.hs
|
|
|
|
|
2021-07-27 13:16:06 +03:00
|
|
|
extra-doc-files:
|
|
|
|
CONTRIBUTING.md
|
2022-02-07 02:30:56 +03:00
|
|
|
CHANGELOG.md
|
2021-07-27 13:16:06 +03:00
|
|
|
README.md
|
|
|
|
benchmark/README.md
|
2022-03-30 01:18:14 +03:00
|
|
|
docs/Developer/Benchmarks.md
|
2022-03-30 01:01:05 +03:00
|
|
|
docs/Developer/*.png
|
|
|
|
docs/Developer/*.md
|
|
|
|
docs/Developer/*.rst
|
|
|
|
docs/Developer/*.png
|
|
|
|
docs/Developer/*.md
|
|
|
|
docs/Developer/*.rst
|
2022-05-12 21:53:16 +03:00
|
|
|
docs/Developer/*.link
|
2022-04-09 22:53:27 +03:00
|
|
|
docs/User/*.md
|
2022-04-09 10:56:15 +03:00
|
|
|
docs/User/Tutorials/*.md
|
2022-05-12 21:53:16 +03:00
|
|
|
docs/User/Tutorials/*.link
|
2022-04-09 10:56:15 +03:00
|
|
|
docs/User/Tutorials/*.hs
|
|
|
|
docs/User/HowTo/*.md
|
2022-05-12 21:53:16 +03:00
|
|
|
docs/User/HowTo/*.link
|
2022-04-09 10:56:15 +03:00
|
|
|
docs/User/HowTo/*.svg
|
2022-04-09 22:47:14 +03:00
|
|
|
docs/User/Explanatory/*.md
|
|
|
|
docs/User/Explanatory/streaming-pradigms.rst
|
2022-04-09 10:56:15 +03:00
|
|
|
docs/User/ProjectRelated/*.md
|
2022-05-12 21:53:16 +03:00
|
|
|
docs/User/ProjectRelated/*.link
|
2022-04-09 10:56:15 +03:00
|
|
|
docs/User/ProjectRelated/API-changelog.txt
|
2021-07-27 13:16:06 +03:00
|
|
|
test/README.md
|
2022-03-30 01:18:14 +03:00
|
|
|
docs/Developer/Tests.md
|
2021-07-27 13:16:06 +03:00
|
|
|
|
2019-01-11 00:51:02 +03:00
|
|
|
extra-tmp-files:
|
|
|
|
config.log
|
|
|
|
config.status
|
|
|
|
autom4te.cache
|
2020-08-17 01:41:17 +03:00
|
|
|
src/config.h
|
2017-12-04 13:39:36 +03:00
|
|
|
|
2017-10-18 09:21:38 +03:00
|
|
|
source-repository head
|
|
|
|
type: git
|
2017-12-05 18:40:43 +03:00
|
|
|
location: https://github.com/composewell/streamly
|
2017-10-18 09:21:38 +03:00
|
|
|
|
2020-01-25 16:19:33 +03:00
|
|
|
flag fusion-plugin
|
2020-02-20 12:38:12 +03:00
|
|
|
description: Use fusion plugin for benchmarks and executables
|
2020-01-25 16:19:33 +03:00
|
|
|
manual: True
|
|
|
|
default: False
|
|
|
|
|
2019-08-27 18:32:44 +03:00
|
|
|
flag inspection
|
|
|
|
description: Enable inspection testing
|
|
|
|
manual: True
|
|
|
|
default: False
|
|
|
|
|
2019-11-08 19:44:07 +03:00
|
|
|
flag debug
|
|
|
|
description: Debug build with asserts enabled
|
|
|
|
manual: True
|
|
|
|
default: False
|
|
|
|
|
2017-09-14 06:10:50 +03:00
|
|
|
flag dev
|
2018-05-27 07:22:00 +03:00
|
|
|
description: Development build
|
2017-09-14 06:10:50 +03:00
|
|
|
manual: True
|
|
|
|
default: False
|
|
|
|
|
2019-05-16 04:21:23 +03:00
|
|
|
flag has-llvm
|
2020-02-20 12:38:12 +03:00
|
|
|
description: Use llvm backend for code generation
|
2019-05-16 04:21:23 +03:00
|
|
|
manual: True
|
|
|
|
default: False
|
|
|
|
|
2018-06-26 07:14:06 +03:00
|
|
|
flag streamk
|
|
|
|
description: Use CPS style streams when possible
|
|
|
|
manual: True
|
|
|
|
default: False
|
|
|
|
|
2020-08-27 22:11:15 +03:00
|
|
|
flag use-c-malloc
|
|
|
|
description: Use C malloc instead of GHC malloc
|
|
|
|
manual: True
|
|
|
|
default: False
|
|
|
|
|
2020-12-12 08:55:53 +03:00
|
|
|
flag opt
|
|
|
|
description: off=GHC default, on=-O2
|
|
|
|
manual: True
|
|
|
|
default: True
|
|
|
|
|
2021-09-05 11:11:37 +03:00
|
|
|
flag limit-build-mem
|
|
|
|
description: Limits memory when building
|
|
|
|
manual: True
|
|
|
|
default: False
|
|
|
|
|
2019-08-23 05:35:19 +03:00
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
-- Common stanzas
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
common compile-options
|
|
|
|
default-language: Haskell2010
|
2020-08-20 18:43:56 +03:00
|
|
|
|
|
|
|
if os(darwin)
|
|
|
|
cpp-options: -DCABAL_OS_DARWIN
|
|
|
|
|
|
|
|
if os(linux)
|
|
|
|
cpp-options: -DCABAL_OS_LINUX
|
|
|
|
|
2020-09-06 14:41:15 +03:00
|
|
|
if os(windows)
|
2020-10-21 00:47:27 +03:00
|
|
|
cpp-options: -DCABAL_OS_WINDOWS
|
2020-09-06 14:41:15 +03:00
|
|
|
|
2019-08-23 05:35:19 +03:00
|
|
|
if flag(streamk)
|
|
|
|
cpp-options: -DUSE_STREAMK_ONLY
|
|
|
|
|
|
|
|
if flag(dev)
|
|
|
|
cpp-options: -DDEVBUILD
|
|
|
|
|
2019-08-27 18:32:44 +03:00
|
|
|
if flag(inspection)
|
|
|
|
cpp-options: -DINSPECTION
|
|
|
|
|
2020-08-27 22:11:15 +03:00
|
|
|
if flag(use-c-malloc)
|
|
|
|
cpp-options: -DUSE_C_MALLOC
|
|
|
|
|
2022-08-11 09:23:50 +03:00
|
|
|
ghc-options: -Weverything
|
|
|
|
-Wno-implicit-prelude
|
|
|
|
-Wno-missing-deriving-strategies
|
|
|
|
-Wno-missing-exported-signatures
|
|
|
|
-Wno-missing-import-lists
|
|
|
|
-Wno-missing-local-signatures
|
|
|
|
-Wno-missing-safe-haskell-mode
|
|
|
|
-Wno-missed-specialisations
|
|
|
|
-Wno-all-missed-specialisations
|
|
|
|
-Wno-monomorphism-restriction
|
|
|
|
-Wno-prepositive-qualified-module
|
|
|
|
-Wno-unsafe
|
2019-08-23 05:35:19 +03:00
|
|
|
|
|
|
|
if flag(has-llvm)
|
|
|
|
ghc-options: -fllvm
|
|
|
|
|
|
|
|
if flag(dev)
|
|
|
|
ghc-options: -Wmissed-specialisations
|
|
|
|
-Wall-missed-specialisations
|
2019-11-08 19:44:07 +03:00
|
|
|
|
2021-09-05 11:11:37 +03:00
|
|
|
if flag(limit-build-mem)
|
2021-09-05 18:02:19 +03:00
|
|
|
ghc-options: +RTS -M1000M -RTS
|
2021-09-05 11:11:37 +03:00
|
|
|
|
2020-07-06 05:40:04 +03:00
|
|
|
common default-extensions
|
|
|
|
default-extensions:
|
|
|
|
BangPatterns
|
|
|
|
CApiFFI
|
|
|
|
CPP
|
|
|
|
ConstraintKinds
|
|
|
|
DeriveDataTypeable
|
|
|
|
DeriveGeneric
|
|
|
|
DeriveTraversable
|
|
|
|
ExistentialQuantification
|
|
|
|
FlexibleContexts
|
|
|
|
FlexibleInstances
|
|
|
|
GeneralizedNewtypeDeriving
|
|
|
|
InstanceSigs
|
|
|
|
KindSignatures
|
|
|
|
LambdaCase
|
|
|
|
MagicHash
|
|
|
|
MultiParamTypeClasses
|
|
|
|
PatternSynonyms
|
|
|
|
RankNTypes
|
|
|
|
RecordWildCards
|
|
|
|
ScopedTypeVariables
|
|
|
|
TupleSections
|
2021-09-04 08:47:27 +03:00
|
|
|
TypeApplications
|
2020-07-02 21:07:17 +03:00
|
|
|
TypeFamilies
|
2020-07-06 05:40:04 +03:00
|
|
|
ViewPatterns
|
|
|
|
|
2020-07-02 21:07:17 +03:00
|
|
|
-- MonoLocalBinds, enabled by TypeFamilies, causes performance
|
|
|
|
-- regressions. Disable it. This must come after TypeFamilies,
|
|
|
|
-- otherwise TypeFamilies will enable it again.
|
|
|
|
NoMonoLocalBinds
|
|
|
|
|
2020-07-06 05:40:04 +03:00
|
|
|
-- UndecidableInstances -- Does not show any perf impact
|
|
|
|
-- UnboxedTuples -- interferes with (#.)
|
|
|
|
|
2019-08-23 05:35:19 +03:00
|
|
|
common optimization-options
|
2020-12-12 08:55:53 +03:00
|
|
|
if flag(opt)
|
|
|
|
ghc-options: -O2
|
|
|
|
-fdicts-strict
|
|
|
|
-fspec-constr-recursive=16
|
|
|
|
-fmax-worker-args=16
|
2019-08-23 05:35:19 +03:00
|
|
|
|
2021-10-05 20:27:40 +03:00
|
|
|
-- For this to be effective it must come after the -O2 option
|
|
|
|
if flag(dev) || flag(debug) || !flag(opt)
|
|
|
|
ghc-options: -fno-ignore-asserts
|
|
|
|
|
2019-08-23 05:35:19 +03:00
|
|
|
common threading-options
|
|
|
|
ghc-options: -threaded
|
|
|
|
-with-rtsopts=-N
|
|
|
|
|
|
|
|
-- We need optimization options here to optimize internal (non-inlined)
|
|
|
|
-- versions of functions. Also, we have some benchmarking inspection tests
|
|
|
|
-- part of the library when built with --benchmarks flag. Thos tests fail
|
|
|
|
-- if we do not use optimization options here. It was observed that due to
|
|
|
|
-- -O2 here some concurrent/nested benchmarks improved and others regressed.
|
|
|
|
-- We can investigate a bit more here why the regression occurred.
|
|
|
|
common lib-options
|
2020-07-06 05:40:04 +03:00
|
|
|
import: compile-options, optimization-options, default-extensions
|
2019-08-23 05:35:19 +03:00
|
|
|
|
2018-05-03 22:57:22 +03:00
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
-- Library
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
|
2017-06-07 18:32:27 +03:00
|
|
|
library
|
2019-08-23 05:35:19 +03:00
|
|
|
import: lib-options
|
2020-06-28 18:40:15 +03:00
|
|
|
|
2020-06-26 18:20:56 +03:00
|
|
|
if impl(ghc >= 8.6)
|
|
|
|
default-extensions: QuantifiedConstraints
|
|
|
|
|
2022-01-06 16:00:18 +03:00
|
|
|
include-dirs:
|
|
|
|
src
|
|
|
|
, src/Streamly/Internal/Data/Stream
|
|
|
|
, src/Streamly/Internal/Data/Array
|
|
|
|
|
2017-06-07 18:32:27 +03:00
|
|
|
hs-source-dirs: src
|
2019-12-10 10:14:57 +03:00
|
|
|
exposed-modules:
|
2022-02-13 03:06:00 +03:00
|
|
|
-- Internal modules, listed roughly in bottom up
|
|
|
|
-- dependency order To view dependency graph:
|
2021-02-03 00:52:32 +03:00
|
|
|
-- graphmod | dot -Tps > deps.ps
|
2021-01-17 11:41:21 +03:00
|
|
|
|
2022-03-07 13:00:48 +03:00
|
|
|
-- XXX To be moved to streamly-core
|
|
|
|
Streamly.Data.Unfold
|
|
|
|
|
2022-07-31 11:50:22 +03:00
|
|
|
, Streamly.Internal.Data.IsMap.HashMap
|
|
|
|
|
2022-03-07 13:00:48 +03:00
|
|
|
-- XXX To be removed or put under dev flag
|
|
|
|
, Streamly.Internal.Data.SmallArray.Type
|
|
|
|
, Streamly.Internal.Data.SmallArray
|
|
|
|
|
|
|
|
-- streamly-concurrent
|
|
|
|
, Streamly.Internal.Data.Atomics
|
|
|
|
, Streamly.Internal.Data.SVar.Worker
|
|
|
|
, Streamly.Internal.Data.SVar.Dispatch
|
|
|
|
, Streamly.Internal.Data.SVar.Pull
|
|
|
|
, Streamly.Internal.Data.SVar
|
|
|
|
|
|
|
|
, Streamly.Internal.Data.Unfold.SVar
|
|
|
|
, Streamly.Internal.Data.Fold.SVar
|
|
|
|
, Streamly.Internal.Data.Fold.Async
|
|
|
|
, Streamly.Internal.Data.Stream.SVar.Generate
|
|
|
|
, Streamly.Internal.Data.Stream.SVar.Eliminate
|
|
|
|
|
|
|
|
, Streamly.Internal.Data.Stream.Async
|
|
|
|
, Streamly.Internal.Data.Stream.Parallel
|
|
|
|
, Streamly.Internal.Data.Stream.Ahead
|
|
|
|
, Streamly.Internal.Data.Stream.ZipAsync
|
|
|
|
|
|
|
|
, Streamly.Internal.Data.Stream.IsStream.Type
|
|
|
|
, Streamly.Internal.Data.Stream.IsStream.Combinators
|
|
|
|
, Streamly.Internal.Data.Stream.IsStream.Common
|
|
|
|
, Streamly.Internal.Data.Stream.IsStream.Enumeration
|
|
|
|
, Streamly.Internal.Data.Stream.IsStream.Generate
|
|
|
|
, Streamly.Internal.Data.Stream.IsStream.Eliminate
|
|
|
|
, Streamly.Internal.Data.Stream.IsStream.Transform
|
|
|
|
, Streamly.Internal.Data.Stream.IsStream.Expand
|
|
|
|
, Streamly.Internal.Data.Stream.IsStream.Reduce
|
|
|
|
, Streamly.Internal.Data.Stream.IsStream.Exception
|
|
|
|
, Streamly.Internal.Data.Stream.IsStream.Lift
|
|
|
|
, Streamly.Internal.Data.Stream.IsStream.Top
|
|
|
|
, Streamly.Internal.Data.Stream.IsStream
|
|
|
|
|
|
|
|
, Streamly.Internal.Data.Array.Stream.Foreign
|
|
|
|
|
|
|
|
-- streamly-serde
|
|
|
|
, Streamly.Internal.Data.Binary.Decode
|
|
|
|
|
|
|
|
-- streamly-unicode
|
|
|
|
, Streamly.Internal.Unicode.Stream
|
2022-05-10 13:33:27 +03:00
|
|
|
, Streamly.Internal.Unicode.String
|
2022-03-07 13:00:48 +03:00
|
|
|
, Streamly.Internal.Unicode.Utf8
|
|
|
|
, Streamly.Internal.Unicode.Char
|
|
|
|
, Streamly.Internal.Unicode.Char.Parser
|
|
|
|
, Streamly.Internal.Unicode.Array.Char
|
|
|
|
|
|
|
|
-- streamly-filesystem
|
|
|
|
, Streamly.Internal.System.IOVec.Type
|
|
|
|
, Streamly.Internal.System.IOVec
|
|
|
|
, Streamly.Internal.FileSystem.Handle
|
|
|
|
, Streamly.Internal.FileSystem.Dir
|
|
|
|
, Streamly.Internal.FileSystem.File
|
|
|
|
, Streamly.Internal.FileSystem.FDIO
|
|
|
|
, Streamly.Internal.FileSystem.FD
|
|
|
|
|
|
|
|
-- streamly-console
|
|
|
|
, Streamly.Internal.Console.Stdio
|
|
|
|
|
|
|
|
-- streamly-network
|
|
|
|
, Streamly.Internal.Network.Socket
|
|
|
|
, Streamly.Internal.Network.Inet.TCP
|
|
|
|
|
|
|
|
-- Exposed modules
|
|
|
|
, Streamly.Prelude
|
|
|
|
|
|
|
|
-- Text Processing
|
|
|
|
, Streamly.Unicode.Stream
|
|
|
|
|
|
|
|
-- Filesystem/IO
|
|
|
|
, Streamly.FileSystem.Handle
|
|
|
|
, Streamly.Console.Stdio
|
|
|
|
|
|
|
|
-- Network/IO
|
|
|
|
, Streamly.Network.Socket
|
|
|
|
, Streamly.Network.Inet.TCP
|
|
|
|
|
|
|
|
-- Deprecated
|
|
|
|
, Streamly
|
|
|
|
, Streamly.Data.Unicode.Stream
|
|
|
|
, Streamly.Memory.Array
|
2022-08-04 08:35:36 +03:00
|
|
|
, Streamly.Data.Array.Foreign
|
2022-03-07 13:00:48 +03:00
|
|
|
|
|
|
|
reexported-modules:
|
|
|
|
-- Re-exported modules, listed in the order described in
|
|
|
|
-- streamly-core.
|
|
|
|
|
2021-01-17 11:41:21 +03:00
|
|
|
-- streamly-base
|
2022-02-13 03:06:00 +03:00
|
|
|
Streamly.Internal.BaseCompat
|
2020-09-02 06:35:03 +03:00
|
|
|
, Streamly.Internal.Control.Exception
|
2019-11-28 05:08:00 +03:00
|
|
|
, Streamly.Internal.Control.Monad
|
2022-02-13 06:05:19 +03:00
|
|
|
, Streamly.Internal.Control.ForkIO
|
2020-08-11 22:22:14 +03:00
|
|
|
, Streamly.Internal.Data.Cont
|
2022-02-13 03:06:00 +03:00
|
|
|
, Streamly.Internal.Foreign.Malloc
|
|
|
|
, Streamly.Internal.System.IO
|
|
|
|
|
|
|
|
-- streamly-strict-data
|
2020-08-05 20:36:45 +03:00
|
|
|
, Streamly.Internal.Data.Tuple.Strict
|
|
|
|
, Streamly.Internal.Data.Maybe.Strict
|
|
|
|
, Streamly.Internal.Data.Either.Strict
|
2022-02-13 03:06:00 +03:00
|
|
|
|
2022-02-28 08:51:14 +03:00
|
|
|
-- XXX Depends on monad-control or unliftio-core
|
2022-02-13 03:06:00 +03:00
|
|
|
, Streamly.Internal.Control.Concurrent
|
|
|
|
, Streamly.Internal.Control.ForkLifted
|
2021-01-23 18:07:42 +03:00
|
|
|
, Streamly.Internal.Data.IOFinalizer
|
2022-02-13 03:06:00 +03:00
|
|
|
|
|
|
|
-- streamly-time
|
2020-06-28 20:20:46 +03:00
|
|
|
, Streamly.Internal.Data.Time.TimeSpec
|
2019-09-25 09:08:14 +03:00
|
|
|
, Streamly.Internal.Data.Time.Units
|
2021-02-07 11:59:57 +03:00
|
|
|
, Streamly.Internal.Data.Time.Clock.Type
|
2019-09-25 09:08:14 +03:00
|
|
|
, Streamly.Internal.Data.Time.Clock
|
2020-08-27 22:26:05 +03:00
|
|
|
|
2022-02-13 03:06:00 +03:00
|
|
|
-- streamly-core-stream-types
|
2021-08-19 02:17:15 +03:00
|
|
|
, Streamly.Internal.Data.SVar.Type
|
2021-01-17 11:41:21 +03:00
|
|
|
, Streamly.Internal.Data.Stream.StreamK.Type
|
2021-10-08 14:48:58 +03:00
|
|
|
, Streamly.Internal.Data.Fold.Step
|
2021-10-17 17:48:55 +03:00
|
|
|
, Streamly.Internal.Data.Refold.Type
|
2021-03-11 08:27:24 +03:00
|
|
|
, Streamly.Internal.Data.Fold.Type
|
2021-01-22 15:33:37 +03:00
|
|
|
, Streamly.Internal.Data.Stream.StreamD.Step
|
2021-01-17 11:41:21 +03:00
|
|
|
, Streamly.Internal.Data.Stream.StreamD.Type
|
|
|
|
, Streamly.Internal.Data.Stream.StreamDK.Type
|
2021-03-11 08:27:24 +03:00
|
|
|
, Streamly.Internal.Data.Unfold.Type
|
2021-02-17 16:41:33 +03:00
|
|
|
, Streamly.Internal.Data.Producer.Type
|
|
|
|
, Streamly.Internal.Data.Producer
|
|
|
|
, Streamly.Internal.Data.Producer.Source
|
2022-03-17 15:16:55 +03:00
|
|
|
|
2021-03-11 08:27:24 +03:00
|
|
|
, Streamly.Internal.Data.Parser.ParserK.Type
|
|
|
|
, Streamly.Internal.Data.Parser.ParserD.Type
|
|
|
|
, Streamly.Internal.Data.Pipe.Type
|
2020-04-14 16:52:58 +03:00
|
|
|
|
2022-02-13 03:06:00 +03:00
|
|
|
-- streamly-core-array-types
|
2022-06-15 10:58:15 +03:00
|
|
|
, Streamly.Internal.Data.Unboxed
|
2021-01-21 01:10:42 +03:00
|
|
|
-- Unboxed IORef
|
2022-07-30 23:23:04 +03:00
|
|
|
, Streamly.Internal.Data.IORef.Unboxed
|
2021-01-17 11:41:21 +03:00
|
|
|
-- May depend on streamly-core-stream
|
2022-08-04 08:35:36 +03:00
|
|
|
, Streamly.Internal.Data.Array.Unboxed.Mut.Type
|
|
|
|
, Streamly.Internal.Data.Array.Unboxed.Mut
|
|
|
|
, Streamly.Internal.Data.Array.Unboxed.Type
|
2021-11-09 22:19:58 +03:00
|
|
|
, Streamly.Internal.Data.Array.Mut.Type
|
2021-01-17 11:41:21 +03:00
|
|
|
|
2022-02-13 03:06:00 +03:00
|
|
|
-- streamly-core-streams
|
|
|
|
-- StreamD depends on streamly-array-types
|
2020-12-18 10:58:49 +03:00
|
|
|
, Streamly.Internal.Data.Stream.StreamD.Generate
|
2020-12-20 22:39:57 +03:00
|
|
|
, Streamly.Internal.Data.Stream.StreamD.Eliminate
|
2021-01-03 02:15:44 +03:00
|
|
|
, Streamly.Internal.Data.Stream.StreamD.Nesting
|
2020-12-21 12:31:41 +03:00
|
|
|
, Streamly.Internal.Data.Stream.StreamD.Transform
|
2021-01-03 02:27:25 +03:00
|
|
|
, Streamly.Internal.Data.Stream.StreamD.Exception
|
2021-01-06 23:22:14 +03:00
|
|
|
, Streamly.Internal.Data.Stream.StreamD.Lift
|
|
|
|
, Streamly.Internal.Data.Stream.StreamD
|
2019-12-23 10:11:00 +03:00
|
|
|
, Streamly.Internal.Data.Stream.StreamDK
|
2022-03-10 12:24:20 +03:00
|
|
|
, Streamly.Internal.Data.Stream.Common
|
2021-01-17 11:41:21 +03:00
|
|
|
, Streamly.Internal.Data.Parser.ParserD.Tee
|
|
|
|
, Streamly.Internal.Data.Parser.ParserD
|
|
|
|
|
2022-02-13 03:06:00 +03:00
|
|
|
-- streamly-core-data
|
2021-01-17 11:41:21 +03:00
|
|
|
, Streamly.Internal.Data.Unfold
|
2021-08-21 02:55:43 +03:00
|
|
|
, Streamly.Internal.Data.Unfold.Enumeration
|
2021-01-22 04:52:15 +03:00
|
|
|
, Streamly.Internal.Data.Fold.Tee
|
2021-01-17 11:41:21 +03:00
|
|
|
, Streamly.Internal.Data.Fold
|
2022-04-19 18:14:28 +03:00
|
|
|
, Streamly.Internal.Data.Fold.Window
|
2021-01-17 11:41:21 +03:00
|
|
|
, Streamly.Internal.Data.Parser
|
|
|
|
, Streamly.Internal.Data.Pipe
|
2022-06-20 14:29:19 +03:00
|
|
|
, Streamly.Internal.Data.Stream.Type
|
2022-05-24 15:22:00 +03:00
|
|
|
, Streamly.Internal.Data.Stream.Bottom
|
2022-08-07 21:10:28 +03:00
|
|
|
, Streamly.Internal.Data.Stream.Enumerate
|
2022-05-24 15:22:00 +03:00
|
|
|
, Streamly.Internal.Data.Stream.Generate
|
2022-06-20 14:29:19 +03:00
|
|
|
, Streamly.Internal.Data.Stream.Eliminate
|
2022-05-24 15:22:00 +03:00
|
|
|
, Streamly.Internal.Data.Stream.Expand
|
|
|
|
, Streamly.Internal.Data.Stream.Reduce
|
2022-05-24 15:22:00 +03:00
|
|
|
, Streamly.Internal.Data.Stream.Transform
|
2022-06-20 14:29:19 +03:00
|
|
|
, Streamly.Internal.Data.Stream.Exception
|
|
|
|
, Streamly.Internal.Data.Stream.Lift
|
2022-06-25 19:18:07 +03:00
|
|
|
, Streamly.Internal.Data.Stream.Top
|
2022-06-20 14:29:19 +03:00
|
|
|
, Streamly.Internal.Data.Stream
|
2022-06-02 14:55:41 +03:00
|
|
|
, Streamly.Internal.Data.Stream.Serial
|
|
|
|
, Streamly.Internal.Data.Stream.Zip
|
2022-06-20 14:29:19 +03:00
|
|
|
, Streamly.Internal.Data.List
|
2022-02-13 03:06:00 +03:00
|
|
|
|
|
|
|
-- streamly-core-data-arrays
|
|
|
|
-- XXX Depends on primitive
|
|
|
|
, Streamly.Internal.Data.Array
|
2022-08-04 08:35:36 +03:00
|
|
|
, Streamly.Internal.Data.Array.Unboxed
|
2022-02-13 03:06:00 +03:00
|
|
|
, Streamly.Internal.Data.Array.Stream.Mut.Foreign
|
|
|
|
, Streamly.Internal.Data.Array.Stream.Fold.Foreign
|
|
|
|
|
|
|
|
-- Ring Arrays
|
|
|
|
, Streamly.Internal.Data.Ring.Foreign
|
|
|
|
-- XXX Depends on primitive
|
|
|
|
, Streamly.Internal.Data.Ring
|
|
|
|
|
|
|
|
-- Only used for benchmarks
|
|
|
|
, Streamly.Internal.Data.Stream.StreamK
|
|
|
|
|
|
|
|
-- streamly-core exposed modules
|
|
|
|
, Streamly.Data.Fold
|
|
|
|
, Streamly.Data.Fold.Tee
|
2022-08-04 08:35:36 +03:00
|
|
|
, Streamly.Data.Array.Unboxed
|
2022-02-13 03:06:00 +03:00
|
|
|
|
2022-03-07 13:00:48 +03:00
|
|
|
other-modules:
|
2022-02-13 03:06:00 +03:00
|
|
|
Streamly.Data.Array
|
|
|
|
, Streamly.Data.SmallArray
|
|
|
|
|
2022-03-07 13:00:48 +03:00
|
|
|
if os(windows)
|
2022-02-13 03:06:00 +03:00
|
|
|
exposed-modules: Streamly.Internal.FileSystem.Event.Windows
|
|
|
|
|
2022-03-07 13:00:48 +03:00
|
|
|
if os(darwin)
|
|
|
|
include-dirs: src/Streamly/Internal
|
2022-02-13 03:06:00 +03:00
|
|
|
c-sources: src/Streamly/Internal/FileSystem/Event/Darwin.m
|
|
|
|
exposed-modules: Streamly.Internal.FileSystem.Event.Darwin
|
|
|
|
|
2022-03-07 13:00:48 +03:00
|
|
|
if os(linux)
|
2022-02-13 03:06:00 +03:00
|
|
|
exposed-modules: Streamly.Internal.FileSystem.Event.Linux
|
|
|
|
|
2022-03-07 13:00:48 +03:00
|
|
|
if os(linux) || os(darwin) || os(windows)
|
2022-02-13 03:06:00 +03:00
|
|
|
exposed-modules: Streamly.Internal.FileSystem.Event
|
2021-09-04 08:47:27 +03:00
|
|
|
|
2020-01-06 10:36:57 +03:00
|
|
|
build-depends:
|
|
|
|
-- Core libraries shipped with ghc, the min and max
|
|
|
|
-- constraints of these libraries should match with
|
2021-06-11 08:19:47 +03:00
|
|
|
-- the GHC versions we support. This is to make sure that
|
|
|
|
-- packages depending on the "ghc" package (packages
|
|
|
|
-- depending on doctest is a common example) can
|
|
|
|
-- depend on streamly.
|
2022-07-16 13:18:14 +03:00
|
|
|
base >= 4.9 && < 4.18
|
2020-01-06 10:36:57 +03:00
|
|
|
, containers >= 0.5 && < 0.7
|
2019-06-15 21:31:33 +03:00
|
|
|
, deepseq >= 1.4.1 && < 1.5
|
2020-02-06 16:01:17 +03:00
|
|
|
, directory >= 1.2.2 && < 1.4
|
2020-02-07 15:23:31 +03:00
|
|
|
, exceptions >= 0.8 && < 0.11
|
2022-07-16 13:18:14 +03:00
|
|
|
, ghc-prim >= 0.2 && < 0.10
|
2021-12-08 08:54:01 +03:00
|
|
|
, mtl >= 2.2 && < 2.3
|
2021-11-26 00:47:09 +03:00
|
|
|
, transformers >= 0.4 && < 0.7
|
2022-07-16 13:18:14 +03:00
|
|
|
, template-haskell >= 2.13 && < 2.20
|
2020-01-06 10:36:57 +03:00
|
|
|
|
2022-03-07 13:00:48 +03:00
|
|
|
-- The core streamly package
|
|
|
|
, streamly-core == 0.1.0
|
2022-02-13 03:06:00 +03:00
|
|
|
, fusion-plugin-types >= 0.1 && < 0.2
|
|
|
|
|
2022-07-31 11:50:22 +03:00
|
|
|
, hashable >= 1.3 && < 1.5
|
|
|
|
, unordered-containers >= 0.2 && < 0.3
|
|
|
|
|
2022-02-13 03:06:00 +03:00
|
|
|
-- XXX to be removed
|
|
|
|
, transformers-base >= 0.4 && < 0.5
|
|
|
|
, primitive >= 0.5.4 && < 0.8
|
2021-02-10 14:28:03 +03:00
|
|
|
, heaps >= 0.3 && < 0.5
|
2018-05-27 06:25:03 +03:00
|
|
|
|
|
|
|
-- concurrency
|
|
|
|
, atomic-primops >= 0.8 && < 0.9
|
2018-05-17 08:52:29 +03:00
|
|
|
, lockfree-queue >= 0.2.3 && < 0.3
|
|
|
|
|
2022-01-03 02:12:19 +03:00
|
|
|
, unicode-data >= 0.1 && < 0.4
|
2020-01-24 13:57:17 +03:00
|
|
|
|
2020-12-23 09:23:37 +03:00
|
|
|
-- Network
|
2021-12-08 08:54:01 +03:00
|
|
|
, network >= 2.6 && < 3.2
|
2020-12-23 09:23:37 +03:00
|
|
|
|
2022-03-07 13:00:48 +03:00
|
|
|
if os(windows)
|
2022-02-13 03:06:00 +03:00
|
|
|
build-depends: Win32 >= 2.6 && < 2.13
|
|
|
|
|
2022-03-07 13:00:48 +03:00
|
|
|
if os(darwin)
|
2022-02-13 03:06:00 +03:00
|
|
|
frameworks: Cocoa
|
2020-01-27 23:17:05 +03:00
|
|
|
|
2022-03-07 13:00:48 +03:00
|
|
|
if flag(inspection)
|
2022-07-16 13:18:14 +03:00
|
|
|
build-depends: inspection-testing >= 0.4 && < 0.5
|
2017-06-07 18:32:27 +03:00
|
|
|
|
2022-03-07 13:00:48 +03:00
|
|
|
-- Array uses a Storable constraint in dev build making several inspection
|
|
|
|
-- tests fail
|
|
|
|
if flag(dev) && flag(inspection)
|
|
|
|
build-depends: inspection-and-dev-flags-cannot-be-used-together
|