src/Pure/Thy/thy_info.ML
changeset 74561 8e6c973003c8
parent 73825 5b49c650d413
child 75904 6d9d9a395533
equal deleted inserted replaced
74560:5c8177fd1295 74561:8e6c973003c8
    42 
    42 
    43 structure Presentation = Theory_Data
    43 structure Presentation = Theory_Data
    44 (
    44 (
    45   type T = ((presentation_context -> theory -> unit) * stamp) list;
    45   type T = ((presentation_context -> theory -> unit) * stamp) list;
    46   val empty = [];
    46   val empty = [];
    47   val extend = I;
       
    48   fun merge data : T = Library.merge (eq_snd op =) data;
    47   fun merge data : T = Library.merge (eq_snd op =) data;
    49 );
    48 );
    50 
    49 
    51 fun apply_presentation (context: presentation_context) thy =
    50 fun apply_presentation (context: presentation_context) thy =
    52   ignore (Par_List.map (fn (f, _) => f context thy) (Presentation.get thy));
    51   ignore (Par_List.map (fn (f, _) => f context thy) (Presentation.get thy));