src/Tools/code/code_thingol.ML
changeset 26939 1035c89b4c02
parent 26011 d55224947082
child 26972 bde4289d793d
equal deleted inserted replaced
26938:64e850c3da9e 26939:1035c89b4c02
   428       ensure_tyco thy algbr funcgr tyco
   428       ensure_tyco thy algbr funcgr tyco
   429       ##>> fold_map (exprgen_typ thy algbr funcgr) tys
   429       ##>> fold_map (exprgen_typ thy algbr funcgr) tys
   430       #>> (fn (tyco, tys) => tyco `%% tys)
   430       #>> (fn (tyco, tys) => tyco `%% tys)
   431 and exprgen_dicts thy (algbr as ((proj_sort, algebra), consts)) funcgr (ty_ctxt, sort_decl) =
   431 and exprgen_dicts thy (algbr as ((proj_sort, algebra), consts)) funcgr (ty_ctxt, sort_decl) =
   432   let
   432   let
   433     val pp = Sign.pp thy;
   433     val pp = Syntax.pp_global thy;
   434     datatype typarg =
   434     datatype typarg =
   435         Global of (class * string) * typarg list list
   435         Global of (class * string) * typarg list list
   436       | Local of (class * class) list * (string * (int * sort));
   436       | Local of (class * class) list * (string * (int * sort));
   437     fun class_relation (Global ((_, tyco), yss), _) class =
   437     fun class_relation (Global ((_, tyco), yss), _) class =
   438           Global ((class, tyco), yss)
   438           Global ((class, tyco), yss)