Simple fun evaluation in custom scope with cache support