Difference between revisions of "Pipes"

From HaskellWiki
Jump to navigation Jump to search
m
m (→‎pipes: update pipes docs link to v4.3.2)
 
Line 13: Line 13:
 
The [http://hackage.haskell.org/package/pipes pipes] package is the core library which provides reusable primitives for stream programming. Use these as building blocks for more sophisticated streaming abstractions.
 
The [http://hackage.haskell.org/package/pipes pipes] package is the core library which provides reusable primitives for stream programming. Use these as building blocks for more sophisticated streaming abstractions.
   
Read the [http://hackage.haskell.org/packages/archive/pipes/4.0.0/doc/html/Pipes-Tutorial.html official pipes tutorial] to learn more.
+
Read the [http://hackage.haskell.org/package/pipes-4.3.2/docs/Pipes-Tutorial.html official pipes tutorial] to learn more.
   
 
Source code hosted on [https://github.com/Gabriel439/Haskell-Pipes-Library GitHub]
 
Source code hosted on [https://github.com/Gabriel439/Haskell-Pipes-Library GitHub]

Latest revision as of 17:22, 20 February 2017


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

Libraries

Pipes is the official Hackage category for the pipes ecosystem.

pipes

The pipes package is the core library which provides reusable primitives for stream programming. Use these as building blocks for more sophisticated streaming abstractions.

Read the official pipes tutorial to learn more.

Source code hosted on GitHub

pipes-safe

The pipes-safe package adds resource management and exception safety to the pipes ecosystem. Use pipes-safe to safely acquire and release resources deterministically within a pipeline.

Source code hosted on GitHub

pipes-concurrency

The pipes-concurrency package adds concurrency primitives to the pipes ecosystem with built-in deadlock safety. Use these primitives to:

  • Build reactive event-driven programs
  • Merge and broadcast streams
  • Communicate between multiple concurrent pipelines

Read the official pipes-concurrency tutorial to learn more.

Source code hosted on GitHub

pipes-parse

The pipes-parse package defines the generic machinery necessary for common parsing tasks. Use pipes-parse to:

  • handle leftovers and end of input,
  • interrupt and resume streaming, and
  • sub-divide streams without collecting elements in memory.

Source code hosted on GitHub

Community-contributed libraries

Listed in alphabetical order.

pipes-aeson

The pipes-aeson library allows you to encode and decode JSON values flowing through streams, possibly interleaving other stream effects while doing it.

Source code is hosted on GitHub

pipes-attoparsec

The pipes-attoparsec library converts attoparsec parsers to pipes for high-performance incremental parsing.

Source code hosted on GitHub

pipes-binary

The pipes-binary library allows streams of binary data to be encoded and decoded using the Binary instances from the binary package.

Source code is hosted on GitHub

pipes-network

The pipes-network library converts server and client sockets to pipes to seamlessly stream data over any network.

Source code hosted on GitHub

pipes-network-tls

The pipes-network-tls allows streaming through TLS-secured network connections, exposing a similar API to the one exposed by pipes-network.

Source code hosted on GitHub

pipes-zlib

The pipes-zlib enables compression and decompression of strict ByteString streams using the zlib codec.

Source code hosted on GitHub

Community

Besides the usual Haskell community channels such as the official mailing lists or the Haskell subreddit, you can ask for help, suggest improvements, or discuss about the Pipes ecosystem at the “haskell-pipes” mailing list at Google Groups.

Announcements

In chronological order:

  • pipes-1.0.0: The original announcement, which first introduced the concept of unifying sources and sinks and transducers into a single Category.
  • pipes-2.0.0: The introduction of Frames, later deprecated in favor of pipes-safe.
  • pipes-2.1.0: Transition of Frames to indexed monads, later deprecated in favor of pipes-safe.
  • pipes-2.3.0: The introduction of bidirectional Proxies, which evolved into modern pipes.
  • pipes-2.4.0: The release of the proxy transformer extension system.
  • pipes-3.0.0: Major API simplification and consolidation.
  • pipes-3.2.0: ListT integration, Codensity proxy transformer, and ArrowChoice primitives.

Upcoming libraries

  • pipes-bytestring: ByteString support. Source code is hosted at GitHub
  • pipes-text: Text support

Videos

  • Pipes, by Oliver Charles. London Haskell user group, 18th September 2013.

See also