ParentFull threadTomek_·It's basically the same thing, closure is the name of the game here. Your solution is probably a bit more costly for memory though.View on HN