src/Pure/library.ML
changeset 33040 cffdb7b28498
parent 33038 8f9594c31de4
child 33043 ff71cadefb14
child 33049 c38f02fdf35d
--- a/src/Pure/library.ML	Wed Oct 21 08:16:25 2009 +0200
+++ b/src/Pure/library.ML	Wed Oct 21 10:15:31 2009 +0200
@@ -11,7 +11,7 @@
 infix 2 ?
 infix 3 o oo ooo oooo
 infix 4 ~~ upto downto
-infix orf andf \ \\ mem mem_int mem_string
+infix orf andf mem mem_int mem_string
 
 signature BASIC_LIBRARY =
 sig
@@ -166,8 +166,6 @@
   val inter: ('a * 'b -> bool) -> 'a list * 'b list -> 'a list
   val subset: ('a * 'b -> bool) -> 'a list * 'b list -> bool
   val eq_set: ('a * 'b -> bool) -> 'a list * 'b list -> bool
-  val \ : ''a list * ''a -> ''a list
-  val \\ : ''a list * ''a list -> ''a list
   val distinct: ('a * 'a -> bool) -> 'a list -> 'a list
   val duplicates: ('a * 'a -> bool) -> 'a list -> 'a list
   val has_duplicates: ('a * 'a -> bool) -> 'a list -> bool
@@ -818,12 +816,6 @@
     (subset eq (xs, ys) andalso subset (eq o swap) (ys, xs));
 
 
-(*removing an element from a list WITHOUT duplicates*)
-fun (y :: ys) \ x = if x = y then ys else y :: (ys \ x)
-  | [] \ x = [];
-fun ys \\ xs = foldl (op \) (ys,xs);
-
-
 (*makes a list of the distinct members of the input; preserves order, takes
   first of equal elements*)
 fun distinct eq lst =