Vavr is an object-functional language extension to Java 8, which aims to reduce the lines of code and increase code quality. It provides persistent collections, functional abstractions for error handling, concurrent programming, pattern matching and much more.
Vavr fuses the power of object-oriented programming with the elegance and robustness of functional programming. The most interesting part is a feature-rich, persistent collection library that smoothly integrates with Java's standard collections.
Because Vavr does not depend on any libraries (other than the JVM) you can easily add it as standalone .jar to your classpath.
To stay up to date please follow the blog.
Useful Maven Goals
- Executing tests:
mvn clean test
- Executing doclint:
- Executing code coverage report:
mvn -P ci clean test jacoco:report
- Create -javadoc.jar:
- Create -source.jar:
- Update version properties:
- Check for new plugin version:
Currently, only basic microbenchmarks are available. To run:
mvn clean test -P benchmark -pl vavr-benchmark
If you like Vavr you can support us by donating.