tuned;
authorwenzelm
Wed, 24 May 2006 01:05:01 +0200
changeset 19707 0e7e236fab50
parent 19706 246afe8852bc
child 19708 a508bde37a81
tuned;
src/Pure/defs.ML
--- a/src/Pure/defs.ML	Wed May 24 01:04:59 2006 +0200
+++ b/src/Pure/defs.ML	Wed May 24 01:05:01 2006 +0200
@@ -36,6 +36,9 @@
       else [Pretty.list "(" ")" (map (Pretty.typ pp o Type.freeze_type) args)];
   in Pretty.block (Pretty.str c :: prt_args) end;
 
+fun plain_args args =
+  forall Term.is_TVar args andalso not (has_duplicates (op =) args);
+
 fun disjoint_args (Ts, Us) =
   not (Type.could_unifys (Ts, Us)) orelse
     ((Type.raw_unifys (Ts, map (Logic.incr_tvar (maxidx_of_typs Ts + 1)) Us) Vartab.empty; false)
@@ -198,9 +201,6 @@
 
 (* define *)
 
-fun plain_args args =
-  forall Term.is_TVar args andalso not (has_duplicates (op =) args);
-
 fun define pp consts unchecked is_def module name lhs rhs (Defs defs) =
   let
     fun typargs const = (#1 const, Consts.typargs consts const);