Anonymous methods, also known as closures
Posted: Sun Nov 30, 2008 1:12 am
After working all day, these are now implemented and checked in.
Being a new feature, I'm sure we'll find a glitch or four. Let me know what you find, or if you have any questions.
What do they look like? Check out the test cases:
Tests/320-misc-two/820-anonymous-methods-aka-closures/100-anonymous-methods.cobra
Tests/320-misc-two/820-anonymous-methods-aka-closures/200-anonymous-methods-errors.cobra
Again, these well look better in your local editor than online.
Being a new feature, I'm sure we'll find a glitch or four. Let me know what you find, or if you have any questions.
What do they look like? Check out the test cases:
Tests/320-misc-two/820-anonymous-methods-aka-closures/100-anonymous-methods.cobra
Tests/320-misc-two/820-anonymous-methods-aka-closures/200-anonymous-methods-errors.cobra
Again, these well look better in your local editor than online.