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

3 lines
65 B
OCaml

fun f() = raise MyException;
fun g() = raise MyDataException 22;