RosettaCodeData/Task/Exceptions/Standard-ML/exceptions-3.ml

3 lines
81 B
OCaml
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
val x = f() handle MyException => 22;
val y = f() handle MyDataException x => x;