equal
deleted
inserted
replaced
565 structure Configs = Generic_Data |
565 structure Configs = Generic_Data |
566 ( |
566 ( |
567 type T = (Proof.context -> config) U.dict |
567 type T = (Proof.context -> config) U.dict |
568 val empty = [] |
568 val empty = [] |
569 val extend = I |
569 val extend = I |
570 fun merge xx = U.dict_merge fst xx |
570 fun merge data = U.dict_merge fst data |
571 ) |
571 ) |
572 |
572 |
573 fun add_config (cs, cfg) = Configs.map (U.dict_update (cs, cfg)) |
573 fun add_config (cs, cfg) = Configs.map (U.dict_update (cs, cfg)) |
574 |
574 |
575 fun get_config ctxt = |
575 fun get_config ctxt = |