Macro canrun::lvec [−][src]
macro_rules! lvec { ($($item : expr), * $(,) ?) => { ... }; }
Expand description
Create an LVec<T>
with automatic value IntoVal
wrapping.
The primary benefit is that it allows freely mixing resolved values and
LVar
s.
Example:
use canrun::var; use canrun::collections::lvec::{lvec, LVec}; let x = var(); let map: LVec<i32> = lvec![x, 1, 2];