HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Package0.2.2StreamlyStreamingDataflowPipesListLogicNon-determinismParsingArrayTime

streamly-core

Streaming, parsers, arrays, serialization and more

Modules

64 modules
  • Streamly.Console.Stdio6Combinators to work with standard input, output and error streams. See also: Streamly.Internal.Console.Stdio
  • Streamly.Data.Array24Unboxed immutable arrays with streaming interfaces. Please refer to Streamly.Internal.Data.Array for functions that have not
  • Streamly.Data.Array.Generic13Unconstrained version of Streamly.Data.Array module. See the Streamly.Data.Array module for documentation.
  • Streamly.Data.Fold101Fast, composable stream consumers with ability to terminate, supporting
  • Streamly.Data.MutArray36This module provides a mutable version of Streamly.Data.Array. The
  • Streamly.Data.MutArray.Generic21Unconstrained version of Streamly.Data.MutArray module. See the Streamly.Data.MutArray module for documentation.
  • Streamly.Data.MutByteArray15A low level byte Array type MutByteArray, along with type classes Unbox
  • Streamly.Data.Parser32Parsers are stream consumers like folds with the following differences: folds cannot fail but parsers can fail and backtrack. folds can …
  • Streamly.Data.ParserK9See the general notes about parsing in the Streamly.Data.Parser module.
  • Streamly.Data.Stream90Streams represented as state machines, that fuse together when composed
  • Streamly.Data.StreamK33Streams represented as chains of functions calls using Continuation Passing
  • Streamly.Data.Unfold28Fast, composable stream producers with ability to terminate, supporting
  • Streamly.FileSystem.Dir2Warning: The API of this module is subject to change in future releases.
  • Streamly.FileSystem.File7Warning: The API of this module is subject to change in future releases.
  • Streamly.FileSystem.Handle17import qualified Streamly.FileSystem.Handle as HandleRead and write byte streams and array streams to and from file handles
  • Streamly.Unicode.Parser29To parse a text input, use the decode routines from
  • Streamly.Unicode.Stream9Processing Unicode Strings A Char stream is the canonical representation to process Unicode strings.
  • Streamly.Unicode.String1Convenient template Haskell quasiquoters to format strings. The str quasiquoter retains newlines in the string when the line is split
Internal modules · 46

Description

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 bytestring and text packages. Interoperability with bytestring and text is 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 text package. 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.

Depends on

13 packages

Used by in this set · 1