return tf.tupleType(types);
}
}
private Type mapToType(IConstructor symbol, TypeStore store) {
IConstructor from = (IConstructor) symbol.get("from");
IConstructor to = (IConstructor) symbol.get("to");
String fromLabel = null;
String toLabel = null;
if (SymbolAdapter.isLabel(from)) {
fromLabel = SymbolAdapter.getLabel(from);
from = (IConstructor) from.get("symbol");
}
if (SymbolAdapter.isLabel(to)) {
toLabel = SymbolAdapter.getLabel(to);
to = (IConstructor) to.get("symbol");
}
if (fromLabel != null && toLabel != null) {
return tf.mapType(symbolToType(from, store), fromLabel, symbolToType(to, store), toLabel);
}
else {