equal
deleted
inserted
replaced
248 let |
248 let |
249 val sg = Theory.sign_of thy; |
249 val sg = Theory.sign_of thy; |
250 val names = map (intern sg kind) xnames; |
250 val names = map (intern sg kind) xnames; |
251 val bads = filter_out (check sg) names; |
251 val bads = filter_out (check sg) names; |
252 in |
252 in |
253 if null bads then Theory.hide_space_i (kind, names) thy |
253 if null bads then Theory.hide_space_i true (kind, names) thy |
254 else error ("Attempt to hide undeclared item(s): " ^ commas_quote bads) |
254 else error ("Attempt to hide undeclared item(s): " ^ commas_quote bads) |
255 end |
255 end |
256 | None => error ("Bad name space specification: " ^ quote kind)); |
256 | None => error ("Bad name space specification: " ^ quote kind)); |
257 |
257 |
258 in |
258 in |