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-09-28 12:51:17 +03:00
|
|
|
tested-with: 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
|
2022-08-27 23:11:09 +03:00
|
|
|
, GHC==9.2.4
|
|
|
|
, GHC==9.4.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
|
2022-08-09 10:38:10 +03:00
|
|
|
benchmark/Streamly/Benchmark/Data/Array/Unboxed.hs
|
2022-07-11 10:53:22 +03:00
|
|
|
benchmark/Streamly/Benchmark/Data/Ring/Unboxed.hs
|
2022-08-09 10:38:10 +03:00
|
|
|
benchmark/Streamly/Benchmark/Data/Array/Unboxed/Mut.hs
|
2022-10-03 15:54:31 +03:00
|
|
|
benchmark/Streamly/Benchmark/Data/Array/Stream/Unboxed.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
|
2022-08-13 12:37:44 +03:00
|
|
|
src/assert.hs
|
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
|
2022-08-09 10:38:10 +03:00
|
|
|
test/Streamly/Test/Data/Array/Unboxed.hs
|
2022-08-19 22:15:57 +03:00
|
|
|
test/Streamly/Test/Data/Array/Unboxed/Mut.hs
|
2022-07-11 09:09:28 +03:00
|
|
|
test/Streamly/Test/Data/Ring/Unboxed.hs
|
2022-10-03 15:54:31 +03:00
|
|
|
test/Streamly/Test/Data/Array/Stream/Unboxed.hs
|
2022-02-10 10:26:44 +03:00
|
|
|
test/Streamly/Test/Data/Parser/ParserD.hs
|
2022-10-11 14:11:45 +03:00
|
|
|
test/Streamly/Test/Data/Stream/Concurrent.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
|
|
|
|
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
|
|
|
|
|
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(dev)
|
|
|
|
cpp-options: -DDEVBUILD
|
|
|
|
|
2019-08-27 18:32:44 +03:00
|
|
|
if flag(inspection)
|
|
|
|
cpp-options: -DINSPECTION
|
|
|
|
|
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
|
2022-08-17 21:16:21 +03:00
|
|
|
-Rghc-timing
|
|
|
|
|
|
|
|
if impl(ghc >= 9.2)
|
|
|
|
ghc-options:
|
|
|
|
-Wno-missing-kind-signatures
|
|
|
|
-Wno-redundant-bang-patterns
|
|
|
|
-Wno-operator-whitespace
|
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
|
2022-08-26 21:46:43 +03:00
|
|
|
TypeOperators
|
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-08-20 08:29:13 +03:00
|
|
|
Streamly.Internal.Data.IsMap.HashMap
|
2022-07-31 11:50:22 +03:00
|
|
|
|
2022-03-07 13:00:48 +03:00
|
|
|
-- streamly-concurrent
|
|
|
|
, Streamly.Internal.Data.Atomics
|
2022-09-21 21:32:09 +03:00
|
|
|
, Streamly.Internal.Data.Stream.Channel.Types
|
|
|
|
, Streamly.Internal.Data.Stream.Channel.Dispatcher
|
|
|
|
, Streamly.Internal.Data.Stream.Channel.Worker
|
|
|
|
|
2022-10-11 14:11:45 +03:00
|
|
|
, Streamly.Internal.Data.Stream.Concurrent.Channel.Type
|
|
|
|
, Streamly.Internal.Data.Stream.Concurrent.Channel.Dispatcher
|
|
|
|
, Streamly.Internal.Data.Stream.Concurrent.Channel.Consumer
|
|
|
|
, Streamly.Internal.Data.Stream.Concurrent.Channel.Append
|
|
|
|
, Streamly.Internal.Data.Stream.Concurrent.Channel.Interleave
|
|
|
|
, Streamly.Internal.Data.Stream.Concurrent.Channel.Operations
|
|
|
|
, Streamly.Internal.Data.Stream.Concurrent.Channel
|
|
|
|
, Streamly.Internal.Data.Stream.Concurrent
|
2022-03-07 13:00:48 +03:00
|
|
|
|
|
|
|
-- streamly-unicode
|
|
|
|
, Streamly.Internal.Unicode.Utf8
|
|
|
|
, Streamly.Internal.Unicode.Char
|
|
|
|
|
|
|
|
-- streamly-filesystem
|
|
|
|
, Streamly.Internal.FileSystem.Dir
|
|
|
|
, Streamly.Internal.FileSystem.File
|
|
|
|
|
|
|
|
-- streamly-network
|
|
|
|
, Streamly.Internal.Network.Socket
|
|
|
|
, Streamly.Internal.Network.Inet.TCP
|
|
|
|
|
|
|
|
-- Exposed modules
|
2022-10-06 19:06:14 +03:00
|
|
|
, Streamly.Data.Stream.Concurrent
|
2022-03-07 13:00:48 +03:00
|
|
|
|
|
|
|
-- 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-10-12 23:09:24 +03:00
|
|
|
, Streamly.Prelude
|
|
|
|
|
|
|
|
-- Deprecated Internal modules
|
|
|
|
, 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.Serial
|
|
|
|
, 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
|
2022-03-07 13:00:48 +03:00
|
|
|
|
2022-09-27 16:06:34 +03:00
|
|
|
if !impl(ghcjs) && flag(dev)
|
|
|
|
exposed-modules:
|
|
|
|
Streamly.Internal.System.IOVec.Type
|
|
|
|
, Streamly.Internal.System.IOVec
|
|
|
|
, Streamly.Internal.FileSystem.FDIO
|
|
|
|
, Streamly.Internal.FileSystem.FD
|
|
|
|
|
2022-03-07 13:00:48 +03:00
|
|
|
reexported-modules:
|
2022-02-13 03:06:00 +03:00
|
|
|
-- streamly-core exposed modules
|
2022-08-20 08:29:13 +03:00
|
|
|
, Streamly.Data.Unfold
|
2022-08-12 09:23:36 +03:00
|
|
|
, Streamly.Data.Stream
|
2022-02-13 03:06:00 +03:00
|
|
|
, 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-08-25 13:22:41 +03:00
|
|
|
if flag(dev)
|
|
|
|
exposed-modules: Streamly.Data.SmallArray
|
|
|
|
, Streamly.Internal.Data.SmallArray
|
|
|
|
, Streamly.Internal.Data.SmallArray.Type
|
2022-02-13 03:06:00 +03:00
|
|
|
|
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-08-26 15:31:18 +03:00
|
|
|
, mtl >= 2.2 && < 2.4
|
2021-11-26 00:47:09 +03:00
|
|
|
, transformers >= 0.4 && < 0.7
|
2020-01-06 10:36:57 +03:00
|
|
|
|
2022-10-15 14:34:22 +03:00
|
|
|
, monad-control >= 1.0 && < 1.1
|
2022-09-18 22:16:03 +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
|
|
|
|
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
|
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
|
2022-08-26 15:31:18 +03:00
|
|
|
, lockfree-queue >= 0.2.4 && < 0.3
|
2022-08-22 08:18:52 +03:00
|
|
|
|
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-08-25 13:22:41 +03:00
|
|
|
if flag(dev)
|
|
|
|
build-depends: primitive >= 0.5.4 && < 0.8
|
|
|
|
|
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
|