call multimethod
Methods
- call(r:Return, v:Any=null) Source: stdlib.ngs:123
Implements calling of Return type instances like the finish(i) call in the example below Example
F first(r:NumRange, predicate:Fun) { finish = Return() r.each(F(i) { predicate(i) throws finish(i) }) null }
- call(hook:Hook, *args:Arr) Source: stdlib.ngs:793
Runs all handlers passing all args. Parameters
args Arguments to pass to handlers Returns
Output of the combiner function applied to all handlers' results