macro_rules! mk_hlist {
() => { ... };
($head:ty) => { ... };
($head:ty, $($tail:ty),+) => { ... };
}
Expand description
Build a type-level HList
from a comma-separated list of types.
ยงExamples
type L = mk_hlist!(u8, bool, char);
// Equivalent to HCons<u8, HCons<bool, HCons<char, HNil>>>