simplified union;
authorwenzelm
Tue, 19 Jul 2005 17:21:58 +0200
changeset 16886 7328996728a6
parent 16885 cabcd33cde18
child 16887 b24c067b32d6
simplified union;
src/Pure/General/ord_list.ML
--- a/src/Pure/General/ord_list.ML	Tue Jul 19 17:21:57 2005 +0200
+++ b/src/Pure/General/ord_list.ML	Tue Jul 19 17:21:58 2005 +0200
@@ -84,10 +84,7 @@
             LESS => x :: handle_same (unio xs) lst2
           | EQUAL => y :: unio xs ys
           | GREATER => y :: unio lst1 ys);
-  in
-    if subset ord (list1, list2) then list2
-    else handle_same (unio list1) list2
-  end;
+  in handle_same (unio list1) list2 end;
 
 (*intersection: filter second list for elements present in first list*)
 nonfix inter;