inline typed_hcat, typed_hvcat