Utilities for generating and processing lambda expressions