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

3 lines
65 B
OCaml
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
fun f() = raise MyException;
fun g() = raise MyDataException 22;