equal
deleted
inserted
replaced
279 | _ => NONE) |
279 | _ => NONE) |
280 end) |
280 end) |
281 | _ => NONE); |
281 | _ => NONE); |
282 |
282 |
283 fun datatype_tycodegen thy defs gr dep module brack (Type (s, Ts)) = |
283 fun datatype_tycodegen thy defs gr dep module brack (Type (s, Ts)) = |
284 (case Symtab.curried_lookup (DatatypePackage.get_datatypes thy) s of |
284 (case Symtab.lookup (DatatypePackage.get_datatypes thy) s of |
285 NONE => NONE |
285 NONE => NONE |
286 | SOME {descr, ...} => |
286 | SOME {descr, ...} => |
287 if isSome (get_assoc_type thy s) then NONE else |
287 if isSome (get_assoc_type thy s) then NONE else |
288 let |
288 let |
289 val (gr', ps) = foldl_map |
289 val (gr', ps) = foldl_map |