src/GenPoly/Specialize.cc
size_t singleParameterSize( Type * type ) {
		if ( TupleType * tt = dynamic_cast< TupleType * >( type ) ) {
			size_t sz = 0;
			for ( Type * t : *tt ) {
				sz += singleParameterSize( t );
			}
			return sz;
		} else {
			return 1;
		}
	}
// walk into tuple type and find the number of components
walk into tuple type and find the number of components
walk into tuple type and find the number of components
size_t singleParameterSize( Type * type ) {
		if ( TupleType * tt = dynamic_cast< TupleType * >( type ) ) {
			size_t sz = 0;
			for ( Type * t : *tt ) {
				sz += singleParameterSize( t );
			}
			return sz;
		} else {
			return 1;
		}
	}
size_t singleParameterSize ( Type * type ) { if ( TupleType * tt = dynamic_cast < TupleType * > ( type ) ) { size_t sz = 0 ; for ( Type * t : * tt ) { sz += singleParameterSize ( t ) ; } return sz ; } else { return 1 ; } }
walk into tuple type and find the number of components
walk into tuple type and find the number of components