src/Pure/library.ML
changeset 36692 54b64d4ad524
parent 35976 ea3d4691a8c6
child 37851 1ce77362598f
--- a/src/Pure/library.ML	Wed May 05 09:24:42 2010 +0200
+++ b/src/Pure/library.ML	Wed May 05 18:25:34 2010 +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
 
 signature BASIC_LIBRARY =
 sig
@@ -164,9 +164,6 @@
   val subtract: ('b * 'a -> bool) -> 'b list -> 'a list -> 'a list
   val inter: ('a * 'b -> bool) -> 'b list -> 'a list -> 'a list
   val merge: ('a * 'a -> bool) -> 'a list * 'a list -> 'a list
-  val mem: ''a * ''a list -> bool
-  val mem_int: int * int list -> bool
-  val mem_string: string * string list -> bool
   val subset: ('a * 'b -> bool) -> 'a list * 'b list -> bool
   val eq_set: ('a * 'b -> bool) -> 'a list * 'b list -> bool
   val distinct: ('a * 'a -> bool) -> 'a list -> 'a list
@@ -801,13 +798,6 @@
   else fold_rev (insert eq) ys xs;
 
 
-(* old-style infixes *)
-
-fun x mem xs = member (op =) xs x;
-fun (x: int) mem_int xs = member (op =) xs x;
-fun (x: string) mem_string xs = member (op =) xs x;
-
-
 (* subset and set equality *)
 
 fun subset eq (xs, ys) = forall (member eq ys) xs;