src/ZF/Datatype.ML
changeset 15570 8d8c70b41bab
parent 15531 08c8dad8e399
child 16425 2427be27cc60
--- a/src/ZF/Datatype.ML	Thu Mar 03 09:22:35 2005 +0100
+++ b/src/ZF/Datatype.ML	Thu Mar 03 12:43:01 2005 +0100
@@ -73,9 +73,9 @@
        and (rhead, rargs) = strip_comb rhs
        val lname = #1 (dest_Const lhead) handle TERM _ => raise Match;
        val rname = #1 (dest_Const rhead) handle TERM _ => raise Match;
-       val lcon_info = the (Symtab.lookup (ConstructorsData.get_sg sg, lname))
+       val lcon_info = valOf (Symtab.lookup (ConstructorsData.get_sg sg, lname))
          handle Option => raise Match;
-       val rcon_info = the (Symtab.lookup (ConstructorsData.get_sg sg, rname))
+       val rcon_info = valOf (Symtab.lookup (ConstructorsData.get_sg sg, rname))
          handle Option => raise Match;
        val new = 
            if #big_rec_name lcon_info = #big_rec_name rcon_info