renamed ML_exc to ML_exn;
authorwenzelm
Sun, 08 Jul 2007 19:51:51 +0200
changeset 236516e0b8b6012c9
parent 23650 0a6a719d24d5
child 23652 94eeb79be496
renamed ML_exc to ML_exn;
doc-src/antiquote_setup.ML
     1.1 --- a/doc-src/antiquote_setup.ML	Sun Jul 08 19:01:32 2007 +0200
     1.2 +++ b/doc-src/antiquote_setup.ML	Sun Jul 08 19:51:51 2007 +0200
     1.3 @@ -17,8 +17,8 @@
     1.4  fun ml_type (txt1, "") = "val _ = NONE : (" ^ txt1 ^ ") option;"
     1.5    | ml_type (txt1, txt2) = "val _ = [NONE : (" ^ txt1 ^ ") option, NONE : (" ^ txt2 ^ ") option];";
     1.6  
     1.7 -fun ml_exc (txt1, "") = "fn _ => (" ^ txt1 ^ ": exn);"
     1.8 -  | ml_exc (txt1, txt2) = "fn _ => (" ^ txt1 ^ ": " ^ txt2 ^ " -> exn);";
     1.9 +fun ml_exn (txt1, "") = "fn _ => (" ^ txt1 ^ ": exn);"
    1.10 +  | ml_exn (txt1, txt2) = "fn _ => (" ^ txt1 ^ ": " ^ txt2 ^ " -> exn);";
    1.11  
    1.12  fun ml_structure (txt, _) = "functor DUMMY_FUNCTOR() = struct structure DUMMY = " ^ txt ^ " end;"
    1.13  
    1.14 @@ -57,7 +57,7 @@
    1.15  val _ = O.add_commands
    1.16   [("index_ML", arguments (index_ml "" ml_val)),
    1.17    ("index_ML_type", arguments (index_ml "type" ml_type)),
    1.18 -  ("index_ML_exc", arguments (index_ml "exception" ml_exc)),
    1.19 +  ("index_ML_exn", arguments (index_ml "exception" ml_exn)),
    1.20    ("index_ML_structure", arguments (index_ml "structure" ml_structure)),
    1.21    ("index_ML_functor", arguments (index_ml "functor" ml_functor)),
    1.22    ("ML_functor", O.args (Scan.lift Args.name) output_verbatim),