handled generation of generic lambda from expression types