src/HOL/Tools/inductive_codegen.ML
changeset 15660 255055554c67
parent 15574 b1d1b5bfc464
child 16424 18a07ad8fea8
     1.1 --- a/src/HOL/Tools/inductive_codegen.ML	Wed Apr 06 18:13:30 2005 +0200
     1.2 +++ b/src/HOL/Tools/inductive_codegen.ML	Thu Apr 07 09:24:35 2005 +0200
     1.3 @@ -229,7 +229,7 @@
     1.4              term_vs t subset vs andalso
     1.5              forall is_eqT dupTs
     1.6            end)
     1.7 -            (modes_of modes t handle OPTION => [Mode (([], []), [])])
     1.8 +            (modes_of modes t handle Option => [Mode (([], []), [])])
     1.9        | Sidecond t => if term_vs t subset vs then SOME (Mode (([], []), []))
    1.10            else NONE) ps);
    1.11  
    1.12 @@ -590,7 +590,7 @@
    1.13    end;
    1.14  
    1.15  fun find_mode s u modes is = (case find_first (fn Mode ((_, js), _) => is=js)
    1.16 -  (modes_of modes u handle OPTION => []) of
    1.17 +  (modes_of modes u handle Option => []) of
    1.18       NONE => error ("No such mode for " ^ s ^ ": " ^ string_of_mode ([], is))
    1.19     | mode => mode);
    1.20