fixed #180, anonymous functions can now be used where a 'code' is expected

Obviously, this only works, no local variable is captured