@hackage streamly-core0.2.3
Streaming, parsers, arrays, serialization and more
Installation
Tested Compilers
Dependencies (15)
- Win32 >=2.6 && <2.14
- base >=4.12 && <4.22
- containers >=0.6.0 && <0.8
- directory >=1.3.3 && <1.4
- exceptions >=0.8.0 && <0.11
- filepath >=1.4.2 && <1.6 Show all…
Dependents (38)
@hackage/dataframe, @hackage/streamly-fsnotify, @hackage/Frames-streamly, @hackage/streamly-archive, @hackage/streamly-statistics, @hackage/streamly, Show all…
Package Flags
debug
(off by default)
Debug build with asserts enabled
dev
(off by default)
Development build
has-llvm
(off by default)
Use llvm backend for code generation
opt
(on by default)
off=GHC default, on=-O2
limit-build-mem
(off by default)
Limits memory when building
use-unliftio
(off by default)
Use unliftio-core instead of monad-control
use-unfolds
(off by default)
Use unfolds for generation everywhere
use-folds
(off by default)
Use folds for elimination everywhere
For upgrading to streamly-0.9.0+ please read the Streamly-0.9.0 upgrade guide.
Streamly is a standard library for Haskell that focuses on C-like performance, modular combinators, and streaming data flow model. Streamly consists of two packages: "streamly-core" and "streamly". streamly-core provides basic features, and depends only on GHC boot libraries (see note below), while streamly provides higher-level features like concurrency, time, lifted exceptions, and networking. For documentation, visit the Streamly website.
The streamly-core package provides the following functionality:
Streams as composable producers of a sequence of values.
Streams provide all the functionality provided by Haskell lists but in an effectful, streaming fashion with better performance.
Streams provide ListT and logic programming functionality as well.
Folds as composable stream consumers that reduce the streams to a single value or reduce segments of streams to transform the stream.
Parsers as more powerful, composable stream consumers supporting standard parser combinators with backtracking but in a streaming fashion.
Arrays with streaming interfaces providing high performance, modularity, and concise interface as all streaming operations can be performed on arrays.
Arrays can be immutable or mutable, unboxed or boxed, pinned or unpinned.
Arrays generalize the functionality provided by
bytestringandtextpackages.Interoperability with
bytestringandtextis provided via separate packages.Arrays and folds provide natural builder functionality so there are no separate builder modules.
High performance binary serialization with configurable JSON like features.
Streaming combinators for unicode text processing, providing functionality equivalent to the
textpackage.String interpolation for convenient construction of strings.
Streaming console IO (stdin/stdout) operations.
Streaming file and directory IO operations.
This package covers some or all of the functionality covered
by streaming, pipes, conduit, list-t, logic-t, foldl, attoparsec,
array, primitive, vector, vector-algorithms, binary, cereal, store,
bytestring, text, stringsearch, interpolate. Streamly provides a
consistent, concise, modular and performant interface for all this
functionality.
Note: The dependencies "heaps" and "monad-control" are included in the package solely for backward compatibility, and will be removed in future versions.