It was a bit more difficult than expected :(
This makes doing something like e.g. map(map(...)) extremely annoying.
Javascript (nor does, really, any other proper closure implementation) has no such issues.
Indeed, the following easy code ( http://pastebin.com/bjFWBrJq ) does not compile under Visual Studio: "function returning function is not allowed"
It works fine in g++ though.