equal
deleted
inserted
replaced
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 _ = |