Fix lambdas in haddock