Generalization of operations on stringlike types