public static < Head , Tail extends HList > HCons < Head , Tail > cons ( Head head , Tail tail ) { return new HCons <> ( head , tail ) ; }
Static factory method for creating an HList from the given head and tail .