[][src]Macro extendr_api::list

macro_rules! list {
    () => { ... };
    ($($rest: tt)*) => { ... };
}

Create a list.

Example:

use extendr_api::*;
start_r();
let mylist = list!(x=1, y=2);
assert_eq!(mylist, List(&[1.into(), 2.into()]));