Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
/ vavr Public

vʌvr (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

vavr-io/vavr

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vavr

Build Status License: MIT GitHub Release Maven Central Version Code Coverage

 ____  ______________  ________________________  __________
 \   \/   /      \   \/   /   __/   /      \   \/   /      \
  \______/___/\___\______/___/_____/___/\___\______/___/\___\

Vavr is an object-functional extension for Java that makes defensive programming easy by leveraging immutability and functional control structures

Vavr seamlessly combines object-oriented programming with the elegance and robustness of functional programming.

It provides:

  • persistent collections
  • functional abstractions for error handling, concurrent programming
  • pattern matching
  • ...and more

Since Vavr has no dependencies beyond the JVM, you can easily add it as a standalone .jar to your classpath.

Led and maintained by @pivovarit

Stargazers over time

Stargazers over time

Maven Dependency

<dependency>
    <groupId>io.vavr</groupId>
    <artifactId>vavr</artifactId>
    <version>0.10.7</version>
</dependency>

Gradle Dependency

implementation 'io.vavr:vavr:0.10.7'

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

Contributing

Currently, there are two significant branches:

  • main (represents a stream of work leading to the release of a new ma version)
  • version/1.x (historical work that went into 1.0.0-alpha-3, treat is as read-only - will be kept around for cherry-picking)

A small number of users have reported problems building Vavr. Read our contribution guide for details.

About

vʌvr (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.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Sponsor this project

 

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.