src/Pure/General/basics.ML
changeset 23559 0de527730294
parent 23358 e0b5a74d7ace
child 28443 de653f1ad78b
--- a/src/Pure/General/basics.ML	Tue Jul 03 22:27:19 2007 +0200
+++ b/src/Pure/General/basics.ML	Tue Jul 03 22:27:25 2007 +0200
@@ -81,13 +81,13 @@
   | the NONE = raise Option;
 
 fun these (SOME x) = x
-  | these _ = [];
+  | these NONE = [];
 
 fun the_list (SOME x) = [x]
-  | the_list _ = []
+  | the_list NONE = []
 
 fun the_default x (SOME y) = y
-  | the_default x _ = x;
+  | the_default x NONE = x;
 
 fun perhaps f x = the_default x (f x);