ArrowPipe: Build complex pipelines easily
An [Arrow] is a function composition system that can be used to create
complex data processing pipelines.
Installation
Add the following to your Cargo.toml:
[]
= { = "https://github.com/Brian3647/arrowpipe" }
Example
use Arrow;
let mut arrow = new;
arrow.symbiotize;
arrow.symbiotize;
assert_eq!;
Order of execution example:
use Arrow;
let mut first = new; // Second: 2 -> 3
first.symbiotize; // Third: 3 -> 6
let mut second = new; // First: 1 -> 2
second.symbiotize;
assert_eq!;
Why?
This is specially useful for long pipelines like a build system. With the Arrow struct, you can simply add another Arrow to an existing one to have a new step.
License
This project is licensed under the MIT license (LICENSE or http://opensource.org/licenses/MIT).