equal
deleted
inserted
replaced
880 fun belongs_here thy' c = forall |
880 fun belongs_here thy' c = forall |
881 (fn thy'' => not (Sign.declared_const thy'' c)) (Theory.parents_of thy'); |
881 (fn thy'' => not (Sign.declared_const thy'' c)) (Theory.parents_of thy'); |
882 fun consts_of_select thy' = filter (belongs_here thy') (consts_of thy'); |
882 fun consts_of_select thy' = filter (belongs_here thy') (consts_of thy'); |
883 fun read_const_expr "*" = ([], consts_of thy) |
883 fun read_const_expr "*" = ([], consts_of thy) |
884 | read_const_expr s = if String.isSuffix ".*" s |
884 | read_const_expr s = if String.isSuffix ".*" s |
885 then ([], consts_of_select (ThyInfo.the_theory (unsuffix ".*" s) thy)) |
885 then ([], consts_of_select (Thy_Info.the_theory (unsuffix ".*" s) thy)) |
886 else ([Code.read_const thy s], []); |
886 else ([Code.read_const thy s], []); |
887 in pairself flat o split_list o map read_const_expr end; |
887 in pairself flat o split_list o map read_const_expr end; |
888 |
888 |
889 fun code_depgr thy consts = |
889 fun code_depgr thy consts = |
890 let |
890 let |