Deleted unused fillin_mixfix function.
authorberghofe
Wed, 29 Aug 2007 10:20:22 +0200
changeset 24469 01fd2863d7c8
parent 24468 15012073f0c1
child 24470 41c81e23c08d
Deleted unused fillin_mixfix function.
src/Pure/codegen.ML
--- a/src/Pure/codegen.ML	Wed Aug 29 00:49:48 2007 +0200
+++ b/src/Pure/codegen.ML	Wed Aug 29 10:20:22 2007 +0200
@@ -82,7 +82,6 @@
   val quotes_of: 'a mixfix list -> 'a list
   val num_args_of: 'a mixfix list -> int
   val replace_quotes: 'b list -> 'a mixfix list -> 'b mixfix list
-  val fillin_mixfix: ('a -> Pretty.T) -> 'a mixfix list -> 'a list -> Pretty.T
   val mk_deftab: theory -> deftab
   val add_unfold: thm -> theory -> theory
 
@@ -624,22 +623,6 @@
   | replace_quotes (x::xs) (Quote _ :: ms) =
       Quote x :: replace_quotes xs ms;
 
-fun fillin_mixfix f ms args =
-  let
-    fun fillin [] [] =
-         []
-      | fillin (Arg :: ms) (a :: args) =
-          f a :: fillin ms args
-      | fillin (Ignore :: ms) args =
-          fillin ms args
-      | fillin (Module :: ms) args =
-          fillin ms args
-      | fillin (Pretty p :: ms) args =
-          p :: fillin ms args
-      | fillin (Quote q :: ms) args =
-          f q :: fillin ms args
-  in Pretty.block (fillin ms args) end;
-
 
 (**** default code generators ****)