src/Pure/Thy/thy_info.ML
changeset 72712 d76b0f29c8fd
parent 72710 6bc199a70bf9
child 72861 3f5e6da08687
equal deleted inserted replaced
72711:9e89c2e15d36 72712:d76b0f29c8fd
    54   val extend = I;
    54   val extend = I;
    55   fun merge data : T = Library.merge (eq_snd op =) data;
    55   fun merge data : T = Library.merge (eq_snd op =) data;
    56 );
    56 );
    57 
    57 
    58 fun apply_presentation (context: presentation_context) thy =
    58 fun apply_presentation (context: presentation_context) thy =
    59  (ignore (Par_List.map (fn (f, _) => f context thy (Presentation.get thy)));
    59  (ignore (Presentation.get thy |> Par_List.map (fn (f, _) => f context thy));
    60   Output.try_protocol_message (Markup.finished_theory (Context.theory_long_name thy)) []);
    60   Output.try_protocol_message (Markup.finished_theory (Context.theory_long_name thy)) []);
    61 
    61 
    62 fun add_presentation f = Presentation.map (cons (f, stamp ()));
    62 fun add_presentation f = Presentation.map (cons (f, stamp ()));
    63 
    63 
    64 val _ =
    64 val _ =