blocks examples updated with return from Proc and callback example with callback lambdas factories