Distinguish between function and value definition in Set