Anyway, here is the question: what are the various techniques for global error trapping of a dfn? I can think of two useful solutions.
1. Make sure all the sub dfns are defined within the top level dfn, then 0:: will catch everything.
2. Write a traditional operator to call the dfn, something like:
z←x(f Try)y
⍝ Try function f on y.
:Trap 0
z←f y
:Else
Signal an error here with message x, or return something, etc.
:EndTrap
Any other techniques worth noting?