Exception handling syntax: Difference between revisions

Content deleted Content added
Toastal (talk | contribs)
Add ATS’s exception handling
ATS: fix syntaxhighlight error
Line 52:
{{Further|ATS (programming language)}}
 
<syntaxhighlight lang="atsocaml">
exception MyException of (string, int) (* exceptions can carry a value *)