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

2 lines
105 B
OCaml

exception MyException;
exception MyDataException of int; (* can be any first-class type, not just int *)