public TypeAst toTypeAst(TypeUnparsingContext context) {
TypeAst domainAst = domain.toTypeAst(context);
TypeAst rangeAst = range.toTypeAst(context);
- if(Types.canonical(effect) != Types.NO_EFFECTS)
+ if(Types.canonical(effect) != Types.NO_EFFECTS && !context.showSkeletons)
rangeAst = new TEffectAst(effect.toTypeAst(context), rangeAst);
Type dom = Types.canonical(domain);
if(dom instanceof TPred)