src/Tools/Code/code_runtime.ML
changeset 59150 71b416020f42
parent 59127 723b11f8ffbf
child 59151 a012574b78e7
equal deleted inserted replaced
59149:0070053570c4 59150:71b416020f42
   334 
   334 
   335 structure Code_Antiq_Data = Proof_Data
   335 structure Code_Antiq_Data = Proof_Data
   336 (
   336 (
   337   type T = (string list * string list) * (bool
   337   type T = (string list * string list) * (bool
   338     * (string * (string * string) list) lazy);
   338     * (string * (string * string) list) lazy);
   339   fun init _ = (([], []), (true, (Lazy.value ("", []))));
   339   val empty: T = (([], []), (true, (Lazy.value ("", []))));
       
   340   fun init _ = empty;
   340 );
   341 );
   341 
   342 
   342 val is_first_occ = fst o snd o Code_Antiq_Data.get;
   343 val is_first_occ = fst o snd o Code_Antiq_Data.get;
   343 
   344 
   344 fun register_code new_tycos new_consts ctxt =
   345 fun register_code new_tycos new_consts ctxt =