Compositional pipelines

Version on this page:4.1.4@rev:1
LTS Haskell 22.29:4.3.16@rev:6
Stackage Nightly 2024-07-20:4.3.16@rev:6
Latest on Hackage:4.3.16@rev:6

See all snapshots pipes appears in

BSD-3-Clause licensed by Gabriel Gonzalez
Maintained by [email protected]
This version can be pinned in stack with:pipes-4.1.4@sha256:b8c2ec8d8f28c6d6d547f841dff6882d0fd9142404bcad8766326b04fef38405,3367

Module documentation for 4.1.4

  • Pipes
    • Pipes.Core
    • Pipes.Internal
    • Pipes.Lift
    • Pipes.Prelude
    • Pipes.Tutorial

pipes is a clean and powerful stream processing library that lets you build and connect reusable streaming components

Advantages over traditional streaming libraries:

  • Concise API: Use simple commands like for, (>->), await, and yield

  • Blazing fast: Implementation tuned for speed, including shortcut fusion

  • Lightweight Dependency: pipes is small and compiles very rapidly, including dependencies

  • Elegant semantics: Use practical category theory

  • ListT: Correct implementation of ListT that interconverts with pipes

  • Bidirectionality: Implement duplex channels

  • Extensive Documentation: Second to none!

Import Pipes to use the library.

Read Pipes.Tutorial for an extensive tutorial.