src/Pure/ML/ml_context.ML
changeset 35021 c839a4c670c6
parent 35019 1ec0a3ff229e
child 36950 75b8f26f2f07
equal deleted inserted replaced
35020:862a20ffa8e2 35021:c839a4c670c6
    68   in () end;
    68   in () end;
    69 
    69 
    70 val ml_store_thms = ml_store "";
    70 val ml_store_thms = ml_store "";
    71 fun ml_store_thm (name, th) = ml_store "hd" (name, [th]);
    71 fun ml_store_thm (name, th) = ml_store "hd" (name, [th]);
    72 
    72 
    73 fun bind_thm (name, thm) = ml_store_thm (name, Drule.standard thm);
    73 fun bind_thm (name, thm) = ml_store_thm (name, Drule.export_without_context thm);
    74 fun bind_thms (name, thms) = ml_store_thms (name, map Drule.standard thms);
    74 fun bind_thms (name, thms) = ml_store_thms (name, map Drule.export_without_context thms);
    75 
    75 
    76 fun thm name = ProofContext.get_thm (the_local_context ()) name;
    76 fun thm name = ProofContext.get_thm (the_local_context ()) name;
    77 fun thms name = ProofContext.get_thms (the_local_context ()) name;
    77 fun thms name = ProofContext.get_thms (the_local_context ()) name;
    78 
    78 
    79 
    79