Like Go, V should also have anonymous functions.
fn main() {
fn(foo string) {
println(foo)
}('foo')
}
would be a cool thing too to be stored in variables
@nedpals That might not be called anonymous anymore IMO.
See #1066
This issue is a duplicate so I'm closing it. :smiley:
Most helpful comment
@nedpals That might not be called anonymous anymore IMO.