Vavr core is a functional library for Java. It helps to reduce the amount of code and to increase the robustness. A first step towards functional programming is to start thinking in immutable values. Vavr provides immutable collections and the necessary functions and control structures to operate on these values. The results are beautiful and just work. The Vavr binaries can be found on Maven Central. Beside with Gradle and Maven they work also standalone. The documentation gives an overview and covers the concepts in depth. It is the best way to get started with Vavr. Vavr is open source and can be found on Github. It is distributed under the Apache 2.0 License. There are several additional modules that group around Vavr's core. All of these are supported by the Vavr open-source organization. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Features
- Because Vavr does not depend on any libraries (other than the JVM) you can easily add it as standalone .jar to your classpath
- 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
- 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