src/Tools/Code/code_thingol.ML
changeset 32795 a0f38d8d633a
parent 32545 8631b421ffc3
child 32872 019201eb7e07
     1.1 --- a/src/Tools/Code/code_thingol.ML	Wed Sep 30 23:28:54 2009 +0200
     1.2 +++ b/src/Tools/Code/code_thingol.ML	Wed Sep 30 23:30:37 2009 +0200
     1.3 @@ -750,7 +750,6 @@
     1.4    #>> (fn sort => (unprefix "'" v, sort))
     1.5  and translate_dicts thy (algbr as (proj_sort, algebra)) funcgr thm (ty, sort) =
     1.6    let
     1.7 -    val pp = Syntax.pp_global thy;
     1.8      datatype typarg =
     1.9          Global of (class * string) * typarg list list
    1.10        | Local of (class * class) list * (string * (int * sort));
    1.11 @@ -764,7 +763,7 @@
    1.12        let
    1.13          val sort' = proj_sort sort;
    1.14        in map_index (fn (n, class) => (Local ([], (v, (n, sort'))), class)) sort' end;
    1.15 -    val typargs = Sorts.of_sort_derivation pp algebra
    1.16 +    val typargs = Sorts.of_sort_derivation algebra
    1.17        {class_relation = class_relation, type_constructor = type_constructor,
    1.18         type_variable = type_variable} (ty, proj_sort sort)
    1.19        handle Sorts.CLASS_ERROR e => not_wellsorted thy thm ty sort e;