Skip to content
/ vavr Public
forked from vavr-io/vavr

VΛVΓ (Vavr, formerly called Javaslang) is a non-commercial, non-profit object-functional library that runs with Java 8+. It aims to reduce the lines of code and increase code quality.

License

Notifications You must be signed in to change notification settings

mbore/vavr

 
 

Repository files navigation

Maven Central Code Scene Build Status codecov Sputnik Gitter Chat

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.

Useful Maven Goals

  • Executing tests: mvn clean test
  • Executing doclint: mvn javadoc:javadoc
  • Executing code coverage report: mvn -P ci clean test jacoco:report
  • Create -javadoc.jar: mvn javadoc:jar
  • Create -source.jar: mvn source:jar
  • Update version properties: mvn versions:update-properties
  • Check for new plugin version: mvn versions:display-plugin-updates

Benchmarks

Currently, only basic microbenchmarks are available. To run:

mvn clean test -P benchmark -pl vavr-benchmark

Contributing

A small number of users have reported problems building Vavr. Read "How to Contribute" (CONTRIBUTING.md) for details.


If you like Vavr you can support us by donating.

About

VΛVΓ (Vavr, formerly called Javaslang) is a non-commercial, non-profit object-functional library that runs with Java 8+. It aims to reduce the lines of code and increase code quality.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 95.2%
  • Scala 4.5%
  • Other 0.3%