Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
24
Task/Exceptions/Transd/exceptions.transd
Normal file
24
Task/Exceptions/Transd/exceptions.transd
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
#lang transd
|
||||
|
||||
mainModule : {
|
||||
func2: (lambda i Int()
|
||||
(if (!= i 13)
|
||||
(textout "OK " i "\n")
|
||||
(throw "fail\n"))),
|
||||
|
||||
func1: (lambda
|
||||
(textout "before try\n")
|
||||
(try
|
||||
(textout "before while\n")
|
||||
(with n 10
|
||||
(while (< n 15) (+= n 1)
|
||||
(func2 n)
|
||||
)
|
||||
)
|
||||
(textout "after while\n")
|
||||
(catch (report e))
|
||||
)
|
||||
(textout "after try\n")
|
||||
),
|
||||
_start: (lambda (func1))
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue