* *
{@code * import static io.vavr.API.*; @@ -466,11 +465,11 @@ default Option* * @param predicate A predicate + * @param zero A function that turns a right value into a left value if the right value does not make it through the filter. * @return an {@code Either} instance * @throws NullPointerException if {@code predicate} is null */ - default Either> filter(Predicate super R> predicate) { * }
- *
+ * {@code
* Validation = Try.of(() -> 1/0).toValidation(Throwable::getMessage));
- *
- *
+ * }
*
* @param result type of the throwable mapper
* @param throwableMapper A transformation from throwable to desired invalid type of new {@code Validation}
diff --git a/vavr/src/main/java/io/vavr/package-info.java b/vavr/src/main/java/io/vavr/package-info.java
index 1c1b2c8b38..6f3e484f16 100644
--- a/vavr/src/main/java/io/vavr/package-info.java
+++ b/vavr/src/main/java/io/vavr/package-info.java
@@ -1,4 +1,4 @@
/**
- * The io.vavr package contains core types like {@linkplain io.vavr.Lambda}, {@linkplain io.vavr.Lazy} and {@linkplain io.vavr.Tuple}.
+ * Beside {@link io.vavr.API} the io.vavr package contains core types like (Checked)Functions and Tuples.
*/
package io.vavr;