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

3 lines
105 B
OCaml
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
exception MyException;
exception MyDataException of int; (* can be any first-class type, not just int *)