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

2 lines
81 B
Standard ML

val x = f() handle MyException => 22;
val y = f() handle MyDataException x => x;