Implement lambda and define (partially)