Vavr is a functional library for Java. It provides immutable data structures and functions to use them.
This repository provides a minimal example of Java streams vs Vavr for a list manipulation.
Use your Gradle installation, or a provided wrapper; e.g., in macOS use:
./gradlew run
Expected output:
Using Java 8+ streams
Martha
Julio
Dana
Using Vavr
Martha
Julio
Dana