Expand description

Marigold is a domain specific language for data pipelining and analysis. It compiles to asynchronous Rust and can be integrated into Rust programs using a macro.

Example Usage

use marigold::m;

let is_odd = |i: &i32| i % 2 == 1;

let odd_digits = m!(
 range(0, 10)
   .filter(is_odd)
   .to_vec()
   .return
).await;

assert_eq!(odd_digits, vec![1, 3, 5, 7, 9]);

Re-exports

pub use crate as marigold;
pub use marigold_impl;

Macros