[][src]Macro canrun::lvec

macro_rules! lvec {
    ($($item:expr),* $(,)?) => { ... };
}

Create an LVec<T> with automatic value IntoVal wrapping.

The primary benefit is that it allows freely mixing resolved values and LVars.

Example:

use canrun::var;
use canrun::collections::lvec::{lvec, LVec};
let x = var();
let map: LVec<i32> = lvec![x, 1, 2];