equal
deleted
inserted
replaced
283 | _ => ty) |
283 | _ => ty) |
284 | flatten_type (ty as AType _) = ty |
284 | flatten_type (ty as AType _) = ty |
285 | flatten_type _ = |
285 | flatten_type _ = |
286 raise Fail "unexpected higher-order type in first-order format" |
286 raise Fail "unexpected higher-order type in first-order format" |
287 |
287 |
288 val dfg_individual_type = "i" (* shouldn't clash *) |
288 val dfg_individual_type = "ii" (* cannot clash *) |
289 |
289 |
290 fun str_for_type format ty = |
290 fun str_for_type format ty = |
291 let |
291 let |
292 val dfg = (format = DFG DFG_Sorted) |
292 val dfg = (format = DFG DFG_Sorted) |
293 fun str _ (AType (s, [])) = |
293 fun str _ (AType (s, [])) = |