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

3 lines
105 B
OCaml
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
exception MyException;
exception MyDataException of int; (* can be any first-class type, not just int *)