macro_rules! hlist {
{} => { ... };
{ $head:expr } => { ... };
{ $head:expr, $($tail:expr),+ } => { ... };
}Expand description
Shorthand for building an HList from the given elements.
ยงExamples
use pl_hlist::*;
let x: HCons<u8, HCons<u32, HNil>> = hlist!(1u8, 666u32);