src/HOL/Tools/datatype_aux.ML
changeset 16901 d649ff14096a
parent 15574 b1d1b5bfc464
child 17261 193b84a70ca4
equal deleted inserted replaced
16900:e294033d1c0f 16901:d649ff14096a
   173   | DtType of string * (dtyp list)
   173   | DtType of string * (dtyp list)
   174   | DtRec of int;
   174   | DtRec of int;
   175 
   175 
   176 (* information about datatypes *)
   176 (* information about datatypes *)
   177 
   177 
   178 (* index, datatype name, type arguments (DtTFree's), constructor name, types of constructor's arguments *)
   178 (* index, datatype name, type arguments, constructor name, types of constructor's arguments *)
   179 type descr = (int * (string * dtyp list * (string * dtyp list) list)) list;
   179 type descr = (int * (string * dtyp list * (string * dtyp list) list)) list;
   180 
   180 
   181 type datatype_info =
   181 type datatype_info =
   182   {index : int,
   182   {index : int,
   183    descr : descr,
   183    descr : descr,