Parsing lambdas and types