[−][src]Macro enso_generics::new
Creates new HList
from the provided elements, similar to vec!
. In order to provide type for
the list, use the ty
macro. In order to pattern match on it, use the pat
macro.
ⓘThis example deliberately fails to compile
let HList::pat![t1,t2] : HList::ty![&str,usize] = HList::new!["hello",7];