equal
deleted
inserted
replaced
223 val thy = Proof_Context.theory_of ctxt |
223 val thy = Proof_Context.theory_of ctxt |
224 |
224 |
225 fun map_check_aux rty warns = |
225 fun map_check_aux rty warns = |
226 case rty of |
226 case rty of |
227 Type (_, []) => warns |
227 Type (_, []) => warns |
228 | Type (s, _) => if Quotient_Info.maps_defined thy s then warns else s::warns |
228 | Type (s, _) => if is_some (Quotient_Info.maps_lookup thy s) then warns else s :: warns |
229 | _ => warns |
229 | _ => warns |
230 |
230 |
231 val warns = map_check_aux rty [] |
231 val warns = map_check_aux rty [] |
232 in |
232 in |
233 if null warns then () |
233 if null warns then () |