Macro linked_array::array [] [src]

macro_rules! array {
    () => { ... };
    ($x:expr) => { ... };
    ($x:expr, $($y:expr),+) => { ... };
}

Builds a linked array.

Examples

#[macro_use] extern crate linked_array;
assert_eq!(array![1,2,3,4], Cons(1, Cons(2, Cons(3, Cons(4, Term)))))