Eq.equal doesn't need an object passed
Fixed code generation of lambdas in generic functions