The latest version of pipes is 4.3.16-6.

pipes

Version 2.2.0 revision 0 uploaded by GabrielGonzalez.

Package meta

Synopsis
Compositional pipelines
Description

"Iteratees done right". This library implements iteratees/enumerators/enumeratees simply and elegantly, using different naming conventions.

Advantages over traditional iteratee implementations:

  • Simpler semantics: There is only one data type (Pipe), two primitives (await and yield), and only one way to compose Pipes (.). In fact, this library implements its entire behavior using its Monad and Category instances and enforces their laws strictly!

  • Clearer naming conventions: Enumeratees are called Pipes, Enumerators are Producers, and Iteratees are Consumers. Producers and Consumers are just type synonyms for Pipes with either the input or output end closed.

  • Pipes are Categories: You compose them using ordinary composition.

  • Intuitive: Pipe composition is easier to reason about because it is a true Category. Composition works seamlessly and you don't have to worry about restarting iteratees, feeding new input, etc. "It just works".

  • Vertical concatenation works flawlessly on everything: (>>) concatenates Pipes, but since everything is a Pipe, you can use it to concatenate Producers, Consumers, and even intermediate Pipe stages. Vertical Concatenation always works the way you expect, picking up where the previous Pipe left off.

Check out Control.Pipe.Tutorial for a copious introductory tutorial and Control.Pipe for the actual implementation.

Author
Gabriel Gonzalez
Bug reports
https://github.com/Gabriel439/Haskell-Pipes-Library/issues
Category
Control, Enumerator
Copyright
2012 Gabriel Gonzalez
Homepage
n/a
Maintainer
Gabriel439@gmail.com
Package URL
n/a
Stability
Experimental

Components