Function closures and ifelse with unexpected behaviour

See this previous question which boils down the same problem.

2 Likes