RosettaCodeData/Task/Exceptions/Standard-ML/exceptions-2.ml
Ingy döt Net d066446780 langs a-z
2013-04-10 22:43:41 -07:00

2 lines
65 B
OCaml

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