Popularity
0.9
Declining
Activity
0.0
Stable
3
0
0

Monthly Downloads: 9
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Control    

pipeline alternatives and similar packages

Based on the "Control" category.
Alternatively, view pipeline alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of pipeline or a related project?

Add another 'Control' Package

README

Lightweight, continuation-based and minimal streaming library

Implementation of streaming from "Faster coroutine pipelines" paper.

Example: copy file contents line by line

source :: Pipeline i String IO () ()
source = impact (lines <$> readFile "text_src.txt") >>= sequence_ . fmap yield

target :: Pipeline String o IO () ()
target = forever $ await >>= impact . appendFile "text_tgt.txt" . flip (<>) "\n"

main = pipeline (source =*= target)