RosettaCodeData/Task/Exceptions/Standard-ML/exceptions-1.ml
2023-07-01 13:44:08 -04:00

2 lines
105 B
OCaml

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