macro_rules! lmap { ($($key:expr => $value:expr),*) => { ... }; }
Create an LMap with automatic key/value Into<Value<T>> wrapping.
LMap
Into<Value<T>>
The primary benefit is that it allows freely mixing resolved values and LVars.
LVar
use canrun::LVar; use canrun::lmap::{lmap, LMap}; let x = LVar::new(); let map = lmap!{x => 1, 2 => 3};