Popularity
8.3
Growing
Activity
8.0
Declining
3,681
176
453

Description

Feature-rich & self-contained functional programming in Java™ 8 and above. Javaslang is a functional library for Java 8+ that provides persistent data types and functional control structures. Because Javaslang 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.

Code Quality Rank: L3
Programming language: Java
Latest version: v1.0.0

Javaslang alternatives and similar libraries

Based on the "Functional Programming" category

Do you think we are missing an alternative of Javaslang or a related project?

Add another 'Functional Programming' Library

README

License GitHub Release Maven Central Build Status Code Coverage Gitter Chat donate patrons

vavr-logo

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.

Using Vavr

See User Guide and/or Javadoc.

Gradle tasks:

  • Build: ./gradlew check
    • test reports: ./build/reports/tests/test/index.html
    • coverage reports: ./build/reports/jacoco/test/html/index.html
  • Javadoc (linting): ./gradlew javadoc

Contributing

A small number of users have reported problems building Vavr. Read our [contribution guide](./CONTRIBUTING.md) for details.


*Note that all licence references and agreements mentioned in the Javaslang README section above are relevant to that project's source code only.