Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
22
Task/Exceptions/TXR/exceptions.txr
Normal file
22
Task/Exceptions/TXR/exceptions.txr
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
@(defex gorilla ape primate)
|
||||
@(defex monkey primate)
|
||||
@(defex human primate)
|
||||
@(collect)
|
||||
@(try)
|
||||
@(cases)
|
||||
gorilla @name
|
||||
@(throw gorilla name)
|
||||
@(or)
|
||||
monkey @name
|
||||
@(throw monkey name)
|
||||
@(or)
|
||||
human @name
|
||||
@(throw human name)
|
||||
@(end)@#cases
|
||||
@(catch primate (name))
|
||||
@kind @name
|
||||
@(output)
|
||||
we have a primate @name of kind @kind
|
||||
@(end)@#output
|
||||
@(end)@#try
|
||||
@(end)@#collect
|
||||
Loading…
Add table
Add a link
Reference in a new issue