TFL/dcterm.ML
changeset 15531 08c8dad8e399
parent 13182 21851696dbf0
child 15674 4a1d07bb53e2
--- a/TFL/dcterm.ML	Fri Feb 11 18:51:00 2005 +0100
+++ b/TFL/dcterm.ML	Sun Feb 13 17:15:14 2005 +0100
@@ -71,7 +71,7 @@
 
 
 (*---------------------------------------------------------------------------
- * Some simple constructor functions.
+ * SOME simple constructor functions.
  *---------------------------------------------------------------------------*)
 
 val mk_hol_const = Thm.cterm_of (Theory.sign_of HOL.thy) o Const;
@@ -124,7 +124,7 @@
  in (dest_monop expected M, N) handle U.ERR _ => err () end;
 
 fun dest_binder expected tm =
-  dest_abs None (dest_monop expected tm)
+  dest_abs NONE (dest_monop expected tm)
   handle U.ERR _ => raise ERR "dest_binder" ("Not a(n) " ^ quote expected);
 
 
@@ -175,7 +175,7 @@
 
 val strip_comb   = strip (Library.swap o dest_comb)  (* Goes to the "left" *)
 val strip_imp    = rev2swap o strip dest_imp
-val strip_abs    = rev2swap o strip (dest_abs None)
+val strip_abs    = rev2swap o strip (dest_abs NONE)
 val strip_forall = rev2swap o strip dest_forall
 val strip_exists = rev2swap o strip dest_exists