[][src]Macro pl_hlist::hlist

macro_rules! hlist {
    {} => { ... };
    { $head:expr } => { ... };
    { $head:expr, $($tail:expr),+ } => { ... };
}

Shorthand for building an HList from the given elements.

Examples

use pl_hlist::*;

let x: HCons<u8, HCons<u32, HNil>> = hlist!(1u8, 666u32);