| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-03-27 | Support returning from loop blocks | Marijn Haverbeke | -1/+2 | |
| The code is somewhat invasive, but it seems hard to do this in a clean way, since the design itself involves a bunch of 'action at a distance'. Issue #1819 | ||||
| 2012-03-27 | Support an alternate for syntax that calls a higher-order function | Marijn Haverbeke | -7/+10 | |
| The last argument of the call must be a block, and the type of this argument must a function returning bool. `break` and `cont` are supported in the body of the block, and return `false` or `true` from the function. When the end of the function is reached, `true` is implicitly returned. for vec::all([1, 2, 3]) {|elt| if elt == 2 { break; } log(error, elt); } Issue #1619 | ||||
| 2012-03-26 | Check in a forgotten new file | Marijn Haverbeke | -0/+54 | |
