More/better examples of "blocks" usage/syntax.
mralexgray opened this issue · comments
Alex Gray commented
This is badly needed, so here... I'll start it off. In coffeescript, no less..
the highlight being...
signature = ['v',['?', '@','I','^B']]
blockDecl = ((self, obj, index, bool) -> console.log "#{obj} == #{index}")
array 'enumerateObjectsUsingBlock' : $ blockDecl, signature