src/Pure/Tools/named_theorems.ML
changeset 67649 1e1782c1aedf
parent 67147 dea94b1aabc3
child 69185 6f79d6a5acad
equal deleted inserted replaced
67648:f6e351043014 67649:1e1782c1aedf
    50 (* maintain content *)
    50 (* maintain content *)
    51 
    51 
    52 fun member ctxt = Item_Net.member o the_entry (Context.Proof ctxt);
    52 fun member ctxt = Item_Net.member o the_entry (Context.Proof ctxt);
    53 
    53 
    54 fun content context =
    54 fun content context =
    55   rev o map (Thm.transfer (Context.theory_of context)) o Item_Net.content o the_entry context;
    55   rev o map (Thm.transfer'' context) o Item_Net.content o the_entry context;
    56 
    56 
    57 val get = content o Context.Proof;
    57 val get = content o Context.Proof;
    58 
    58 
    59 fun clear name = map_entry name (K Thm.full_rules);
    59 fun clear name = map_entry name (K Thm.full_rules);
    60 
    60