equal
deleted
inserted
replaced
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) |