Methods

callΒΆ

call(r:Return, v:Any=null)

Implements calling of Return type instances like the finish(i) call in the example below
Source: stdlib.ngs:81

Example

F first(r:NumRange, predicate:Fun) {
	finish = Return()
	r.each(F(i) {
		predicate(i) throws finish(i)
	})
	null
}